
Nop: 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 /home/pico/MonetDB/BUILD/gdk/.libs/libbat.so.3.0: warning: vsprintf() is often misused, please use vsnprintf() ../../monetdb5/tools/.libs/libmonetdb5.so.7.0: warning: strcpy() is almost always misused, please use strlcpy() mserver5.o(.text+0x5b3): In function `absolute_path': ../../../tools/mserver/mserver5.c:160: warning: sprintf() is often misused, please use snprintf() ../../monetdb5/tools/.libs/libmonetdb5.so.7.0: warning: strcat() is almost always misused, please use strlcat() /home/pico/MonetDB/BUILD/gdk/.libs/libbat.so.3.0: undefined reference to `sysctlbyname' collect2: ld returned 1 exit status gmake[5]: *** [mserver5] Error 1 I /de-bootstraped, reconfigured and later even placed C_LIBS="-lc" in configure.ag, reconfigured, gmaked, ...same error. I thought that would do it. On Thu, May 5, 2011 at 3:08 PM, Fabian Groffen <Fabian.Groffen@cwi.nl> wrote:
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
------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users