Moin! On Mar 12, 2008, at 14:17 , Balazs Scheidler wrote:
Hmm. this seems to be ok, although the yylex() symbol is listed as an external reference in your libfl.so file.
If you have flex installed, can you please remove the cfg-lex.c file as supplied in the tarball of syslog-ng, and let the makefile regenerate it from the lex file (cfg-lex.l) during compilation? Hmm that didn't help. I do have flex installed: rw@bh2:~/source/syslog-ng-2.0.8$ which flex /usr/sfw/bin/flex
and the build also regenerated the file without problems: flex `test -f cfg-lex.l || echo './'`cfg-lex.l sed '/^#/ s|lex.yy\.c|cfg-lex.c|' lex.yy.c >cfg-lex.c rm -f lex.yy.c if /usr/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ glib-2.0 -I/usr/lib/glib-2.0/include -I/opt/sfw/include/eventlog - D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall - MT cfg-lex.o -MD -MP -MF ".deps/cfg-lex.Tpo" \ -c -o cfg-lex.o `test -f 'cfg-lex.c' || echo './'`cfg-lex.c; \ then mv -f ".deps/cfg-lex.Tpo" ".deps/cfg-lex.Po"; \ else rm -f ".deps/cfg-lex.Tpo"; exit 1; \ fi but it still failed with the same error: /usr/sfw/bin/gcc -g -O2 -Wall -o loggen loggen.o -lpthread - lresolv -lnsl -lrt -lsocket -ldoor -lfl -lglib-2.0 -L/opt/sfw/lib - levtlog Undefined first referenced symbol in file yylex /usr/sfw/lib/gcc/sparc-sun- solaris2.10/3.4.3/../../../libfl.so ld: fatal: Symbol referencing errors. No output written to loggen Any more ideas? So long -Ralf