
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 ...
On Thu, May 5, 2011 at 2:28 PM, Fabian Groffen
On 05-05-2011 14:13:01 +0300, Michael Sioutis wrote:
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
and the link command invocation does not include -lc I presume?
------------------------------------------------------------------------------ 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