Re: pkg-config 0.13



On Fri, 2002-09-20 at 05:25, Mark McLoughlin wrote:
> 	Thanks :-) I've fixed the ORBit2 issue and updated
> vicious-build-scripts. Everything else seems to be building for me so
> far ..

hmmmm make failed for module: libbonobo investigating into the
gthreads.pc file

bash-2.05b$ cat gthread-2.0.pc
prefix=/tmp/gnome-test
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: GThread
Description: Thread support for GLib
Requires: glib-2.0
Version: 2.1.0
Libs: -L${libdir} -lgthread-2.0 -pthread
Cflags: -pthread
bash-2.05b$

i thought it should be changed to -lpthread ? or am i missing something
here ? gnome-2-0 shows:

;---------------------
Libs: -L${libdir} -lgthread-2.0 -lpthread
Cflags: -D_REEENTRANT
;---------------------

gcc -O4 -w -pipe -march=athlon-xp -mcpu=athlon-xp -o .libs/test-moniker
test-moniker.o  ../bonobo/.libs/libbonobo-2.so -L/tmp/gnome-test/lib
/tmp/gnome-test/lib/libORBitCosNaming-2.so
/tmp/gnome-test/lib/libbonobo-activation.so
/tmp/gnome-test/lib/libORBit-2.so /tmp/gnome-test/lib/libpopt.so
/tmp/gnome-test/lib/libxml2.so -lz -lm /tmp/gnome-test/lib/liblinc.so
/tmp/gnome-test/lib/libgmodule-2.0.so -ldl
/tmp/gnome-test/lib/libgobject-2.0.so
/tmp/gnome-test/lib/libgthread-2.0.so /tmp/gnome-test/lib/libglib-2.0.so
-Wl,--rpath -Wl,/tmp/gnome-test/lib
/tmp/gnome-test/lib/libgthread-2.0.so: undefined reference to
`pthread_create'
/tmp/gnome-test/lib/libgthread-2.0.so: undefined reference to
`pthread_getspecific'
/tmp/gnome-test/lib/libgthread-2.0.so: undefined reference to
`pthread_key_create'
/tmp/gnome-test/lib/libgthread-2.0.so: undefined reference to
`pthread_attr_setstacksize'
/tmp/gnome-test/lib/libgthread-2.0.so: undefined reference to
`pthread_mutex_trylock'
/tmp/gnome-test/lib/libgthread-2.0.so: undefined reference to
`pthread_join'
/tmp/gnome-test/lib/libgthread-2.0.so: undefined reference to
`pthread_cond_timedwait'
/tmp/gnome-test/lib/libgthread-2.0.so: undefined reference to
`pthread_setspecific'
collect2: ld returned 1 exit status
make[2]: *** [test-moniker] Error 1
make[2]: Leaving directory `/tmp/gnome/libbonobo/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gnome/libbonobo'
make: *** [all-recursive-am] Error 2

-- 
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali akcaagac stud fh-wilhelmshaven de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]