Build broken due to -lpthread

Gerald Pfeifer gerald at
Wed Aug 20 02:23:23 CDT 2003

After last night's update

  P configure
  P dlls/msvcrt/msvcrt.spec
  P dlls/msvcrt/process.c
  P dlls/msvcrtd/msvcrtd.spec
  P dlls/ntdll/rtlstr.c
  P dlls/winmm/winealsa/audio.c
  P dlls/x11drv/keyboard.c
  P files/dos_fs.c
  P files/profile.c
  P include/
  P include/file.h
  P libs/wine/
  cvs server: libs/wine/errno.c is no longer in the repository
  P misc/registry.c
  P programs/wineconsole/
  P programs/wineconsole/curses.c
  P tools/
  P tools/winegcc.c
  P tools/winewrap.c

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 -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]: *** [] Error 1
  gmake[2]: Leaving directory `/.amd_mnt/nashira/files5/test/wine/dlls/glu32'
  gmake[1]: *** [glu32] Error 2

Gerald Pfeifer (Jerry)   gerald at

More information about the wine-devel mailing list