as: unrecognized option '-EL' while compiling Kernel with Android patches

1,285 views
Skip to first unread message

darbar

unread,
Apr 5, 2009, 10:32:55 PM4/5/09
to Beagle Board
I followed Labs.embinux.org's instructions for compiling the Kernel
2.6.27. I am having problem with the line:

make ARCH=arm CROSS_COMPILE=/root/CodeSourcery/Sourcery_G++_Lite/arm-
none-linux-gnueabi/bin/ uImage

I have gone as far as the following messages and got the error "as:
unrecognized option '-EL'". I am on openSUSE 11.1 and have installed
CodeSourcery's cross-compiler.

gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)

I ran make V=1 and also tried "ln -s /root/CodeSourcery/Sourcery_G+
+_Lite/arm-none-linux-gnueabi/bin/gcc"

Could someone shed some light on this issue?

Thanks,


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
make ARCH=arm CROSS_COMPILE=/root/CodeSourcery/Sourcery_G++_Lite/arm-
none-linux-gnueabi/bin/
uImage
CHK include/linux/
version.h
make[1]: `include/asm-arm/mach-types.h' is up to
date.
CHK include/linux/
utsrelease.h
CC arch/arm/kernel/asm-
offsets.s
GEN include/asm/asm-
offsets.h
CALL scripts/
checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not
implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not
implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not
implemented
<stdin>:1325:2: warning: #warning syscall ppoll not
implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not
implemented
HOSTCC scripts/genksyms/
genksyms.o
SHIPPED scripts/genksyms/
lex.c
SHIPPED scripts/genksyms/
parse.h
SHIPPED scripts/genksyms/
keywords.c
HOSTCC scripts/genksyms/
lex.o
SHIPPED scripts/genksyms/
parse.c
HOSTCC scripts/genksyms/
parse.o
HOSTLD scripts/genksyms/
genksyms
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
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

cpya...@gmail.com

unread,
Mar 28, 2020, 9:30:02 AM3/28/20
to BeagleBoard
I hava the same problem,this is sad!!!

在 2009年4月6日星期一 UTC+8上午10:32:55,darbar写道:
Reply all
Reply to author
Forward
0 new messages