[Xorg] Compiling xorg 6.7.0 from source

snpe snpe at snpe.co.yu
Tue May 25 11:04:51 PDT 2004


Hello,

  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 :

...
checking ../../config/pswrap/pswrap over in ../../config/pswrap first...
make[4]: Entering directory `/u2/xorg/build/config/pswrap'
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 main.o main.c
bison -y -d pswparser.y
conflicts: 1 shift/reduce
mv -f y.tab.c pswparser.c
+ mv -f y.tab.h pswparser.h
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 pswparser.o pswparser.c
y.tab.c:165:6: warning: "YYSTACK_USE_ALLOCA" is not defined
y.tab.c:711:5: warning: "YYMAXDEPTH" is not defined
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.)
lexer.l:349: warning: long unsigned int format, long int arg (arg 3)
lexer.l:358: warning: long unsigned int format, long int arg (arg 3)
/usr/include/ctype.h: At top level:
<stdout>:2988: warning: `yy_flex_strlen' defined but not used
make[4]: *** [lexer.o] Error 1
make[4]: Leaving directory `/u2/xorg/build/config/pswrap'


Please help

Regards
Haris Peco




More information about the xorg mailing list