On 01/21/2011 09:40 AM, MS wrote: > I have asked here a couple times and nobody seems to either have any > idea what I am talking about or maybe the right people aren't reading my > post. At any rate, I have spent a lot of time trying to figure this out > and I have gotten nowhere. > > > ms@strabo:~/bin/kernel/samsung$ make ARCH=arm clean > ms@strabo:~/bin/kernel/samsung$ make ARCH=arm herring_defconfig > HOSTCC scripts/basic/fixdep > HOSTCC scripts/basic/docproc > HOSTCC scripts/basic/hash > HOSTCC scripts/kconfig/conf.o > *scripts/kconfig/conf.c: In function \u2018conf_askvalue\u2019:* > *scripts/kconfig/conf.c:105: warning: ignoring return value of > \u2018fgets\u2019, declared with attribute warn_unused_result* > *scripts/kconfig/conf.c: In function \u2018conf_choice\u2019:* > *scripts/kconfig/conf.c:307: warning: ignoring return value of > \u2018fgets\u2019, declared with attribute warn_unused_result* > HOSTCC scripts/kconfig/kxgettext.o > HOSTCC scripts/kconfig/zconf.tab.o > HOSTLD scripts/kconfig/conf > *arch/arm/configs/herring_defconfig:320:warning: override: reassigning > to symbol LOCALVERSION_AUTO* > *arch/arm/configs/herring_defconfig:330:warning: override: reassigning > to symbol NET_ACTIVITY_STATS* > # > # configuration written to .config > # > ms@strabo:~/bin/kernel/samsung$ make -j4 ARCH=arm CROSS_COMPILE=arm-eabi- > scripts/kconfig/conf -s arch/arm/Kconfig > *include/config/auto.conf:117:warning: symbol value 'elf64-x86-64' > invalid for OUTPUT_FORMAT* > *include/config/auto.conf:174:warning: symbol value > 'arch/x86/configs/x86_64_defconfig' invalid for ARCH_DEFCONFIG* > *include/config/auto.conf:399:warning: symbol value '-fcall-saved-rdi > -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 > -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11' invalid for > ARCH_HWEIGHT_CFLAGS* > * > * > **** Error during update of the kernel configuration.* > * > * > *make[2]: *** [silentoldconfig] Error 1* > *make[1]: *** [silentoldconfig] Error 2* > make: *** No rule to make target `include/config/auto.conf', needed by > `include/config/kernel.release'. Stop. > > Can someone please tells me what the problem I am having is???
Well, I'm just shooting in the dark here, but seeing references to x86 stuff in an ARM build sets off alarm bells. It's possible there is a symlink or some other x86-specific artifact in your kernel tree. I would do a "make distclean" (note the ABSENCE of ARCH=arm). This should remove ALL build artifacts from your source tree, including specifically artifacts for x86 (the default arch). Note that this will wipe out your config, so save it off if you need to, before the 'make distclean'. I'm not positive this will work, but it's worth a shot. Something else to try if that doesn't work: make ARCH=arm CROSS_COMPILE=arm-eabi- distclean I see you didn't specify the CROSS toolchain prefix and only used the 'clean' target, above. The 'distclean' target is more severe in what it removes, and it's possible that there's some special tool from the cross toolchain required to properly clean out the source tree. (Unlikely, though, but again, worth trying if nothing else is working. I hope this helps. -- Tim ============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Network Entertainment ============================= -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
