Date: Mon, 14 Mar 2005 22:31:11 GMT From: Thierry Thomas <thierry@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 Message-ID: <200503142231.j2EMVBoW083766@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503142231.j2EMVBoW083766>