|
From: Lomwel, Alexander-v. <ale...@mi...> - 2003-11-28 10:40:36
|
Hello Maurits; The lowest flex version I use is: flex version 2.5.4 please upgrade. CatchSillyWarnings is indeed not used anywhere it is as the name says only used to catch silly warnings from the compiler. (Only one left when this works.) greetings; Alexander PS: Reinout When the upgrade works we might want to add a minimum version number to the README or maunual. PS 2: gcc --version 2.96 #which is much older might explain the (void) ld --version GNU ld 2.11.90.0.8 Copyright 2001 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. Supported emulations: elf_i386 i386linux elf_i386_glibc21 > -----Original Message----- > From: Maurits van Rees [mailto:ma...@va...] > Sent: vrijdag 28 november 2003 11:26 > To: pla...@li... > Subject: Re: [Plantool-developer] Statsgen using statsAPI now > > > 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." > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Plantool-developer mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/plantool-developer > Disclaimer Ministerie van Buitenlandse Zaken: De informatie verzonden met dit e-mailbericht is uitsluitend bestemd voor de geadresseerde. Gebruik door onbevoegden, openbaarmaking of vermenigvuldiging is verboden. De afzender is niet aansprakelijk in geval van onjuiste overbrenging van het e-mailbericht en/of bij ontijdige ontvangst daarvan. Disclaimer Ministry of Foreign Affairs of the Netherlands: The information transmitted is intended only for the person or entity to whom or which it is addressed. Unauthorised use, disclosure or copying is strictly prohibited. The sender accepts no liability for the improper transmission of this communication nor for any delay in its receipt. |