Hi, I wanted to compile my own version of the 2.6 kernel for the
TS-7350 board and ran into some difficulties. I downloaded the kernel
source and an eabi crosscompiler, confugured kernel source but
compilation stoped on an odd error:
2.6.21.aug.25]$ make
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC scripts/mod/empty.o
as: unrecognized option '-EL'
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
Verbose output shows this
make -f scripts/Makefile.build obj=scripts/mod
/opt/crosstools/arm-linux/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
-Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem
/opt/crosstools/arm-linux/arm-none-linux-gnueabi/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h
-mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Os -marm-fno-omit-frame-pointer
-mapcs -mno-sched-prolog -mabi=apcs-gnu -mno-thumb-interwork
-D__LINUX_ARM_ARCH__=4 -march=armv4t -mtune=arm9tdmi -msoft-float
-Uarm -fno-omit-frame-pointer -fno-optimize-sibling-calls
-Wdeclaration-after-statement -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(empty)"
-D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/empty.o
scripts/mod/empty.c
as: unrecognized option '-EL'
I guess that cc is calling host system AS instead of the crosstools
one which has no problems accepting the -EL option.
Please tell me if I am doing something wrong or how to overcome it.
I also tried to compile the kernel with an older crosscompiler from
the TS FTP, without eabi but encountered some different error.
Thanks in advance.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|