Hi I DL'ed the latest release, unpacked, and tried to build on a FreeBSD 4.10-STABLE system. The build (tools/wineinstall) failed with: rm -f libuuid.a && ln -s uuid/libuuid.a libuuid.a ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./glu32.spec glu.o glu32.dll.dbg.o -o glu32.dll.so -L../../dlls - lkernel32 -lntdll -L../../libs/wine -lwine -L/usr/X11R6/lib -lSM -lICE -lXxf86dga -lXxf86vm -lXv -lXext -lX11 -lGL -lGLU -L../../l ibs/port -lwine_port /usr/lib/libgcc.a(_eh.o): In function `__empty': _eh.o(.text+0x9e): undefined reference to `pthread_setspecific' /usr/lib/libgcc.a(_eh.o): In function `__get_eh_info': _eh.o(.text+0xec): undefined reference to `pthread_key_create' _eh.o(.text+0x1b9): undefined reference to `pthread_getspecific' _eh.o(.text+0x1d8): undefined reference to `pthread_setspecific' /usr/lib/libgcc.a(frame.o)(.text+0x44b): undefined reference to `pthread_mutex_lock' /usr/lib/libgcc.a(frame.o)(.text+0x492): undefined reference to `pthread_mutex_unlock' /usr/lib/libgcc.a(frame.o): In function `__register_frame_info': frame.o(.text+0x8d9): undefined reference to `pthread_mutex_lock' frame.o(.text+0x900): undefined reference to `pthread_mutex_unlock' /usr/lib/libgcc.a(frame.o): In function `__register_frame_info_table': frame.o(.text+0x969): undefined reference to `pthread_mutex_lock' frame.o(.text+0x990): undefined reference to `pthread_mutex_unlock' /usr/lib/libgcc.a(frame.o): In function `__deregister_frame_info': frame.o(.text+0x9dc): undefined reference to `pthread_mutex_lock' frame.o(.text+0xa27): undefined reference to `pthread_mutex_unlock' frame.o(.text+0xa4d): undefined reference to `pthread_mutex_unlock' winegcc: gcc failed. *** Error code 2 Stop in /local/wine-20040615/dlls/glu32. *** Error code 1 Stop in /local/wine-20040615/dlls. *** Error code 1 I have USER_LDT, SYSVSHM, SYSVSEM, and SYSVMSG turned on in my kernel, but the README says you need thread support, and I believe that the 4.X series doesn't have that, although I could be wrong about that), and the errors all refer to threads. Is there a library missing in the makefile or am I missing something else. I do have the previous release up and built on this system. thanks Jim Ballantine Jim
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 17 June 2004 14:43, J. W. Ballantine wrote:> Hi > > I DL'ed the latest release, unpacked, and tried to build > on a FreeBSD 4.10-STABLE system. The build (tools/wineinstall) failed > with: > > rm -f libuuid.a && ln -s uuid/libuuid.a libuuid.a > ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./glu32.spec > glu.o glu32.dll.dbg.o -o glu32.dll.so -L../../dlls - > lkernel32 -lntdll -L../../libs/wine -lwine -L/usr/X11R6/lib -lSM -lICE > -lXxf86dga -lXxf86vm -lXv -lXext -lX11 -lGL -lGLU -L../../l > ibs/port -lwine_port > /usr/lib/libgcc.a(_eh.o): In function `__empty': > _eh.o(.text+0x9e): undefined reference to `pthread_setspecific'My guess is you need one of -pthread or -lpthread, probably the former based on what I see here. I never use wineinstall, I run configure and then gmake depend && gmake && gmake install. Note, you *must* use gmake. BSD made chokes on wine's makefiles. - -- Jonathan Fosburgh AIX and Storage Administrator UT MD Anderson Cancer Center Houston, TX -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA0fmAqUvQmqp7omYRAounAKCYdaypyfmfrU3oEesy/U53i+8GIQCdGq0W Hdlfvns/DwidfWX/w5QPkWc=8jdM -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 17 June 2004 03:43 pm, J. W. Ballantine wrote:> Hi > > I DL'ed the latest release, unpacked, and tried to build > on a FreeBSD 4.10-STABLE system. The build (tools/wineinstall) failed > with: > > rm -f libuuid.a && ln -s uuid/libuuid.a libuuid.a > ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./glu32.spec > glu.o glu32.dll.dbg.o -o glu32.dll.so -L../../dlls - > lkernel32 -lntdll -L../../libs/wine -lwine -L/usr/X11R6/lib -lSM -lICE > -lXxf86dga -lXxf86vm -lXv -lXext -lX11 -lGL -lGLU -L../../l > ibs/port -lwine_port > /usr/lib/libgcc.a(_eh.o): In function `__empty': > _eh.o(.text+0x9e): undefined reference to `pthread_setspecific' > /usr/lib/libgcc.a(_eh.o): In function `__get_eh_info': > _eh.o(.text+0xec): undefined reference to `pthread_key_create' > _eh.o(.text+0x1b9): undefined reference to `pthread_getspecific' > _eh.o(.text+0x1d8): undefined reference to `pthread_setspecific' > /usr/lib/libgcc.a(frame.o)(.text+0x44b): undefined reference to > `pthread_mutex_lock' > /usr/lib/libgcc.a(frame.o)(.text+0x492): undefined reference to > `pthread_mutex_unlock' > /usr/lib/libgcc.a(frame.o): In function `__register_frame_info': > frame.o(.text+0x8d9): undefined reference to `pthread_mutex_lock' > frame.o(.text+0x900): undefined reference to `pthread_mutex_unlock' > /usr/lib/libgcc.a(frame.o): In function `__register_frame_info_table': > frame.o(.text+0x969): undefined reference to `pthread_mutex_lock' > frame.o(.text+0x990): undefined reference to `pthread_mutex_unlock' > /usr/lib/libgcc.a(frame.o): In function `__deregister_frame_info': > frame.o(.text+0x9dc): undefined reference to `pthread_mutex_lock' > frame.o(.text+0xa27): undefined reference to `pthread_mutex_unlock' > frame.o(.text+0xa4d): undefined reference to `pthread_mutex_unlock' > winegcc: gcc failed. > *** Error code 2 > > Stop in /local/wine-20040615/dlls/glu32. > *** Error code 1 > > Stop in /local/wine-20040615/dlls. > *** Error code 1 > > I have USER_LDT, SYSVSHM, SYSVSEM, and SYSVMSG turned on in my kernel, > but the README says you need thread support, and I believe that the > 4.X series doesn't have that, although I could be wrong about that), > and the errors all refer to threads. Is there a library missing > in the makefile or am I missing something else. > > I do have the previous release up and built on this system. > > thanks > > Jim Ballantine > > Jim > > > _______________________________________________ > wine-users mailing list > wine-users@winehq.org > http://www.winehq.org/mailman/listinfo/wine-usersIt's a coding error that is fixed in the cvs. Change the offending line to the one below: return STATUS_NOT_SUPPORTED; - -- Anish Mistry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA0yP3xqA5ziudZT0RAhWnAJ4ryi/PEe/xISW3N7b9M9vkQ/nNegCgoqqI BNvbAiM7CI8dlsmWV9jXiGc=LoET -----END PGP SIGNATURE-----