Re: [sigc] compiling problems
- From: Ulrich Eckhardt <eckhardt satorlaser com>
- To: libsigc-list gnome org
- Subject: Re: [sigc] compiling problems
- Date: Fri, 27 Feb 2004 15:16:29 +0100
Robert Wimmer wrote:
> sepp linux:~/c-devel/sigc> g++ -Wall sig0.cc
> -I/usr/local/lib/sigc++-1.0/include/ -L/usr/local/lib -lsigc
> /usr/local/lib/libsigc.so: undefined reference to `pthread_create'
[snip]
> for me it seems as if there is a missing link to a libsig library file. is
> there a lib file missing ? and if how is it called ?
No, it is missing the pthreads library, which libsigc seems to be linked with.
Add -pthread or -pthreads (I don't remember which).
> P.S.: i am using libsigc++1.0.4 and gcc 3.3.2.
1.0.4 is not old, it is ancient! You should consider upgrading to at least the
latest 1.2, which is mostly API-compatible with 1.0.
Uli
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]