From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 14 22:31:13 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D37A916A4CE; Mon, 14 Mar 2005 22:31:13 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B245243D4C; Mon, 14 Mar 2005 22:31:13 +0000 (GMT) (envelope-from thierry@FreeBSD.org) Received: from freefall.freebsd.org (thierry@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2EMVDf2083771; Mon, 14 Mar 2005 22:31:13 GMT (envelope-from thierry@freefall.freebsd.org) Received: (from thierry@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2EMVBoW083766; Mon, 14 Mar 2005 22:31:11 GMT (envelope-from thierry) Date: Mon, 14 Mar 2005 22:31:11 GMT From: Thierry Thomas Message-Id: <200503142231.j2EMVBoW083766@freefall.freebsd.org> To: mspam@ideaway.net, thierry@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, thierry@FreeBSD.org Subject: Re: ports/76293: port graphics/togl VERY broken X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 22:31:13 -0000 Synopsis: port graphics/togl VERY broken State-Changed-From-To: open->feedback State-Changed-By: thierry State-Changed-When: Mon Mar 14 22:27:15 GMT 2005 State-Changed-Why: There is a problem with this patch: @@ -95,7 +97,8 @@ +CFLAGS += $(COPTS) $(INCLUDES) $(TK_FLAGS) ${PTHREAD_FLAGS} -LFLAGS = $(LIBDIRS) -+LFLAGS = $(LIBDIRS) ${PTHREAD_LIBS} ++# need -lpthread here because -pthread does not link library into .so ++LFLAGS = $(LIBDIRS) ${PTHREAD_LIBS} -lpthread It builds and runs fine on FreeBSD-5.3, but ld aborts on Freebsd-4.11 because -lpthread does not exists: ===> Configuring for togl-1.6_1 ===> Building for togl-1.6_1 cc -O -pipe -march=pentiumpro -c -fPIC -DPC_LINUX -DDEBUG -DUSE_TCL_STUBS -DUSE_TK_STUBS -I/usr/X11R6/include -I/usr/local/include/tcl8.4 -I/usr/local/include/tk8.4 togl.c cc -shared -L/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -Xlinker -rpath -Xlinker /usr/local/lib -pthread -lpthread togl.o -ltclstub84 -ltkstub84 -lGLU -lGL -L/usr/X11/lib -lX11 -lXmu -lXext -lXt -lm -o togl.so /usr/libexec/elf/ld: cannot find -lpthread gmake: *** [togl.so] Erreur 1 *** Error code 2 Stop in /usr/ports/graphics/togl. Could you please fix this problem? Responsible-Changed-From-To: freebsd-ports-bugs->thierry Responsible-Changed-By: thierry Responsible-Changed-When: Mon Mar 14 22:27:15 GMT 2005 Responsible-Changed-Why: Take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=76293