This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fun with flex


Howdy Harold...

At 08:26 PM 9/15/2003 -0400, you wrote:
I am working on building a release for Cygwin 1.5.3. I am getting some fun errors (listed below) related to changes to flex. I would appreciate any help in pointing out how these problems should be fixed. Please note that this is a build of the XFree86 4.3.0.1 CVS branch.

I would suggest that the flex package that's installed by Cygwin 1.5.3 is NOT valid.


I have just d/l'd and installed the version of flex straight from ftp.gnu.org, and it compiles everything exactly as before, pswrap and the old lex grammer file winprefslex.l. Some of the header or support files must have been munged. The version I used was:
$ flex --version
flex 2.5.31




flex -l -t lexer.l > lexer.c
gcc -O2 -fno-strength-reduce -Wall -Wpointer-arith -I../.. -I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15 -DNARROWPROTO -DXENVIRONMENT -c -o lexer.o lexer.c
<stdout>: In function `yylex':
<stdout>:1199: `yy_prev_more_offset' undeclared (first use in this function)
<stdout>:1199: (Each undeclared identifier is reported only once
<stdout>:1199: for each function it appears in.)
/usr/include/stdio.h: At top level:
<stdout>:2988: warning: `yy_flex_strlen' defined but not used
make[4]: *** [lexer.o] Error 1
make[4]: Leaving directory `/home/harold/x-devel/4.3/build/std/config/pswrap'
okay, continuing in lib/dps
../../config/pswrap/pswrap -a -o dpsclrops.c -h dpsclrops.h dpsclrops.psw
../../config/pswrap/pswrap: not found
make[3]: *** [dpsclrops.c] Error 127
make[3]: Leaving directory `/home/harold/x-devel/4.3/build/std/lib/dps'
including in lib/dpstk...
make[3]: Entering directory `/home/harold/x-devel/4.3/build/std/lib/dpstk'
+ mkdir unshared
../../config/pswrap/pswrap -o XDPSpwraps.c -a -f XDPSpwraps.h -h XDPSpwraps.h XDPSpwraps.psw
../../config/pswrap/pswrap: not found
make[3]: *** [XDPSpwraps.c] Error 127
make[3]: Leaving directory `/home/harold/x-devel/4.3/build/std/lib/dpstk'



-Earle F. Philhower, III earle@ziplabel.com cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]