yywrap is a function of the flex library. make sure it is finding flex and that it is LEXLIB is set to -lfl in the makefile. Off the top of my head, I think it looks like this.
Checking for flex.... yes
Checking for yywrap in -lfl.... yes
It might also be you have a bad ver of flex.
Hope this helps,
Mark
Any idea how to fix this?
/home/admin/syslog- ng-1.6.10/src/cfg-lex.c:1126: undefined reference to
`yywrap'
collect2: ld returned 1 exit status
make[3]: *** [syslog-ng] Error 1
make[3]: Leaving directory `/home/admin/syslog-ng-1.6.10/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/admin/syslog-ng-1.6.10/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/admin/syslog-ng-1.6.10/src'
make: *** [all-recursive] Error 1
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html