Martin Spott wrote:

> I'll give it a go as soon as I managed to build FG on FreeBSD,

Well, OpenAL compiles out of the box and FreeBSD has a plib-1.8.3
package, now I try to configure SimGear. This is what I do:

quickstep: 19:25:49 /usr/local/src/SimGear> ./configure \
--prefix=/opt/FlightGear --with-GL=/usr/X11R6 --without-logging \
--with-threads --with-x --without-jpeg-factory
[...]


This is what I get (config.log):

configure:6002: gcc -march=pentiumpro -o conftest -mfpmath=sse
-fomit-frame-pointer -ffast-math -O3 -I/usr/local/include
-I/opt/FlightGear/include -I/usr/X11R6/include -L/usr/local/lib -s
-L/opt/Fligh tGear/lib -L/usr/X11R6/lib conftest.c -lpthread
[...]
configure:8351: gcc -march=pentiumpro -o conftest -mfpmath=sse
-fomit-frame-pointer -ffast-math -O3 
-D_REENTRANT -I/usr/local/include -I/opt/FlightGear/include
-I/usr/X11R6/include -L/usr/local/lib -s
-L/opt/FlightGear/lib -L/usr/X11R6/lib conftest.c -lopenal  -lm
/opt/FlightGear/lib/libopenal.so: undefined reference to `pthread_create'
/opt/FlightGear/lib/libopenal.so: undefined reference to `pthread_attr_init'
/opt/FlightGear/lib/libopenal.so: undefined reference to `pthread_exit'
/opt/FlightGear/lib/libopenal.so: undefined reference to `pthread_cancel'
/opt/FlightGear/lib/libopenal.so: undefined reference to 
`pthread_attr_setdetachstate'
/opt/FlightGear/lib/libopenal.so: undefined reference to `pthread_join'


I thought it would be nice if the test for OpenAL would be run with
'-lpthread' as well ....  or did I miss the target ?

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to