Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by hippo@Apr 4 2007, 09:28 AM check if you have the "gawk" command with,
which gawk
or check if you have it in /usr/bin or /bin dir.
which linux distro do you use? have you installed devolopment packages?
if you are new to linux, i would suggest centos 4.4.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22799)
--- quote end ---
--- Quote End --- i run the command "gawk --help", the terminal shows"command not found", and i have checked that there was no "gawk" in both /bin and /usr/bin dir. i use ubuntu6.1 linux . just now i build kernel again, but run "make romfs" after running "make", and finally i got the zImage file ,but there were still many problems as follows(after i run "make linux image") : ********************** /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found /home/echo/download/uClinux-dist/linux-2.6.x/scripts/gen_initramfs_list.sh: line 137: gawk:command not found Unrecognized dir format '/bin/cp 777 1000 1000' line 9 Unrecognized dir format '/bin/dd 777 1000 1000' line 10 Unrecognized dir format '/bin/mount 777 1000 1000' line 11 Unrecognized dir format '/bin/netstat 777 1000 1000' line 12 Unrecognized dir format '/bin/ping 777 1000 1000' line 13 Unrecognized dir format '/bin/rm 777 1000 1000' line 14 Unrecognized dir format '/usr/bin/ftpget 777 1000 1000' line 59 Unrecognized dir format '/usr/bin/ftpput 777 1000 1000' line 60 Unrecognized dir format '/usr/bin/telnet 777 1000 1000' line 61 Unrecognized dir format '/usr/bin/wget 777 1000 1000' line 62 Unrecognized dir format '/init 777 1000 1000' line 66 Unrecognized dir format '/sbin/ifconfig 777 1000 1000' line 68 Unrecognized dir format '/sbin/insmod 777 1000 1000' line 69 Unrecognized dir format '/sbin/lsmod 777 1000 1000' line 70 Unrecognized dir format '/sbin/modprobe 777 1000 1000' line 71 Unrecognized dir format '/sbin/rmmod 777 1000 1000' line 72 Unrecognized dir format '/sbin/route 777 1000 1000' line 73 make[2]: *** [usr/initramfs_data.cpio.gz] error 255 make[1]: *** [usr] error 2 make[1]: Leaving directory `/home/echo/download/uClinux-dist/linux-2.6.x' make: *** [linux] error 1 *********************************