xorg-server-1.5.1fails to compile with linux-libc-headers-2.6.11.2 and gcc 3.4.3

Angel Tsankov fn42551 at fmi.uni-sofia.bg
Sun Jan 11 15:59:31 PST 2009


Compiling xorg-server-1.5.1 (from xorg 7.4) with GCC 3.4.3 produces the
following error message:

In file included from linuxPci.c:271:
/usr/include/linux/pci.h:454: error: parse error before "pci_power_t"
linuxPci.c:553: warning: no previous prototype for 'xf86AccResFromOS'

It seems that this has something to do with sparse
(http://gcc.gnu.org/ml/gcc-help/2008-03/msg00267.html).
Can anyone help me fix this error?

Regards,
Angel Tsankov 






More information about the xorg mailing list