Results 1 to 2 of 2

Thread: Compiling Linux Kernel

  1. #1
    Join Date
    Jul 2004
    Rep Power


    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)
    Here the message:

    Error****error: `na_ide_ide' undeclared (first use in this function)[/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/ide/ide.c] *line 218
    Error****error: (Each undeclared identifier is reported only once[/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/ide/ide.c] *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?


  2. #2
    Join Date
    Apr 2004
    Rep Power


    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...


Similar Threads

  1. Compiling Error when adding ethernet into kernel
    By Electroman74 in forum Linux Forum
    Replies: 1
    Last Post: March 7th, 2007, 04:28 PM
  2. Trouble compiling kernel
    By jomegat in forum Linux Forum
    Replies: 2
    Last Post: October 11th, 2005, 05:26 AM
  3. Kernel module compiling/loading
    By tgraessle in forum Linux Forum
    Replies: 0
    Last Post: February 18th, 2005, 12:48 PM
  4. error compiling - linux
    By spy1 in forum General Software Forum
    Replies: 4
    Last Post: November 12th, 2004, 06:03 PM
  5. Compiling Nios II Linux Distribution v1.1
    By janhendrik in forum General Discussion Forum
    Replies: 8
    Last Post: August 17th, 2004, 02:00 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts