Forum Discussion

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

Compiling Linux Kernel

Hi folks,

Solving one problem, leads to new problems...

An error occurde while compiling my linux kernel. (Still working with the quick start guide PDF) http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif

Here the message:

Error    error: `na_ide_ide&#39; undeclared (first use in this function)  line 218
Error    error: (Each undeclared identifier is reported only once  line 218

Is this because of a wrong kernel configuration (but I used the default settings as described in the tutorial) or is it a bug?

Thanks

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi User,

    This error occurs because the Compact Flash component is not present in your SOPC Builder design. The .sof/.ptf supplied with the distribution (c:\altera\kits\nios2\examples\verilog\<board name>\linux\linux_time_limited.sof and linux_<board_name>.ptf) contain this component; reference designs like "full_featured" do not.

    You can disable the IDE options in the kernel to get past this point...

    mike