Mplayer doesn't like the headers in the cross-lfs book. This was from
the May 3rd SVN with the 2.6.16.13 headers. This is an x86_64 pure 64
build as well if that matters. The useful part of the make command errors
looks like this:


cc -c -I../libvo -I../../libvo  -O4 -march=nocona -mtune=nocona -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -fPIC -I. -I.. -o pci.o pci.c In file included
from /usr/include/linux/pci.h:20,
                 from sysdep/pci_linux.c:134, from pci.c:64:
/usr/include/linux/mod_devicetable.h:13: error:
expected specifier-qualifier-list before '__u32'
/usr/include/linux/mod_devicetable.h:25: error:
expected specifier-qualifier-list before '__u32'
/usr/include/linux/mod_devicetable.h:93: error:
expected specifier-qualifier-list before '__u16'
/usr/include/linux/mod_devicetable.h:129: error:
expected specifier-qualifier-list before '__u16'
/usr/include/linux/mod_devicetable.h:148: error:
expected specifier-qualifier-list before '__u8'
/usr/include/linux/mod_devicetable.h:153: error:
expected specifier-qualifier-list before '__u8'
/usr/include/linux/mod_devicetable.h:163: error:
expected specifier-qualifier-list before '__u8'
/usr/include/linux/mod_devicetable.h:177: error: expected
specifier-qualifier-list before 'kernel_ulong_t'
/usr/include/linux/mod_devicetable.h:189: error:
expected specifier-qualifier-list before '__u16'
/usr/include/linux/mod_devicetable.h:228: error: expected
specifier-qualifier-list before '__u16' In file included from
sysdep/pci_linux.c:134,
                 from pci.c:64:
/usr/include/linux/pci.h:23:28: error: linux/pci_regs.h: No such file
or directory In file included from pci.c:64: sysdep/pci_linux.c: In
function 'pci_get_vendor': sysdep/pci_linux.c:151: error: 'PCI_VENDOR_ID'
undeclared (first use in this function) sysdep/pci_linux.c:151: error:
(Each undeclared identifier is reported only once sysdep/pci_linux.c:151:
error: for each function it appears in.)  sysdep/pci_linux.c:152: error:
'PCI_DEVICE_ID' undeclared (first use in this function) make[1]: ***
[pci.o] Error 1 make[1]: Leaving directory `/home/david/main/libdha'
make: *** [libdha/libdha.so] Error 2

Hopefully that was useful.

_______________________________________________
Clfs-dev mailing list
[email protected]
http://ninja.linux-phreak.biz/mailman/listinfo/clfs-dev

Reply via email to