Hi,
On Sat Nov 06, 2010 at 23:36:11 -0400, Rahul Ramasubramanian wrote:
I am trying to build l4linux for arm. I have already built and tested l4re and the fiasco kernel (generated a simple image using the hello.lua script) After pulling the l4linux sources from svn , i used the following steps (as described in the wiki) 1> l4linux-2.6$ make O=/tmp/buildpath L4ARCH=arm CROSS_COMPILE=arm-linux- arm_defconfig 2>l4linux-2.6$ make O=/tmp/buildpath L4ARCH=arm CROSS_COMPILE=arm-linux- menuconfig
In menuconfig , i gave the correct path for l4 build dirctory ( in my case it is /home/syslab1/l4fiasco/src/l4/build). This is the directory which hosuses the images folder etc after the l4re and the simple hello image was built. I also selected the arm architecture 3>l4linux-2.6$ make O=/tmp/buildpath L4ARCH=arm CROSS_COMPILE=arm-linux-
I get the following error when i run the last command
syslab1@syslab1-desktop:~/l4fiasco/l4linux$ make O=/tmp/l4linuxbuild/ L4ARCH=arm CROSS_COMPILE=arm-linux- L4 source directory: /home/syslab1/l4fiasco/src/l4 PWD=/home/syslab1/l4fiasco/src/l4 make -C /home/syslab1/l4fiasco/src/l4 -f /home/syslab1/l4fiasco/l4linux/arch/l4/Makefile.l4conf O=/home/syslab1/l4fiasco/src/l4/build L4X_LOOP_CHECK=1 OUTPUT=/tmp/l4linuxbuild/Makeconf.l4conf GEN /tmp/l4linuxbuild/Makeconf.l4conf GEN /tmp/l4linuxbuild/Makefile scripts/kconfig/conf -s arch/l4/Kconfig include/config/auto.conf:486:warning: symbol value 'elf32-i386' invalid for OUTPUT_FORMAT include/config/auto.conf:690:warning: symbol value 'arch/x86/configs/i386_defconfig' invalid for ARCH_DEFCONFIG include/config/auto.conf:896:warning: symbol value '' invalid for ACPI_CUSTOM_DSDT_FILE include/config/auto.conf:1692:warning: symbol value '-fcall-saved-ecx -fcall-saved-edx' invalid for ARCH_HWEIGHT_CFLAGS Getting required compilation flags failed. L4OBJ: /home/syslab1/l4fiasco/src/l4/build L4_REQUIRED_MODS: stdlibs log l4re_c-util libio shmc /home/syslab1/l4fiasco/l4linux/arch/l4/Makefile:287: *** Aborting.. Stop. make: *** [sub-make] Error 2
Can anyone tell me where I am going wrong. This thing seems simple enough but i am sure i am making a simple mistake which i am unable to resolve. Will appreciate if someone can tell me how to make this error go away.
There are too many x86 related error messages in there. Are you sure you did not call make on the build directory without specifying L4ARCH=arm?
Adam