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: Problem with kernel 2.6.14 include/linux and crosstool


On 1/13/06, Roman <romank@randrlabs.com> wrote:
> I built gcc 3.4.4 compiler with the use of the crosstool. I am trying to
> compile a simple i2c program for the arm with kernel 2.6.14. However, I
> cannot properly include and have errors with double defined functions. How
> can I setup crosstool to use kernel 2.6.14 headers.

You didn't give enough info (what errors, exactly?), but
I bet if you build with the sanitized kernel headers, you'll
have a better chance of success.
To do this, use one of the .dat files that ends in hdrs-2.6.11.2.dat, e.g.
   gcc-3.4.4-glibc-2.2.2-hdrs-2.6.11.2.dat
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv

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


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