This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems building dosfstools - include headers wrong?


Steven Scholz wrote:
from mkdosfs.c:54:
gcc-3.3.3-glibc-2.3.3-linux-2.6.10/arm-softfloat-linux-gnu/sys-include/linux/prio_tree.h:22: error: parse error before "pgoff_t" ...

How about trying the sanitized kernel headers? They're there to solve exactly this kind of problem. Just add export LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.11.2 and rebuild crosstool, and let us know what happens.

Thanks a million! That helped!


What exactly is linux-libc-headers-2.6.11.2?

They're the standard 2.6.11 kernel headers, but sanitized for use by userspace. They'll probably be bundled with linux-2.7, but for now they're separate.

And how can I get these for let say my linux-2.6.12-rc4 kernel?

The versions need not match exactly. When in doubt, ask on the linux-kernel mailing list, or ask the maintainer of the sanitized headers. See

http://ep09.pld-linux.org/~mmazur/linux-libc-headers/

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]