Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Error during make zImage

Hi,

Stating up with a project, I am prepering a first image for testing.

I am following the instruction from

buildrootguide (http://nioswiki.jot.com/wikihome/operatingsystems/buildrootguide).

Currently at step 5, just after succefull complition of: "make menuconfig".

(ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- are defined as part of my environment)

I encounter the following during make zImage:

$ make zImage
  no emulation specific options.
  CHK     include/linux/version.h
  CHK     include/nios2_system.h
perl -I/usr/local/home/didi/linux-2.6.x/arch/nios2nommu/scripts /usr/local/home/ didi/linux-2.6.x/arch/nios2nommu/scripts/gen_nios2_system.h.pl cpu sdram ext_fla sh < /home/didi/iamba/iamba.ptf > include/nios2_system.h.tmp; if  && cmp -s include/nios2_system.h include/nios2_system.h.tmp; then  rm -f include/nios2_system.h.tmp; else echo &#39;  UPD     include/nios2_system.h&#39;;  mv -f include/nios2_system.h.tmp include/nios2_system.h; fi
make: `arch/nios2nommu/kernel/asm-offsets.s&#39; is up to date.
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
arch/nios2nommu/boot/Makefile:29: warning: overriding commands for target `arch/nios2nommu/boot/zImage&#39;
arch/nios2nommu/boot/Makefile:12: warning: ignoring old commands for target `arch/nios2nommu/boot/zImage&#39;
arch/nios2nommu/boot/Makefile:33: warning: overriding commands for target `arch/nios2nommu/boot/compressed/vmlinux&#39;
arch/nios2nommu/boot/Makefile:16: warning: ignoring old commands for target `arch/nios2nommu/boot/compressed/vmlinux&#39;
arch/nios2nommu/boot/compressed/Makefile:58: warning: overriding commands for target `arch/nios2nommu/boot/compressed/vmlinux&#39;
arch/nios2nommu/boot/compressed/Makefile:22: warning: ignoring old commands for target `arch/nios2nommu/boot/compressed/vmlinux&#39;
arch/nios2nommu/boot/compressed/Makefile:62: warning: overriding commands for target `arch/nios2nommu/boot/compressed/vmlinux.bin&#39;
arch/nios2nommu/boot/compressed/Makefile:26: warning: ignoring old commands for target `arch/nios2nommu/boot/compressed/vmlinux.bin&#39;
arch/nios2nommu/boot/compressed/Makefile:65: warning: overriding commands for target `arch/nios2nommu/boot/compressed/vmlinux.bin.gz&#39;
arch/nios2nommu/boot/compressed/Makefile:29: warning: ignoring old commands for target `arch/nios2nommu/boot/compressed/vmlinux.bin.gz&#39;
arch/nios2nommu/boot/compressed/Makefile:72: warning: overriding commands for target `arch/nios2nommu/boot/compressed/piggy.o&#39;
arch/nios2nommu/boot/compressed/Makefile:36: warning: ignoring old commands for target `arch/nios2nommu/boot/compressed/piggy.o&#39;
  AS      arch/nios2nommu/boot/compressed/head.o
arch/nios2nommu/boot/compressed/head.S: Assembler messages:
arch/nios2nommu/boot/compressed/head.S:111: Error: symbol `_start&#39; is already defined
arch/nios2nommu/boot/compressed/head.S:117: Error: symbol `text_init&#39; is already defined
arch/nios2nommu/boot/compressed/head.S:126: Error: symbol `data_init&#39; is already defined
arch/nios2nommu/boot/compressed/head.S:146: Error: symbol `flush_cache&#39; is already defined
arch/nios2nommu/boot/compressed/head.S:151: Error: symbol `data_flush&#39; is already defined
arch/nios2nommu/boot/compressed/head.S:158: Error: symbol `text_flush&#39; is already defined
arch/nios2nommu/boot/compressed/head.S:169: Error: symbol `fake_headers_as_bzImage&#39; is already defined
make: ***  Error 1
make: ***  Error 2
make: ***  Error 2

Any ideas?

Thanks,

David