Forum Discussion

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

uclinux1.3 build error,help me :)

Error: expected comma after "break"[/cygdrive/d/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/arch/nios2nommu/kernel/entry.S] kernel_0518 line 897

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

in entry.s , there wasn't any comma after break and nobreak.

i setuped uclinux1.3 again, the error still in . why ? thanks!!!

5 Replies

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

    Wich kind of configuration you had to do ???

    I'm getting the same problem here.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Anyone know what to do to make it work properly ??

    I had to put a comment in front of the line:

    // .set nobreak

    // .set break

    then it builted all the way to the end, but if it is in there, is because it do something, right ?? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif

    And I don&#39;t want to miss it, so, any ideas ? What did gwbing ???
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The problem is your nios2-elf gnu tool chain does not support those assembler directives. You can download the latest toolchain from Altera or comment those lines out of entry.S. It does not hurt to comment those lines out for the older tool chain.