[uClibc] stdargs.h not found when cross compiling kernel

Dave Hylands dhylands at broadcom.com
Mon Feb 16 22:52:12 UTC 2004


Hi Robin,

Using -v on the command line of gcc will cause it to display all of the
subcommands, and I'm pretty sure it shows the search paths used as well.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/


> -----Original Message-----
> From: uclibc-bounces at uclibc.org 
> [mailto:uclibc-bounces at uclibc.org] On Behalf Of Robin Gilks
> Sent: Monday, February 16, 2004 1:00 PM
> To: uclibc list
> Subject: [uClibc] stdargs.h not found when cross compiling kernel
> 
> 
> Greetings
> 
> The title says it all really!!
> 
> When I cross compile from i386 to powerpc using buildroot 
> (CVS from last 
> Friday), everything works fine apart from building a kernel where the 
> kernel include file kernel.h includes stdargs.h which 
> presumably should 
> be on the compiler builtin include path.
> 
> It doesn't find it and hence no kernel image :-(( I've tried 
> to find a 
> gcc switch that displays the include search path but no luck - the 
> '-print-search-dirs' seems to only display the executable search path 
> and not the include file search path.
> 
> Should I extend the makefile include path so that stdargs.h 
> is found or 
> is it a fault in the building of the cross-gcc.
> 
> -- 
> Robin Gilks
> Senior Design Engineer          Phone: (+64)(3) 357 1569
> Tait Electronics                Fax  :  (+64)(3) 359 4632
> PO Box 1645 Christchurch        Email : robin.gilks at tait.co.nz
> New Zealand
> 
> 




More information about the uClibc mailing list