Forum Discussion
Altera_Forum
Honored Contributor
17 years agomake linux image error
I am trying to customize my own uClinux kernel and create a zImage to be run on the Altera DE2 board. However, after I run "make vendor_hwselect SYSPTF=...", I then type make to compile the kernel an...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I am trying to customize my own uClinux kernel and create a zImage to be run on the Altera DE2 board. However, after I run "make vendor_hwselect SYSPTF=...", I then type make to compile the kernel and apps, and it quits with an error as seen in the last six lines below. These lines were copied directly from the Ubuntu terminal I am working in. Any help on this issue is greatly appreciated. phil@ubuntu:~/Desktop/uClinux-dist$ make make -C tools/ucfront make[1]: Entering directory `/home/phil/Desktop/uClinux-dist/tools/ucfront' cc -g -Werror -Wall -DHAVE_MKSTEMP -o ucfront ucfront.c args.c util.c execute.c cc -g -Werror -Wall -DHAVE_MKSTEMP -o ucfront-ld ucfront-ld.c args.c util.c execute.c cc -o jlibtool jlibtool.c make[1]: Leaving directory `/home/phil/Desktop/uClinux-dist/tools/ucfront' ln -sf /home/phil/Desktop/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc ln -sf /home/phil/Desktop/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++ ln -sf /home/phil/Desktop/uClinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld ln -sf /home/phil/Desktop/uClinux-dist/tools/ucfront/jlibtool tools/jlibtool make -C tools/sg-cksum make[1]: Entering directory `/home/phil/Desktop/uClinux-dist/tools/sg-cksum' cc -Werror -Wall -DHAVE_MKSTEMP -o cksum cksum.c crc.c print.c sum1.c sum2.c crc32.c make[1]: Leaving directory `/home/phil/Desktop/uClinux-dist/tools/sg-cksum' ln -sf /home/phil/Desktop/uClinux-dist/tools/sg-cksum/cksum tools/cksum chmod +x tools/romfs-inst.sh tools/modules-alias.sh tools/build-udev-perms.sh make -C config automake make[1]: Entering directory `/home/phil/Desktop/uClinux-dist/config' make[1]: Nothing to be done for `automake'. make[1]: Leaving directory `/home/phil/Desktop/uClinux-dist/config' . linux-2.6.x/.config; if [ "$CONFIG_INITRAMFS_SOURCE" != "" ]; then mkdir -p `dirname $CONFIG_INITRAMFS_SOURCE`; touch $CONFIG_INITRAMFS_SOURCE || exit 1; fi dirname: extra operand `../vendors/altera/nios2nommu/romfs_list' try `dirname --help' for more information. mkdir: missing operand try `mkdir --help' for more information. touch: cannot touch `../vendors/altera/nios2nommu/romfs_list': no such file or directory make: *** [linux] error 1 --- Quote End --- How you resolved it? I encounter the same question too!