Build broken due to -lpthread
Gerald Pfeifer
gerald at pfeifer.com
Thu Aug 21 06:09:58 CDT 2003
[ Sorry, I just realized this was in my postponed! Alexandre, this
should have gone out yesterday, sorry. ]
On Wed, 20 Aug 2003, Gerald Pfeifer wrote:
> Wine fails to build on FreeBSD 4.8 with the following failure mode:
>
> /usr/bin/gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o glu32.spec.o glu32.spec.c
> /usr/bin/gcc -shared -Wl,-Bsymbolic,-z,defs glu32.spec.o glu.o
> glu32.dll.dbg.o -o glu32.dll.so -L../../dlls -L../../libs/wine -lwine
> -L/usr/X11R6/lib -lSM -lICE -lXxf86dga -lXxf86vm -lXv -lXext -lX11
> -lGL -lGLU -lpthread -L../../libs/port -lwine_port -lm -lc
> /usr/libexec/elf/ld: cannot find -lpthread
> gmake[2]: *** [glu32.dll.so] Error 1
> gmake[2]: Leaving directory `/.amd_mnt/nashira/files5/test/wine/dlls/glu32'
> gmake[1]: *** [glu32] Error 2
Update: If I simply remove -lpthread from
dlls/glu32/Makefile
dlls/d3d8/Makefile
dlls/d3d9/Makefile
dlls/d3dx8/Makefile
dlls/opengl32/Makefile
Wine, builds without problems.
Gerald
--
Gerald Pfeifer (Jerry) gerald at pfeifer.com http://www.pfeifer.com/gerald/
More information about the wine-devel
mailing list