|
From: Maurits v. R. <ma...@va...> - 2003-11-28 10:26:14
|
Lomwel, Alexander-van wrote: >>Alexander: I encountered some compiling and linking problems with the >>stuff you uploaded today. I solved it by doing the following: >>- I commented out two "void();" lines in statsHostRun.c >>- And I commented out the yy_flex_realloc from the three flex >>files. I >>got complaints that that function wasn't declared. >>You may want to look into that. >> > > Hmm, I certainly will. I compiled it both at work and at home, after make > clean even. No complains with me. > Could you mail me your version of flex? Some version numbers: flex 2.5.31 gcc version 3.3.2 (Debian) GNU ld version 2.14.90.0.6 20030820 Debian GNU/Linux Do you want me to mail you the flex binary? When I uncomment the line in statstokeniser.l again and do a make the following warnings and errors are printed (stderr only): statstokeniser.l: In function `CatchSillyWarnings': statstokeniser.l:365: warning: implicit declaration of function `yy_flex_realloc' statstokeniser.l: At top level: lex.yy.c:1886: warning: `yyunput' defined but not used statstokeniser.o(.text+0x1ca4): In function `CatchSillyWarnings': /home/maurits/cvs/stats/src/statstokeniser.l:365: undefined reference to `yy_flex_realloc' collect2: ld returned 1 exit status make: *** [stats] Error 1 BTW, I don't see any code that actually *uses* the CatchSillyWarnings function. -- Maurits van Rees | ma...@va... http://maurits.vanrees.org/ "Peace is not the absence of war; it is the absence of fear." |