Matty writes: > A quick check of libfl.so indicates that the symbol is indeed undefined: > > [45] | 0| 0|FUNC |GLOB |0 |UNDEF |yylex > > Removing "-lfl" from the options allows the build to complete. Does > anyone happen to know which shared library exports this symbol? Also, > since the library is part of libgcc, is this a bug (I didn't turn up > anything on -lfl in the bug database)?
See the lex(1) man page. Nothing defines the yylex() function. That's by design, and it's not a bug. It is the application itself that must supply the yylex() function. It typically does so by running lex(1) on some ".l" (dot-ell) input file to produce an automatically-generated "lex.yy.c" output file containing a definition of that function. That file must then be compiled and linked into the program. If that's not happening, then either something's wrong with the generated file itself or the makefiles are incorrect. Either way, it's likely a problem with the application source code. -- James Carlson, KISS Network <james.d.carlson at sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677