On Sat, May 06, 2006 at 04:05:52PM -0700, David Csercsics wrote:
> 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'
Thanks for the report. My testbed is just about in place, but it's
in a chroot build at the end of the final system - I see blfs lists
a lot of dependencies for mplayer as "optional", I have doubts if it
will be meaningful to test it with none of the dependencies. Time
will tell.
These initial messages look like the sort of messages I was seeing
from strace when I got to the end of my build on ppc64, using
headers from that sort of date. On that occasion, I just copied in
newer headers, and then wondered why dvd+rw-tools was having
difficulties. So, *if* you want to try the current headers, be
aware that glibc updates /usr/include/{net,scsi}/ (I'd put in the
sanitised sg.h, instead of the version from glibc - makes me
slightly dubious about using net and scsi headers from the kernel)
- copying /usr/include/linux (and /usr/include/asm{,-generic}/ might
help [ at your own risk, of course! ].
The current headers look good for my test cases on x86 (strace,
dhcp, iptables).
Ken
--
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-dev mailing list
[email protected]
http://ninja.linux-phreak.biz/mailman/listinfo/clfs-dev