Dirty fix to compile xmms-imms issue.
Gregory Nou
gregorynou at altern.org
Thu Sep 8 11:14:55 PDT 2005
Hi,
When trying to compile xmms-imms, I got this :
c++ -L/usr/X11R6/lib `xmms-config --libs` -lc -lm -lpcre -lsqlite3
-lz -ltag analyzer.o spectrum.o `pkg-config fftw3f --libs`
libimmscore.a -o analyzer
/usr/local/lib/libgthread12.so.3: undefined reference to
`pthread_cond_timedwait'
gmake[1]: *** [analyzer] Erreur 1
gmake: *** [all] Erreur 2
*** Error code 2
Stop in /usr/ports/audio/xmms-imms.
zsh: exit 1 make
I've googled and have seen other threads concerning this issue, but the
only solution I found don't seem to work for me.
(http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2005-March/055289.html)
This post
(http://lists.freebsd.org/pipermail/freebsd-stable/2004-November/009439.html)
points out nvidia-driver, which I currently have. Is it really related ?
I finally made some weird hacks and it seems to work :
I've backed libgthread12.so* and I replaced them with libqthread, set
LDFLAGS="-L${LOCALBASE}/lib -L${PTHREAD_LIBS}" and used gtk-2.0 and
glib-2.0 instead of gtk12 and glib12. Still, I think that libgthread->
libqthread is enough (libgthread12 -> libgthread-2.0 did not do the job).
This way, it compiles, and eventually, seems to work.
However, I don't really understand what I made : I assumed that
libgthread12 was refering to gtk12or glib12, and as I don't usually use
them, it was not risky. Am I right there ?
Thanks
--
Gregory
More information about the freebsd-ports
mailing list