Am Donnerstag, den 08.02.2007, 11:08 +0100 schrieb Wolf, Josef:
> Jivin Phil Wilshire wrote:
> 
> > > Which architecture are you using ? Which tools ?
> 
> I use lpc2292 (arm7tdmi) with arm-elf-tools-20040427 on a suse-10.1 box.
> 
> > > It would probably take less time to fix the problems with the latest
> > > build than to find what you are looking for.
> 
> The first problems seem to be related to the build environment. While
> uClinux-dist-20051014 used CROSS_COMPILE=arm-elf- (which worked
> perfectly with arm-elf-tools-20040427.sh), uClinux-dist-20070130 uses
> CROSS_COMPILE=arm-linux- by default.  I tried to fix this by
> 
>    --- uClinux-dist-20070130.orig/vendors/config/armnommu/config.arch
> 2006-07-31 01:24:35.000000000 +0200
>    +++ uClinux-dist-20070130/vendors/config/armnommu/config.arch
> 2007-02-07 17:14:07.000000000 +0100
>    @@ -61,7 +61,7 @@
>     ARCH          = armnommu
>     endif
>     ENDIAN        ?= little
>    -CROSS_COMPILE = arm-linux-
>    +CROSS_COMPILE = arm-elf-
>     CROSS         = $(CROSS_COMPILE)
>     CONFIGURE_HOST = arm-linux
Hi Josef,
yes, this adjustment may be necessary depending on the toolchain that
you use. For the 2.4 kernel, it may still be necessary to use the good
old 20030314 toolchain, because of some syntactical problems with recent
compilers.
>    
> But now I get errors about missing header files:
...
> I remember long time ago (the times when you compiled kernel yourself,
> instead of using packet management) similar problems with
> /usr/include/asm
> and /usr/include/sys directories.  Those were fixed by symlinking.  I
> guess I need to
> 
>   ln -s uClinux-dist-20070130/linux-2.4.32/include/asm-arm
> uClinux-dist-20070130/linux-2.4.32/include/asm
> 
> but I doubt this is the right way to fix it.
> 
> Any suggestions?
> 
No, no hand-symlinking!! Are you sure that you have done "make dep"?
Eventually, start again from a fresh source tree, especially if you have
switched to a different toolchain.

> David McCullough wrote:
> 
> > Agreed,  dpomg the search should be a last resort :-)
>            ^^^^^
> What does that mean?
That seems to be a seek-error of David's right hand (2cm right offset),
maybe after picking up the coffee-mug during typing. It should be
"doing".

Regards,
Erwin


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to