Betr.: Re: [syslog-ng]yywrap

EDL.Essed@belastingdienst.nl EDL.Essed@belastingdienst.nl
Fri, 14 Feb 2003 09:46:02 +0100


LEXLIB in src/Makefile is set to nothing (empty).
Checking output of configure gives me:

checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... no

Checking config.log, I see libfl.a can not be found.
libfl.a is installed in /usr/local/lib
LIBDIR=/lib:/usr/local/lib

Any other env variable I should set?

Thanks,
Esteban Essed.






On Friday 14 February 2003 08:21, EDL.Essed@belastingdienst.nl wrote:
> To compile syslog-ng on AIX I need to add "%option noyywrap" to
cfg-lex.l,
> otherwise ld complains about "Undefined symbol: .yywrap".
>
> Is there something I'm missing, as this turns up everytime I try to build
a
> new source distribution.
> I'm using gcc 2.9 and flex 2.5.4

"yywrap()" should be a function in the flex library "libfl.{a,so}". Check
whether "LEXLIB" is set to "-lfl" in "src/Makefile" or not. Otherwise check

the output of the configure script for the following lines:

checking for flex... flex
checking for yywrap in -lfl... yes

Achim








------------------------------------------------------------------------------

De Belastingdienst gebruikt e-mail niet voor officiele mededelingen.

==============================================================================