[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dev-serveez] serveez needs flag for -pthread on Fedora 15
From: |
Mike Gran |
Subject: |
[dev-serveez] serveez needs flag for -pthread on Fedora 15 |
Date: |
Fri, 27 May 2011 19:12:49 -0700 (PDT) |
Hi-
When building serveez 'next' head on Fedora 15 i686, the linking of the serveez
executable fails because of a missing pthread DSO.
The specific text is
libtool: link: gcc -std=gnu99 -g -O2 -o serveez gi.o serveez.o guile.o
cfgfile.o option.o guile-server.o guile-bin.o -L/usr/local/lib -lguile
foo-server/libfoo.a sntp-server/libsntp.a nut-server/libnut.a
tunnel-server/libtunnel.a ctrl-server/libctrl.a irc-server/libircserver.a
irc-core/libirccore.a awcs-server/libawcs.a http-server/libhttp.a
fakeident-server/libfakeident.a prog-server/libprog.a
libserveez/.libs/libserveez.a -lz -lbz2 -ldl
/usr/bin/ld: gi.o: undefined reference to symbol
'pthread_getspecific@@GLIBC_2.0'
/usr/bin/ld: note: 'pthread_getspecific@@GLIBC_2.0' is defined in DSO
/lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
Re-running ./configure with LIBS=-lpthread allows for a successful compile.
If I recall correctly, there is an AX_PTHREAD module in the autoconf archive
that might
be pressed into service to work around this configure problem.
Thanks,
Mike Gran
- [dev-serveez] serveez needs flag for -pthread on Fedora 15,
Mike Gran <=