[750] in SIPB_Linux_Development
Re: yywrap problems
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Mon Oct 17 14:03:08 1994
Date: Mon, 17 Oct 1994 14:02:54 +0500
From: "Theodore Ts'o" <tytso@MIT.EDU>
To: ghudson@MIT.EDU
Cc: linux-dev@MIT.EDU, jhbrown@MIT.EDU
In-Reply-To: ghudson@MIT.EDU's message of Mon, 17 Oct 94 12:50:44 -0400,
<9410171650.AA01718@glacier.mit.edu>
From: ghudson@MIT.EDU
Date: Mon, 17 Oct 94 12:50:44 -0400
For the record, when you get an undefined symbol yywrap(), it's
because your lex code doesn't define yywrap() and isn't linking
against the lex or flex library. One solution (what I did with
libcomm_err) is to add your own yywrap():
The other solution is to assume that anything that uses lex/flex or
yacc/bison is unportable, and substitute compile_et and mk_cmds it with
a pair of awk/sed scripts.
- Ted