Cross-compilation errors using 2.6.14 + arm-linux-gcc 3.4.1

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hi all

I am trying to port 2.6.14 to my smdk2410-like custom board. So I
downloaded cross toolchain arm-linux-gcc 3.4.1 on Handhelds.org's FTP
and linux-2.6.14.tar.bz2 from the Kernel.org. Then I did following
steps after I installed the cross toolchain:

# tar jxf linux-2.6.14
# cd linux-2.6.14
# make mrproper
# make ARCH=arm CROSS_COMPILE=arm-linux- menuconfig

I chose "Load an Alternate Configuration File" and arch/arm/configs/
smdk2410_defconfig, then I saved & exited.

#make

However, two errors prompted:

include/asm/processor.h:69: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared here (not in a function)

include/linux/jiffies.h:417: error: `CONFIG_HZ' undeclared (first use
in this function)

How did things go like this? And how to settle these complaints? Any
hints would be highly appreciated.

P. S. : I am running CentOS 4.4 on my i386 box as the host
architecture.
[root@localhost ~]# uname -a
Linux localhost 2.6.9-42.EL #1 Sat Aug 12 09:17:58 CDT 2006 i686
athlon i386 GNU/Linux


Re: Cross-compilation errors using 2.6.14 + arm-linux-gcc 3.4.1

Quoted text here. Click to load it
Should be:
#make ARCH=arm CROSS_COMPILE=arm-linux-
 

Site Timeline