Betr.: Re: [syslog-ng]yywrap
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. ==============================================================================
On Friday 14 February 2003 09:46, EDL.Essed@belastingdienst.nl wrote:
LEXLIB in src/Makefile is set to nothing (empty).
Set LEXLIB=-lfl in src/Makefile by hand and try to compile it. If this works, the configure script has a problem in finding the flex library.
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?
I'm not familiar with AIX, but are you shure it's enough to set the env. variable LIBDIR (at least: you should export it)??? Achim
participants (2)
-
Achim Gsell
-
EDL.Essed@belastingdienst.nl