Forum Discussion

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

error occured when build the kernel

When I build the uClinux kernel(1.4),two errors occured:

this is the error information:

cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0 linux-2.6.x/drivers/ide/ide.c:262: error: for each function it appears in.)

cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0 linux-2.6.x/drivers/ide/ide.c: In function `init_ide_data':

cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0 linux-2.6.x/drivers/ide/ide.c:313: error: `na_ide_ide_irq' undeclared (first use in this function)

who knows how to solve the problem, please tell me, thanks very much!!

look forward to your reply!

2 Replies

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

    try to disable IDE/ATA support in your kernel configuration, if you don't have this device.

    also try the search function of this forum
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by helmchen@Oct 10 2006, 05:51 PM

    try to disable ide/ata support in your kernel configuration, if you don't have this device.

    also try the search function of this forum

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

    --- quote end ---

    --- Quote End ---

    It works, thanks very much!:)