[Monetdb-developers] Error compiling MEL w/ flex 2.5.33 & bison 2.3

Stefan Manegold Stefan.Manegold at cwi.nl
Tue Oct 3 10:54:33 CEST 2006


Hi Riham,

(yes, I got your message ;-))

I'm still puzzled --- all I can see from your logs so far is that your system
(actually a AFAIK not yet officially release "openSUSE 10.2 (i586) Alpha4")
does lack some tools to compile all parts of MonetDB (e.g., there is a ava
runtime, but neither a java compiler (javac) nor a jar; further, there is no
swig, no texi2html and no latex) --- still, compiling the "crucial" parts of
MonetDB should be possible.

However, I cannot find any hit in your logs that seem to be related to the
compilation problem (undefined CLK_TCK in src/modules/plain/sys.mx
that you get.

But as Fabian already pointed out, you're using quite a bleeding edge system
with autmake 1.9.6, autoconf 2.60, libtool 1.5.22, bison 2.3, flex 2.5.33;
execpt from flex, we only have experiences with older version of the
respective tools --- hence, the problem(s) might be caused by any of them
(or their particular combination)

Btw, what does `gcc --version` say?

I have one final(?) question before I'm afraid I have to give up hoping to
solve this remotely:

Could you please check whether CLK_TCK is defined in /usr/include/time.h and
if so, under which conditions/circumstances?

Apart from that, I'm wondering why you're using the openSUSE 10.2 *Alpha4*
distribution, which still under heavy development, and not the officially release
and (supposed to be) stable SuSE Linux 10.1 ... ???

Trying to support MonetDB (or any software at all) on an OS distribution
that is still in Alpha stage seems to me like fighting agains windmills ...
(in other words, I expect more problems, even if we manage to solve the
CLK_TCK issue...)

Kind regards,

Stefan


On Tue, Oct 03, 2006 at 09:58:17AM +0200, Riham wrote:
> Hi Stefan,
> 
> I have attached two files: one containing the console output and the 
> other is the config.log. I hope this will help in finding the problem.
> 
> Maurice and I are certainly willing to pay you a visit but still have 
> not decided on the date for it. If this does not work remotely it could 
> be a reason to plan a visit soon.
> 
> Good Luck,
> Riham
> 
> 
> Stefan Manegold wrote:
> >Hi Riham, 
> >
[...]
> >Apparently, /usr/include/time.h does not define CLK_TCK ... ?
[...]
> >
> >On Mon, Oct 02, 2006 at 06:20:28PM +0200, Riham wrote:
> >  
> >>HI Stefan,
> >>
> >>You are right, I totally forgot I had to do this. Now I'm getting this 
> >>error when I execute make for monetdb:
> >>
> >>================================================================
> >>kader at wlan139064:~/home/MonetDB_XQuery_CVS/build/MonetDB> make
> >>[..........]
> >>make[6]: Entering directory 
> >>`/local/kader/home/MonetDB_XQuery_CVS/build/MonetDB/src/modules/plain'
> >>make  all-am
> >>make[7]: Entering directory 
> >>`/local/kader/home/MonetDB_XQuery_CVS/build/MonetDB/src/modules/plain'
> >>/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
> >>-I../../../../../src/MonetDB/src/modules/plain -I../../.. 
> >>-I../../../../../src/MonetDB/src/modules/plain -I../../common 
> >>-I../../../../../src/MonetDB/src/modules/plain/../../common -I../../gdk 
> >>-I../../../../../src/MonetDB/src/modules/plain/../../gdk -I../../monet 
> >>-I../../../../../src/MonetDB/src/modules/plain/../../monet         
> >>-DLIBSYS  -g -O2 -std=c99 -Wall -W -Werror-implicit-function-declaration 
> >>-Werror -Wno-unused-function -Wno-unused-label  -D_REENTRANT -c -o 
> >>lib_sys_la-sys.lo `test -f 'sys.c' || echo 
> >>'../../../../../src/MonetDB/src/modules/plain/'`sys.c
> >>gcc -DHAVE_CONFIG_H -I. -I../../../../../src/MonetDB/src/modules/plain 
> >>-I../../.. -I../../../../../src/MonetDB/src/modules/plain -I../../common 
> >>-I../../../../../src/MonetDB/src/modules/plain/../../common -I../../gdk 
> >>-I../../../../../src/MonetDB/src/modules/plain/../../gdk -I../../monet 
> >>-I../../../../../src/MonetDB/src/modules/plain/../../monet -DLIBSYS -g 
> >>-O2 -std=c99 -Wall -W -Werror-implicit-function-declaration -Werror 
> >>-Wno-unused-function -Wno-unused-label -D_REENTRANT -c sys.c  -fPIC 
> >>-DPIC -o .libs/lib_sys_la-sys.o
> >>../../../../../src/MonetDB/src/modules/plain/sys.mx: In function 
> >>'view_gdk_cpu':
> >>../../../../../src/MonetDB/src/modules/plain/sys.mx:1337: error: 
> >>'CLK_TCK' undeclared (first use in this function)
> >>../../../../../src/MonetDB/src/modules/plain/sys.mx:1337: error: (Each 
> >>undeclared identifier is reported only once
> >>../../../../../src/MonetDB/src/modules/plain/sys.mx:1337: error: for 
> >>each function it appears in.)
> >>make[7]: *** [lib_sys_la-sys.lo] Error 1
> >>make[7]: Leaving directory 
> >>`/local/kader/home/MonetDB_XQuery_CVS/build/MonetDB/src/modules/plain'
> >>make[6]: *** [all] Error 2
> >>make[6]: Leaving directory 
> >>`/local/kader/home/MonetDB_XQuery_CVS/build/MonetDB/src/modules/plain'
> >>make[5]: *** [all-recursive] Error 1
> >>make[5]: Leaving directory 
> >>`/local/kader/home/MonetDB_XQuery_CVS/build/MonetDB/src/modules'
> >>make[4]: *** [all] Error 2
> >>make[4]: Leaving directory 
> >>`/local/kader/home/MonetDB_XQuery_CVS/build/MonetDB/src/modules'
> >>make[3]: *** [all-recursive] Error 1
> >>make[3]: Leaving directory 
> >>`/local/kader/home/MonetDB_XQuery_CVS/build/MonetDB/src'
> >>make[2]: *** [all] Error 2
> >>make[2]: Leaving directory 
> >>`/local/kader/home/MonetDB_XQuery_CVS/build/MonetDB/src'
> >>make[1]: *** [all-recursive] Error 1
> >>make[1]: Leaving directory 
> >>`/local/kader/home/MonetDB_XQuery_CVS/build/MonetDB'
> >>make: *** [all] Error 2
> >>=================================================================================
> >>
> >>Any Idea?
> >>
> >>Thanks again.
> >>Riham

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at 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       |




More information about the developers-list mailing list