This is the mail archive of the crossgcc@sourceware.org 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: Include path confusion


No, same result.  I'm to give 0.42 a go.

On 3/14/06, Earl Olsen <earl.olsen@dilithiumnetworks.com> wrote:
> I have built two [gcc-3.2.2] compilers with cross tools, one for Linux

>2.4.21 and  one for Linux 2.6.10.
>...
> When we compile a user module that includes <linux/i2c.h> with the
> 2.4.21 compiler,
> it correctly picks up the header from i386-linux/include/linux  
>directory.
> The 2.6.10 compiler gets it from i386-linux/sys-include/linux 
>directory,  and we get an error:
> 
>/data/dntools/gnu-i386-linux-2.6.10-v2/i386-linux/sys-include/linux/con
>fig.h:4:28: linux/autoconf.h: No such file or directory

Sounds like in the case with the error, you're not using sanitized
kernel headers.  Try setting

LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0

in the toolchain .dat file when running crosstool.

Which version of crosstool are you using?

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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