Bugs item #1809447, was opened at 2007-10-08 15:10 Message generated for change (Comment added) made by mr-meltdown You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1809447&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build Group: Clients 1.20 >Status: Open >Resolution: None Priority: 5 Private: No Submitted By: Fabian (mr-meltdown) Assigned to: Niels Nes (nielsnes) Summary: clients: compilation MapiClient.mx failed Initial Comment: Am I the only one having this? make[5]: Entering directory `/net/pegasus.ins.cwi.nl/export/scratch0/fabian/vtmp/build-stable-pegasus.ins.cwi.nl/clients/src/mapiclient' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient -I/ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient -I/ufs/fabian/scratch/monetdb/stable/program-x86_64/include/MonetDB -I/ufs/fabian/scratch/monetdb/stable/program-x86_64/include/MonetDB/common -I/ufs/fabian/scratch/monetdb/stable/program-x86_64/include/MonetDB/gdk -I.. -I/ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/.. -march=athlon64 -pipe -g -W -Wall -std=c99 -fgnu89-inline -Werror -D_FORTIFY_SOURCE=2 -D_REENTRANT -c MapiClient.c cc1: warnings being treated as errors /ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/MapiClient.mx: In function ‘fetch_row’: /ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/MapiClient.mx:381: warning: implicit declaration of function ‘mapi_split_line’ /ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/MapiClient.mx: In function ‘SQLqueryEcho’: /ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/MapiClient.mx:506: warning: implicit declaration of function ‘mapi_get_query’ /ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/MapiClient.mx:506: warning: assignment makes pointer from integer without a cast /ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/MapiClient.mx: In function ‘doFileByLines’: /ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/MapiClient.mx:1310: warning: implicit declaration of function ‘mapi_log’ /ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/MapiClient.mx: In function ‘main’: /ufs/fabian/scratch/monetdb/stable/clients/src/mapiclient/MapiClient.mx:1744: error: too many arguments to function ‘mapi_stream_into’ make[5]: *** [MapiClient.o] Error 1 make[5]: Leaving directory `/net/pegasus.ins.cwi.nl/export/scratch0/fabian/vtmp/build-stable-pegasus.ins.cwi.nl/clients/src/mapiclient' make[4]: *** [all] Error 2 make[4]: Leaving directory `/net/pegasus.ins.cwi.nl/export/scratch0/fabian/vtmp/build-stable-pegasus.ins.cwi.nl/clients/src/mapiclient' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/net/pegasus.ins.cwi.nl/export/scratch0/fabian/vtmp/build-stable-pegasus.ins.cwi.nl/clients/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/net/pegasus.ins.cwi.nl/export/scratch0/fabian/vtmp/build-stable-pegasus.ins.cwi.nl/clients/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/net/pegasus.ins.cwi.nl/export/scratch0/fabian/vtmp/build-stable-pegasus.ins.cwi.nl/clients' make: *** [all] Error 2 Happens with both gcc (GCC) 4.2.1 (Gentoo 4.2.1 p1.0) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. and gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.1) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Looks like it /can/ find mapilib/Mapi.h, but somehow those definitions aren't used. ---------------------------------------------------------------------- >Comment By: Fabian (mr-meltdown) Date: 2007-10-16 11:09 Message: Logged In: YES user_id=963970 Originator: YES Reopening, as this is not a solution, the following (and attached) patch is: RCS file: /cvsroot/monetdb/clients/src/mapiclient/Makefile.ag,v retrieving revision 1.8.2.1 diff -u -r1.8.2.1 Makefile.ag --- Makefile.ag 2 Oct 2007 11:49:05 -0000 1.8.2.1 +++ Makefile.ag 16 Oct 2007 09:07:20 -0000 @@ -15,7 +15,7 @@ # All Rights Reserved. MTSAFE -INCLUDES = $(MONETDB_INCS) -I.. $(READLINE_INCS) $(OPENSSL_INCS) +INCLUDES = -I.. $(MONETDB_INCS) $(READLINE_INCS) $(OPENSSL_INCS) MAPI_LIBS = $(SOCKET_LIBS) $(OPENSSL_LIBS) This patch simply makes sure the source provided headers are used before the already installed ones. File Added: mapiclient-compile.patch ---------------------------------------------------------------------- Comment By: Niels Nes (nielsnes) Date: 2007-10-10 20:33 Message: Logged In: YES user_id=43556 Originator: NO It found mapilib/Mapi.h else you got an error about this. The reason your build fails is that you have an monetdb clients compiled/installed somewhere (and these are added somehow too your include paths). Therefor I'm closing the bug report, hope you agree. ---------------------------------------------------------------------- Comment By: Stefan Manegold (stmane) Date: 2007-10-08 15:20 Message: Logged In: YES user_id=572415 Originator: NO Works fine with nightly on all tested platforms, including (a.o.) Gentoo 1.12.9 with gcc (GCC) 4.2.0 (Gentoo 4.2.0) and Fedora Core 6 with gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13): http://monetdb.cwi.nl/testing/projects/monetdb/Stable/clients/.Makes3/index.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1809447&group_id=56967 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
