Hello.  I am trying to cross-compile uClinux kernel 2.4.x for the Atmel AT91
board.  I AM able to compile uClinux 2.6.x successfully for the Atmel board;
however, I need 2.4.x to compile.

Compiling 2.6.x I simply set CROSS_COMPILE in the menuconfig and went about
my way.

It appears less straightforward in the 2.4.x build.
 To override the hard-coded "CROSS_COMPILE" and "KERNEL_CROSS_COMPILE" I
modified uClinux-dist/vendors/config/armnommu.arch so I could override the
cross compilation variables.

Then I ran:

CROSS_COMPILE=/usr/local/arm-uclinux-gcc-3.4.3/bin/arm-uclinux-elf-
KERNEL_CROSS_COMPILE=/usr/local/arm-uclinux-gcc-3.4.3/bin/arm-uclinux-elf-
make linux

Where:

ls /usr/local/arm-uclinux-gcc-3.4.3/bin/
arm-elf-addr2line  arm-elf-flthdr   arm-elf-objcopy
 arm-uclinux-elf-addr2line  arm-uclinux-elf-flthdr     arm-uclinux-elf-ld
    arm-uclinux-elf-run
arm-elf-ar         arm-elf-g++      arm-elf-objdump  arm-uclinux-elf-ar
    arm-uclinux-elf-g++        arm-uclinux-elf-ld.real  arm-uclinux-elf-size
arm-elf-as         arm-elf-gcc      arm-elf-ranlib   arm-uclinux-elf-as
    arm-uclinux-elf-gcc        arm-uclinux-elf-nm
arm-uclinux-elf-strings
arm-elf-c++        arm-elf-gcov     arm-elf-readelf  arm-uclinux-elf-c++
   arm-uclinux-elf-gcc-3.4.3  arm-uclinux-elf-objcopy  arm-uclinux-elf-strip
arm-elf-c++filt    arm-elf-ld       arm-elf-size     arm-uclinux-elf-c++filt
   arm-uclinux-elf-gccbug     arm-uclinux-elf-objdump  genromfs
arm-elf-cpp        arm-elf-ld.real  arm-elf-strings  arm-uclinux-elf-cpp
   arm-uclinux-elf-gcov       arm-uclinux-elf-ranlib
arm-elf-elf2flt    arm-elf-nm       arm-elf-strip    arm-uclinux-elf-elf2flt
   arm-uclinux-elf-gdb        arm-uclinux-elf-readelf

Am I using the wrong toolchain version?  So far I haven't found anything for
sure specifying a specific version of the gnu arm-uclinux compiler toolset
for uClinux kernel 2.4.x.  I may just be missing it.

The error I see appears to start with the compilation of assembly units:

/usr/local/arm-uclinux-gcc-3.4.3//bin/arm-uclinux-elf-gcc -D__ASSEMBLY__
-D__KERNEL__
-I/home/Virtual_Machines/linux_kernels/uClinux-dist/linux-2.4.x/include
 -DNO_MM -mapcs-32 -march=armv4 -msoft-float   -c -o entry-armv.o
entry-armv.S
entry-armv.S: Assembler messages:
entry-armv.S:1495: Warning: destination register same as write-back base
entry-armv.S:1721: Error: undefined symbol TSS_FPESAVE used as an immediate
value

The above text is the first error.  There are many more assembly errors.
 Any help would be appreciated.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to