XFree86 compile error

Bruce Dubbs bdubbs at swbell.net
Fri Nov 15 08:59:56 PST 2002


Terry wrote:

>Hello,
>
>I'm on the 20022710 CVS version of LFS, trying to compile XFree86 (4.2.0 plus
>4.2.1 patch) gives me the following error:
>
>make[3]: Entering directory `/usr/src/lfs_sources/xc/lib/Xft'
>flex -l  xftlex.l
>sed 's/yy/XftConfig/g' lex.yy.c | sed 's/__REALLY_YY__/yy/' > xftlex.c && rm -f 
>lex.yy.c
>bison -y -d xftgram.y
>xftgram.y:168.8: parse error, unexpected ":", expecting ";" or "|"
>xftgram.y:169.3-6: $$ of `matrix' has no declared type
>make[3]: *** [xftgram.c] Error 1
>make[3]: Leaving directory `/usr/src/lfs_sources/xc/lib/Xft'
>make[2]: *** [depend] Error 2
>make[2]: Leaving directory `/usr/src/lfs_sources/xc/lib'
>make[1]: *** [depend] Error 2
>make[1]: Leaving directory `/usr/src/lfs_sources/xc'
>make: *** [World] Error 2
>

What version of bison are you using?  My log shows:

bison -y -d xftgram.y
xftgram.y:168: warning: previous rule lacks an ending `;'

I use bison-1.35 later versions turn this warning into an error. 
 Alternatively, looking at xftgram.y, it looks like there should be a 
semicolon inserted just before line 168.
  -- Bruce


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list