Problem building xserver 1.5.1

Diego A. Fons diegofons at
Tue Aug 4 05:39:44 PDT 2009


I'm trying to build X as minimal as possible and I had this error:

gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../hw/xfree86 
-I../../../../hw/xfree86/include -I../../../../hw/xfree86/common 
-I../../../../hw/xfree86/os-support/bus -I../../../../os 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN 
-DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 
-I/usr/local/ssl/include -I../../../../include -I../../../../include 
-I../../../../Xext -I../../../../damageext -I../../../../xfixes 
-I../../../../Xi -I../../../../mi -I../../../../miext/shadow 
-I../../../../miext/damage -I../../../../render -I../../../../randr 
-I../../../../fb -g -O2 -MT linuxPci.lo -MD -MP -MF .deps/linuxPci.Tpo 
-c linuxPci.c  -fPIC -DPIC -o .libs/linuxPci.o
In file included from linuxPci.c:271:
/usr/include/linux/pci.h:453: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'pci_power_t'
linuxPci.c:553: warning: no previous prototype for 'xf86AccResFromOS'

I'm crosscompiling for ARM in a scratchbox environment:
    gcc 4.2.4
    glibc 2.3.3

In this discussion [1] they say something about headers problem, can it 
be possible? how can i manage this error?

Best regards,
Diego A. Fons.


More information about the xorg mailing list