Subject: XMMS building problems
To: None <tech-pkg@netbsd.org>
From: Mike Saunders <method@method.cx>
List: tech-pkg
Date: 11/03/2001 16:48:14
I'm having several problems building xmms from pkgsrc.  I updated my
pkgsrc tree via cvs on 11-02-2001.  When I try to build xmms there are a
couple of problems.  The first relates to a buildink problem in which
configure thinks that my installed version of gtk+ (1.2.10) is <
1.2.2.  This has evidently been addressed and I can fix that.  When I do
that I am still unable to build xmms because of pthread problems.  Here's
the error:
 
cc -DHAVE_CONFIG_H
-I. -I. -I.. -I. -I/usr/pkgsrc/audio/xmms/work/.buildlink/include/gtk-1.2
-I/usr/pkgsrc/audio/xmms/work/.buildlink/include/glib/glib-1.2
-I/usr/pkgsrc/audio/xmms/work/.buildlink/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include -I/usr/pkgsrc/audio/xmms/work/.buildlink/include
-I/usr/pkgsrc/audio/xmms/work/.buildlink/include -O2 -Wall -Wpointer-arith
-finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops
-m486
-DDATA_DIR=\"/usr/pkg/share/xmms\" -DPLUGIN_DIR=\"/usr/pkg/lib/xmms\" -DPLUGINSUBS=\"Output\",\"Input\",\"Effect\",\"General\",\"Visualization\" -DLOCALEDIR=\"/usr/pkg/share/locale\" -DI386_ASSEM
-I../intl  -I/usr/pkgsrc/audio/xmms/work/.buildlink/include
-I/usr/pkgsrc/audio/xmms/work/.buildlink/include
-I/usr/pkg/pthreads/include -D_POSIX_THREAD_SYSCALL_SOFT=1
-DHAVE_NANOSLEEP=1 -D_POSIX_THREAD_SYSCALL_SOFT=1 -DHAVE_NANOSLEEP=1
-I/usr/pkgsrc/audio/xmms/work/.buildlink/include
-I/usr/pkgsrc/audio/xmms/work/.buildlink/include -O2 -Wall -Wpointer-arith
-finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops
-m486 -c controlsocket.c
controlsocket.c:49: `SEMAPHORE_CLEAR' undeclared here (not in a function)
controlsocket.c:49: initializer element is not constant
controlsocket.c:49: (near initialization for `start_cond.c_lock')
controlsocket.c: In function `ctrlsocket_func':
controlsocket.c:392: warning: control reaches end of non-void function
gmake[4]: *** [controlsocket.o] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/audio/xmms/work/xmms-1.2.5/xmms'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/audio/xmms/work/xmms-1.2.5/xmms'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/audio/xmms/work/xmms-1.2.5/xmms'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/audio/xmms/work/xmms-1.2.5'
gmake: *** [all-recursive-am] Error 2
*** Error code 2
 
Stop.
make: stopped in /usr/pkgsrc/audio/xmms
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/audio/xmms
*** Error 

	I searched the archives and didn't see anything related to
this.  Anybody have any ideas as to what might be wrong?  I'm wondering if
this is something on my end, or something related to the pkgsrc package in
general.

-Mike Saunders