Changeset: de21bb6739aa for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=de21bb6739aa
Modified Files:
MonetDB5/src/optimizer/Makefile.ag
Branch: default
Log Message:
fixed compilation in Windows: link with library that provides required functions
Since recently, optimizer opt_derivepath calls functions
GRPgroup() & GRPderive() of module group;
hence, we also need to link with lib_group to resolve these references
and thus re-enable compilation on Windows by avoiding
opt_derivepath.obj : error LNK2019: unresolved external symbol __imp__GRPgroup
referenced in function _ALGderivePath
opt_derivepath.obj : error LNK2019: unresolved external symbol __imp__GRPderive
referenced in function _ALGderivePath
lib_optimizer.dll : fatal error LNK1120: 2 unresolved externals
diffs (11 lines):
diff -r 4d6aaf6dd1b9 -r de21bb6739aa MonetDB5/src/optimizer/Makefile.ag
--- a/MonetDB5/src/optimizer/Makefile.ag Wed May 26 12:38:11 2010 +0200
+++ b/MonetDB5/src/optimizer/Makefile.ag Wed May 26 17:30:28 2010 +0200
@@ -42,6 +42,7 @@
#SCRIPTS = mal
LIBS = ../modules/atoms/lib_mtime ../mal/libmonetdb5 \
../modules/mal/lib_bpm ../modules/mal/lib_remote
../modules/kernel/lib_algebra \
+ ../modules/kernel/lib_group \
$(MONETDB_LIBS) -lbat -lstream $(MATH_LIBS) \
$(SOCKET_LIBS) $(Z_LIBS) $(BZ_LIBS) \
$(MALLOC_LIBS) $(PTHREAD_LIBS) $(DL_LIBS)
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list