Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2005 20:14:44 +0200
From:      Gregory Nou <gregorynou@altern.org>
To:        freebsd-ports@FreeBSD.org, green@FreeBSD.org
Subject:   Dirty fix to compile xmms-imms issue.
Message-ID:  <43207F94.2050904@altern.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43207F94.2050904>