Hi,
When I run make on Macbook Pro with OS 10.7, I hit the following error:
Making all in test
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -o testopt
testfuncs.o testopt.o ../libnlopt.la -lm
libtool: link: g++ -g -O2 -o testopt testfuncs.o testopt.o -Wl,-bind_at_load
../.libs/libnlopt.a -lm
Undefined symbols for architecture x86_64:
"___emutls_get_address", referenced from:
_nlopt_srand in libnlopt.a(general.o)
_nlopt_srand_time_default in libnlopt.a(general.o)
_nlopt_seconds in libnlopt.a(timer.o)
_nlopt_init_genrand in libnlopt.a(mt19937ar.o)
_nlopt_genrand_int32 in libnlopt.a(mt19937ar.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [testopt] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any ideas?
Thanks,
Ben
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss