Fun with flex

Harold L Hunt II huntharo@msu.edu
Tue Sep 16 00:27:00 GMT 2003


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.

Thanks in advance,

Harold


including in lib/dps...
make[3]: Entering directory `/home/harold/x-devel/4.3/build/std/lib/dps'
checking ../../config/pswrap/pswrap.exe over in ../../config/pswrap first...
make[4]: Entering directory 
`/home/harold/x-devel/4.3/build/std/config/pswrap'
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 main.o main.c
byacc -d pswparser.y
byacc: 1 shift/reduce conflict
mv -f y.tab.c pswparser.c
+ mv -f y.tab.h pswparser.h
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 pswparser.o pswparser.c
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'



More information about the Cygwin-xfree mailing list