[Xorg] Compiling xorg 6.7.0 from source

Daniel Stone daniel at freedesktop.org
Tue May 25 15:39:51 PDT 2004


On Tue, May 25, 2004 at 06:04:51PM +0000, snpe wrote:
>   my system : red hat 8.0 , kernel 2.4.23 , bison 1.875a, gcc, flex and make from RH 8.0 
> 
>   I checkout XORG cvs with tag XORG-6_7_0 ant try build with:
> 
> mkdir build
> cd build
> lndir ../xc
> make World
> 
> and get error :
> 
> ...
> [...]
> flex -l  -t lexer.l > lexer.c
> gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef     -I
> ../.. -I../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURC
> E -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   -DXENVIRONMENT  -DXVENDORNAM
> E='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'   -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.)

This is a bug in flex, and you need to upgrade it. Red Hat 8.0 is very
old: you should check out RH9, or the Fedora Core releases.

:) d

-- 
Daniel Stone                                            <daniel at freedesktop.org>
freedesktop.org: powering your desktop                http://www.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20040526/184ba446/attachment.pgp>


More information about the xorg mailing list