Arnoud, which version of gcc are you using? `gcc --version` Stefan On Thu, Jan 19, 2006 at 10:57:58PM +0100, Arnoud Vermeer wrote:
Hi Stefan,
In the new version, I've got a new error. The gmake command lasts longer though, so I guess the previous problem was fixed in the newer version.
This is the current error I get at a standard ./configure && gmake
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../common -I../../gdk -I../../monet -DLIBALARM -g -O2 -std=c99 -Wall -W -fno-strict-aliasing -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c -o lib_alarm_la-alarm.glue.lo `test -f ' alarm.glue.c' || echo './'`alarm.glue.c gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../common -I../../gdk -I../../monet -DLIBALARM -g -O2 -std=c99 -Wall -W -fno-strict-aliasing -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c alarm.glue.c -fPIC -DPIC -o .libs/lib_alarm_la-alarm.glue.o alarm.glue.c: In function `CMDctime_unpack559103634': alarm.glue.c:185: warning: assignment discards qualifiers from pointer target type gmake[4]: *** [lib_alarm_la-alarm.glue.lo] Error 1 gmake[4]: Leaving directory `/usr/home/funzoneq/MonetDB-4.9.3 /src/modules/plain' gmake[3]: *** [check] Error 2 gmake[3]: Leaving directory `/usr/home/funzoneq/MonetDB-4.9.3 /src/modules/plain' gmake[2]: *** [check-recursive] Error 1 gmake[2]: Leaving directory `/usr/home/funzoneq/MonetDB-4.9.3/src/modules' gmake[1]: *** [check-recursive] Error 1 gmake[1]: Leaving directory `/usr/home/funzoneq/MonetDB-4.9.3/src' gmake: *** [check-recursive] Error 1
I also get a lot of overrides from rpm.mk, but that doesn't concern me that much hence FreeBSD doesn't know rpm's. It seems the new error is located in alarm.glue.c. Although I have had a small bit of experience with C++ programming (first year student Information Sciences at Windesheim College, Zwolle, The Netherlands), I don't have a clue what the error means.
Do you have any clue?
Thanks,
Arnoud Vermeer
On 1/19/06, Stefan Manegold
wrote: configure: WARNING: sys/file.h: present but cannot be compiled configure: WARNING: sys/file.h: check for missing prerequisite headers? configure: WARNING: sys/file.h: see the Autoconf documentation configure: WARNING: sys/file.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/file.h: proceeding with the preprocessor's result configure: WARNING: sys/file.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ##
are these the only error messages you get from configure?
yes, I've seen them before at other compiles to. Does compile most of the time, inspite of the error.
yes. I actually don't think that these are the reason for the errors you get.
first was, that MonetDB requires GNU make instead of BSD make. That's solved.
The gmake fails: standard ./configure (same output as in earlier posted version) gmake > gmake.txt gmake console output > gmake_console.txt
Adding --enable-bits=64 to the ./configure doesn't change the output.
http://www.freshway.biz/files/MonetDB-gmake.txt http://www.freshway.biz/files/MonetDB-gmake_console.txt
Any ideas?
not really.
I'm a bit scared by all the "overriding commands for target" messages, but the real problems seems to be this: ======= In file included from stream.mx:264: /usr/include/netinet/ip.h:49: error: syntax error before "u_int" /usr/include/netinet/ip.h:148: error: syntax error before "u_char" /usr/include/netinet/ip.h:200: error: syntax error before "u_char" stream.mx: In function ocket_open': stream.mx:1198: error: P_TOS' undeclared (first use in this function) stream.mx:1198: error: (Each undeclared identifier is reported only once stream.mx:1198: error: for each function it appears in.) gmake[4]: *** [libstream_la-stream.lo] Error 1 gmake[3]: *** [all] Error 2 gmake[2]: *** [all-recursive] Error 1 gmake[1]: *** [all-recursive] Error 1 gmake: *** [all] Error 2 ========
I recall that there were some changes/fixes related to FreeBSD, which might not be in the release tarball ("MonetDB-4.8.2.tar.gz").
But we are about to release MonetDB 4.10 on Monday; hence, could you download the latest release candidate " MonetDB-4.9.3.tar.gz" from http://monetdb.cwi.nl/testing/projects/monetdb/Current/.DailyBuilds./SourceT... and check whether this works (better)?
Stefan
Greetings,
Arnoud Vermeer FreshWay Innovations
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |