[Openal-devel] Another pkgconfig bug

Andreas Bierfert andreas.bierfert at lowlatency.de
Sun Feb 5 02:08:10 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Prakash Punnoor wrote:
> Please prove me wrong. I did the tests with the examples which come along the 
> package.

I will :P

Here with an openal version without the -lpthread added:

[11:05 AM][awjb at alkaid ~/BUILD/freealut-1.0.0]$ pkg-config openal --libs
- -lopenal

gcc -D_XOPEN_SOURCE=500 -D__NO_CTYPE -Wall -ansi -pedantic -g -O2 -o
.libs/hello_world hello_world.o  ../src/.libs/libalut.so -lm -lopenal
- -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libopenal.so: undefined reference
to `pthread_create'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libopenal.so: undefined reference
to `pthread_mutex_trylock'
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../libopenal.so: undefined reference
to `pthread_join'
collect2: ld returned 1 exit status
make[2]: *** [hello_world] Error 1
make[2]: Leaving directory `/files/awjb/BUILD/freealut-1.0.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/files/awjb/BUILD/freealut-1.0.0'
make: *** [all] Error 2

- - Andreas
- --
Andreas Bierfert               | http://awbsworld.de      | GPG: C58CF1CB
andreas.bierfert at lowlatency.de | http://lowlatency.de     | signed/encrypted
phone: +49 2402 102373         | cell: +49 172 9789968    | mail preferred
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFD5c6KQEQyPsWM8csRAgIQAJ4jHyH8/tJRgDpHlY1pN2WedZ4+MACdGX0C
SrU/P/YsHrojZ7cnLWp5P3Y=
=JDDk
-----END PGP SIGNATURE-----



More information about the Openal-devel mailing list