LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   .config error while Compiling the kernel 2.6.38 (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/config-error-while-compiling-the-kernel-2-6-38-a-892582/)

suneet 07-19-2011 03:51 PM

.config error while Compiling the kernel 2.6.38
 
I have got the following error:

[geet@localhost linux-2.6.38]$ make ARCH=arm CROSS_COMPILE=arm-linux- davinci_all_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#

elucches 07-19-2011 08:59 PM

Where's the error? If you run make after that, do you see errors?

suneet 07-20-2011 12:57 AM

Main error after compiling in this way
 
[geet@localhost linux-2.6.38]$ make ARCH=arm CROSS_COMPILE=arm-linux-
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
kernel/bounds.c:1: error: invalid ABI option: -mabi=aapcs-linux
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2

elucches 07-20-2011 07:39 PM

Maybe http://tuxthink.blogspot.com/2010/05...pcs-linux.html helps?


All times are GMT -5. The time now is 04:05 AM.