Actually, it just seems to be the fault of flex. Newer versions of flex seem to have crappy lex emulation support. I'm not overly happy with the 2.6 kernels and decided to make my LFS 6.0 backwards compatable with the 2.4 kernel branch. I hit the same snag.
I'm not sure what version of flex he was using. His post was from quite awhile ago. I had to downgrade flex to 2.5.4a and it builds fine now. Hit the slackware ftp site and grab all the patches for that version so it will build against newer versions of GCC and Glibc.
module-init-tools-3.1 (now requires docbook-utils)
With the older flex, you don't have to make that emulation wrapper script "lex" that the book talks about. Just symlink /usr/bin/flex --> /usr/bin/lex
also symlink /usr/lib/libfl.a --> /usr/lib/libl.a
Last edited by jong357; 05-07-2005 at 07:01 PM.