Changeset: 2b769d5ad7f7 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2b769d5ad7f7 Modified Files: gdk/Makefile.ag Branch: default Log Message:
Fix compilation after 26c4ecf31ee1 (without optimisation) We now use ceil, from math.h, which needs -lm. This missing library went unnoticed by most, since the compiler is smart enough to replace `ceil' by something else from -O2 and onwards. If we need to be able to reliably debug, however, we still need -lm to find ceil during final linking stage. diffs (11 lines): diff --git a/gdk/Makefile.ag b/gdk/Makefile.ag --- a/gdk/Makefile.ag +++ b/gdk/Makefile.ag @@ -48,6 +48,6 @@ lib_gdk = { LIBS = ../common/options/libmoptions \ ../common/stream/libstream \ ../common/utils/libmutils \ - $(SOCKET_LIBS) $(zlib_LIBS) $(BZ_LIBS) \ + $(MATH_LIBS) $(SOCKET_LIBS) $(zlib_LIBS) $(BZ_LIBS) \ $(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS) } _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list