> /opt/eldk/usr/src/linuxppc_2_4_devel/include/linux/kernel.h:10
> : stdarg.h: No
> > such file or directory
Change the following macro in root Makefile. This will get correct include 
directory. I'm not sure if this is a bug for new Makefile since 2.4.20. I 
believe that 2.4.19 uses the second definition. But I don't know why it is 
changed.

#kbuild_2_4_nostdinc    := -nostdinc -iwithprefix include
kbuild_2_4_nostdinc     := -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 
's/install: \(.*\)/-I \1include/gp')

>
> Interesting, it's not picking up stdarg.h from down in the gcc-lib/
> hierarchy.  Probably an ELDK install problem...hopefully Wolfgang
> is reading this thread since he should have a suggestion on what have
> might gone wrong with your installation.

Also I'm not sure if it's related to ELDK's cross compiler. Hopefully Wolfgang 
will clarify this.

Regards,

Shawn.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/



Reply via email to