Mail Archives: djgpp/1998/06/14/16:30:31
From: | mapson AT mapson DOT com (Mapson)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Flex- small problem
|
Date: | Sun, 14 Jun 1998 20:23:39 GMT
|
Organization: | Yale University, Department of Computer Science, New Haven, CT
|
Lines: | 16
|
Message-ID: | <35842d90.8605608@babyblue.cs.yale.edu>
|
NNTP-Posting-Host: | slip-ppp-node-01.cs.yale.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I've been using DJGPP for a year, but only yesterday began to look in
to GNU's flex and bison for DOS.
Bison seems to create files that compile flawlessly, at least with the
examples I've tried (even though i don't really know how to really
make bison do anything yet!). But flex creates files that seem to
always have two errors- both basically along the lines of:
lexyy.c(817) Error: undefined reference to `yywrap'
I merely erase the two references to yywrap(), and so far the programs
I've made have worked nicely. I could write a sed file, I suppose, to
take care of this... but I'd rather just know why I am seeing this.
Is this a DOS problem, or something else? Trying to locate functions
in the files flex creates is... a rather novel experience for me- I
guess everything is "#defined" in to obscurity!
- Raw text -