Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Buildroot help

Altera_Forum
Honored Contributor II
1,172 Views

Hi, 

 

I'm following the hippo's bullroot and when I tried to compile the kernel this is what I got: 

$ make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- menuconfig  no emulation specific options. scripts/kconfig/mconf arch/nios2nommu/Kconfig# # using defaults found in .config# *** End of Linux kernel configuration. *** Execute &#39;make&#39; to build the kernel or try &#39;make help&#39;. $ make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- zImage  no emulation specific options.  CHK     include/linux/version.h  SPLIT   include/linux/autoconf.h -> include/config/*  CHK     include/nios2_system.h perl -I/home/MFM/linux-2.6.x/arch/nios2nommu/scripts /home/MFM/linux-2.6.x/arch/nios2nommu/scripts/gen_nios2_system.h.pl cpu sdram ext_flash < std_1s40.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/asm-nios2nommu/asm-offsets.h  CHK     include/linux/compile.h  CHK     usr/initramfs_list  CC      drivers/ide/ide.o drivers/ide/ide.c: In function `init_hwif_default&#39;: drivers/ide/ide.c:262: error: `na_ide_ide&#39; undeclared (first use in this function) drivers/ide/ide.c:262: error: (Each undeclared identifier is reported only once drivers/ide/ide.c:262: error: for each function it appears in.) drivers/ide/ide.c: In function `init_ide_data&#39;: drivers/ide/ide.c:313: error: `na_ide_ide_irq&#39; undeclared (first use in this function) make: *** Error 1 make: *** Error 2 make: *** Error 2 $ 

P.S: I&#39;m under FC5, my board is a Stratix Pro Edition 1S40 and I do need a CF support http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
294 Views

hi, MFM http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif  

 

the following msg :  

 

no emulation specific options. 

 

I think that it means one of two things : 

 

1) there is no ruls to make (see option "include" in Makefile ) 

 

2) or, the include specified is not adequate. 

 

wa allaho a3lam. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif
0 Kudos
Altera_Forum
Honored Contributor II
294 Views

The IDE error means that it can&#39;t find the CF IDE component in the PTF file. Did you use the correct PTF file, and do a make HWSELECT on it?

0 Kudos
Altera_Forum
Honored Contributor II
294 Views

 

--- Quote Start ---  

originally posted by jdhar@May 7 2006, 12:29 AM 

the ide error means that it can&#39;t find the cf ide component in the ptf file. did you use the correct ptf file, and do a make hwselect on it? 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15133) 

--- quote end ---  

 

--- Quote End ---  

 

Hi jdhar, 

that&#39;s it, thanks a lot http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
0 Kudos
Reply