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?


Dan,

from mkdosfs.c:54:
/opt/crosstool/arm-softfloat-linux-gnu/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"


You're not the first to run into this; see
http://mail.gnome.org/archives/garnome-list/2005-February/msg00072.html
which didn't even involve crosstools.

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? And how can I get these for let say my linux-2.6.12-rc4 kernel?

--
Steven

------
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]