Compiling xorg-server-1.2.0 / xorg-server-1.3.0

Andreas Böhler andy.boehler at gmx.at
Thu May 3 11:36:40 PDT 2007


Hello, 

I'm trying to compile the whole X.org 7.2 against Mesa-6.5.2, but I
get the following error when compiling xorg-server-1.2.0.
Unfortunately, I couldn't find anything useful on the web regarding
this error:


make[1]: Entering directory
`/Files/Downloads/Linux/xorg-temp/xorg-server-1.3.0.0/fb'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../include -I../include -I../include -I../include
-I../include -I../include -I../include -I../include
-I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus
-I../hw/xfree86/common   -DHAVE_DIX_CONFIG_H  -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/opt/desktop/gnome-2.16.3/include/freetype2
-I/opt/desktop/gnome-2.16.3/include -I/usr/X11R7/include
-I../include -I../include -I../Xext -I../composite -I../damageext
-I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage
-I../render -I../randr -I../fb -g -O2 -MT fb24_32.lo -MD -MP -MF
".deps/fb24_32.Tpo" -c -o fb24_32.lo fb24_32.c; \
then mv -f ".deps/fb24_32.Tpo" ".deps/fb24_32.Plo"; else rm -f
".deps/fb24_32.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I../include -I../include -I../include -I../include -I../include
-I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus
-I../hw/xfree86/common -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/opt/desktop/gnome-2.16.3/include/freetype2
-I/opt/desktop/gnome-2.16.3/include -I/usr/X11R7/include
-I../include -I../include -I../Xext -I../composite -I../damageext
-I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage
-I../render -I../randr -I../fb -g -O2 -MT fb24_32.lo -MD -MP
-MF .deps/fb24_32.Tpo -c fb24_32.c  -fPIC -DPIC -o .libs/fb24_32.o
In file included from fb.h:42, 
                 from fb24_32.c:31: 
../render/picturestr.h:301: error: parse error before
"xTrap" 
../render/picturestr.h:301: warning: function declaration
isn't a prototype 
../render/picturestr.h:640: error: parse error before
"xTrap" 
../render/picturestr.h:640: warning: function declaration
isn't a prototype 
make[1]: *** [fb24_32.lo] Error 1 
make[1]: Leaving directory
`/Files/Downloads/Linux/xorg-temp/xorg-server-1.3.0.0/fb' 
make: *** [all-recursive] Error 1


I'm using gcc-3.3.3, glibc-2.3.6 on Linux-2.6.20 to build X.org 7.2.
The very same error occurs when compiling xorg-server-1.3.0.0.

I didn't pass anything to configure, except prefix and
with-mesa-source.

Any ideas what's wrong? Has anyone successfully compiled
xorg-server using gcc-3.3.3?


Thanks, 

greetings, 

andy


-- 
Andreas Böhler
andy (dot) boehler (at) gmx (dot) at
http://klasseonline.dyndns.org



More information about the xorg mailing list