Angel Tsankov wrote: > 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' > Some investigation reveals that the error is due to macro __bitwise being undefined at "/usr/include/linux/pci.h:454". The reason for this is that "linuxPci.h" includes (indirectly) "sys/kd.h" which suppresses the inclusion of "linux/types.h" where the macro is defined. Then linuxPci.h includes "linux/pci.h" which uses __bitwise to typedef pci_power_t.
Any ideas why this happens? Could it be linux-libc-headers or glibc being too old to build xorg-server 1.5.1 or is it something else? Regards, Angel _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg