Forum Discussion

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

kernel build fails

Hi,

I have uClinux1.3 on a Nios2 IDE 1.1 and Quartus 4.2, and I try to run a kernel compilation, I did not modify the kernel config.

I get an error :

Error: expected comma after "nobreak"[/cygdrive/c/altera/kits/nios2.1.1/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/arch/nios2nommu/kernel/entry.S] (line 43)

Is it due to a bug in the new distribution ?

Thanks

cetic

3 Replies

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

    Can you get me the version of your nios2-elf-gcc application?

    nios2-elf-gcc --version
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    the version returned is :

    nios2-elf-gcc (GCC) 3.4.1 (Altera Nios II 1.1 b137)

    Nb : I fixed the problem by replacing "nobreak" by "nobreak,0", and the corresponding "break" by "break,0", it seems to be ok.....

    Regards,

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

    I'm a little concerned because that error didn't come up at all during our testing... it's good to know though. Thank you cetic.