Changeset: 8b1c92cfef86 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8b1c92cfef86
Modified Files:
        sql/src/backends/monet5/Makefile.ag
Branch: default
Log Message:

fixed compilation on Windows: link with library that provides required functions

Since recently, libbatstore (bat_storage.mx) calls functions
BATmin() & BATmax() of M5 module algebra;
hence, we also need to link with lib_algebra to resolve these references
and thus re-enable compilation on Windows by avoiding

libbatstore.lib(bat_storage.obj) : error LNK2019: unresolved external symbol 
__imp__BATmin referenced in function _gtr_minmax_col
libbatstore.lib(bat_storage.obj) : error LNK2019: unresolved external symbol 
__imp__BATmax referenced in function _gtr_minmax_col
lib_sql.dll : fatal error LNK1120: 2 unresolved externals


diffs (13 lines):

diff -r de21bb6739aa -r 8b1c92cfef86 sql/src/backends/monet5/Makefile.ag
--- a/sql/src/backends/monet5/Makefile.ag       Wed May 26 17:30:28 2010 +0200
+++ b/sql/src/backends/monet5/Makefile.ag       Wed May 26 17:33:06 2010 +0200
@@ -33,7 +33,8 @@
                sql_emptyset.mx \
                sql_bpm.mx
        LIBS = ../../server/libsqlserver ../../storage/libstore 
../../storage/bat/libbatstore ../../storage/restrict/librestrictstore 
../../storage/bpm/libbpmstore ../../common/libsqlcommon \
-               $(MONETDB5_MODS) -l_bbp -l_replication -l_mkey -l_str -l_blob 
-l_logger -l_mtime -l_bat5 -l_optimizer -l_tablet -l_cluster -l_bpm -l_remote 
-l_run_octopus $(MONETDB5_RDF_LIB) $(MONETDB5_LIBS) -lmonetdb5 -l_mal_mapi \
+               $(MONETDB5_MODS) -l_bbp -l_replication -l_mkey -l_str -l_blob 
-l_logger -l_mtime -l_bat5 -l_optimizer -l_tablet -l_cluster -l_bpm -l_remote 
-l_run_octopus -l_algebra \
+               $(MONETDB5_RDF_LIB) $(MONETDB5_LIBS) -lmonetdb5 -l_mal_mapi \
                $(MONETDB_LIBS) -lbat -lstream $(READLINE_LIBS) $(PTHREAD_LIBS)
 }
 
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to