Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

uclinux1.3 build error,help me :)

Altera_Forum
Honored Contributor II
1,023 Views

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!!!
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
342 Views

setup niosii 1.1 evaluation, it&#39;s OK http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif

0 Kudos
Altera_Forum
Honored Contributor II
342 Views

Wich kind of configuration you had to do ??? 

I&#39;m getting the same problem here.
0 Kudos
Altera_Forum
Honored Contributor II
342 Views

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 ???
0 Kudos
Altera_Forum
Honored Contributor II
342 Views

Try ,0 after those lines.

0 Kudos
Altera_Forum
Honored Contributor II
342 Views

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.

0 Kudos
Reply