Betr.: Re: [syslog-ng]yywrap
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

Any other env variable I should set?

Esteban Essed.

On Friday 14 February 2003 08:21, wrote:
> To compile syslog-ng on AIX I need to add "%option noyywrap" to
> otherwise ld complains about "Undefined symbol: .yywrap".
> Is there something I'm missing, as this turns up everytime I try to build
> 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



De Belastingdienst gebruikt e-mail niet voor officiele mededelingen.