Many errors building pkg-config 2.0

Vicki Brown vlb at cfcl.com
Tue Mar 14 16:41:07 PST 2006


I'm on FreeBSD 4.7
Has anyone successfully built pkg-config 2.0 for this platform? Any
suggestions?

I am getting errors in the glib-1.2.8 section:

gcc -g -O2 -Wall -D_REENTRANT -o testgthread testgthread.o
../.libs/libglib.a ./.libs/libgthread.a
testgthread.o: In function `new_thread':
/ad4/ENV/common/src/Dev/pkg-config-0.20/glib-1.2.8/gthread/testgthread.c(.text+0x3213):
undefined reference to `pthread_attr_init'
/ad4/ENV/common/src/Dev/pkg-config-0.20/glib-1.2.8/gthread/testgthread.c(.text+0x321f):
undefined reference to `pthread_create'
testgthread.o: In function `private_constructor':
...
/ad4/ENV/common/src/Dev/pkg-config-0.20/glib-1.2.8/gthread/gthread-posix.c:56:
undefined reference to `pthread_cond_broadcast'
/ad4/ENV/common/src/Dev/pkg-config-0.20/glib-1.2.8/gthread/gthread-posix.c:56:
undefined reference to `pthread_cond_wait'
*** Error code 1

Stop in /ad4/ENV/common/src/Dev/pkg-config-0.20/glib-1.2.8/gthread.


-- 
- Vicki

     ZZZ
  zzZ                   San Francisco Bay Area, CA
 z  |\     _,,,---,,_   Books, Cats, Tech
zz /,`.-'`'    -.  ;-;;,_  http://cfcl.com/vlb
  |,4-  ) )-,_. ,\ ( `'-'  http://cfcl.com/vlb/weblog
 '---''(_/--'  `-'\_)      http://philtres.com


More information about the pkg-config mailing list