Forum Discussion
Altera_Forum
Honored Contributor
20 years agobuild uclinux error
THANKS I WANT TO DO ACCORDING TO hippo,I downloads the Nios II Linux Distribution v1.4 ,and build.zip.BECAUSE THE NET DOWLOAD IS SLOW,SO I DOWNLOAD THIS FILES:uClinux-dist-20051110.tar.bz2,busyb...
Altera_Forum
Honored Contributor
20 years agodear all,
I executed the kernal config,the error information is below,could you help me? [root@localhost linux-2.6.x]# make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- hwselect SYSPTF=cpu.ptf no emulation specific options. RUNNING hwselect --- Please select which CPU you wish to build the kernel against: (1) cpu_0 - Class: altera_nios2 Type: s Version: 5.0 Selection: 1 --- Please select a device to upload the kernel to: (1) flash Class: altera_avalon_cfi_flash Size: 8388608 bytes Selection: 1 --- Please select a device to execute kernel from: (1) number_device_0 Class: number_device Size: 4 bytes (2) sdram Class: altera_avalon_new_sdram_controller Size: 8388608 bytes Selection: 2 --- Summary using PTF: cpu.ptf CPU: cpu_0 Device to upload to: flash Program memory to execute from: sdram --- Settings written to /home/wangdengke/linux-2.6.x/arch/nios2nommu/hardware.mk then execute : [root@localhost linux-2.6.x]# make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- menuconfig no emulation specific options. CHK include/linux/version.h UPD include/linux/version.h SYMLINK include/asm -> include/asm-nios2nommu no emulation specific options. HOSTCC scripts/basic/fixdep /bin/sh: line 1: gcc: command not found make[2]: *** [scripts/basic/fixdep] Error 127 make[1]: *** [scripts_basic] Error 2 make: *** [include/linux/autoconf.h] Error 2