From: SourceForge.net <no...@so...> - 2003-10-15 13:26:18
|
Bugs item #824087, was opened at 2003-10-15 15:01 Message generated for change (Comment added) made by broeker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=824087&group_id=4664 >Category: C lexer/parser Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Hans-Bernhard Broeker (broeker) >Summary: [NSK] flex fails on fscanner.l Initial Comment: I work on NSK. ---------------------------------------------------- make fives following errors: Making all in src /bin/sh ./ylwrap "flex" fscanner.l lex.yy.c fscanner.c -- "fscanner.l", line 134: illegal character "fscanner.l", line 137: unknown error processing section 1 "fscanner.l", line 194: undeclared start condition SDL "fscanner.l", line 201: undeclared start condition SDL "fscanner.l", line 340: unrecognized rule "fscanner.l", line 340: bad start condition name "fscanner.l", line 340: bad start condition name "fscanner.l", line 521: missing } "fscanner.l", line 811: undeclared start condition SDL *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 2 Stop. ----------------------------------------------------- While running configure script: following message was seen. I am only pasting section where I could see the problem. checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing . . checking for flex... (cached) flex checking for flex... (cached) flex checking for yywrap in -lfl... (cached) no checking lex output file root... (cached) lex.yy checking whether yytext is a pointer... (cached) no checking for bison... no checking for byacc... no checking location of ncurses.h file checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for sys/window.h... (cached) no checking for sys/termios.h... (cached) no ---------------------------------------------------- Does failure of make has any relation with above messages seen while running configure? What setup needs to be done, in order to avoid getting these errors? Regards, S ---------------------------------------------------------------------- >Comment By: Hans-Bernhard Broeker (broeker) Date: 2003-10-15 15:26 Message: Logged In: YES user_id=27517 The problem appears to be rooted in your "flex" installation. There should always be a -lfl found by configure if flex was installed correctly. The error messages themselves indicate your version of flex may be simply too old. What do you get printed by invoking flex --version ? And what kind of platform is "NSK" anyway? I don't think I've ever heard of it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=824087&group_id=4664 |