
On 05-05-2011 13:50:29 +0200, Fabian Groffen wrote:
On 05-05-2011 14:33:30 +0300, Michael Sioutis wrote:
Ah yes, sorry about that, forgot to include it:
gcc -g -O2 -Wno-declaration-after-statement -D_REENTRANT -o .libs/mserver5 mserver5.o monet_version.o -pthread -pthread -Wl,-E -L/home/pico/MonetDB/BUILD/gdk/.libs -L/home/pico/MonetDB/BUILD/clients/mapilib/.libs -L/home/pico/MonetDB/BUILD/common/stream/.libs -L../../monetdb5/tools/.libs -lmonetdb5 -L/usr/local/lib -lmapi -lreadline -ltermcap -lxml2 -lpthread -lm -L../../gdk/.libs -lbat -lstream -pthread -lcurl -lidn -lz -lintl -liconv -lpcre -lssl -lcrypto -Wl,-rpath,/home/pico/MonetDB-Apr2011/lib -Wl,-rpath,/usr/local/lib
It should be ... -lpthread <HERE> -lm ...
Ok, seems I forgot all indirect consumers :/
Ok, I hope this commit will do: http://dev.monetdb.org/hg/MonetDB/rev/58ca3da52d10