Problem with kernel 2.6.14 include/linux and crosstool

Dan Kegel dank@kegel.com
Sat Jan 14 03:57:00 GMT 2006


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



More information about the crossgcc mailing list