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

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

Reply to
Jarod Wang
Loading thread data ...

Should be: #make ARCH=arm CROSS_COMPILE=arm-linux-

Reply to
Stanislaw Gruszka

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.