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

kernel build fails

Altera_Forum
Honored Contributor II
981 Views

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
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
297 Views

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

 

nios2-elf-gcc --version
0 Kudos
Altera_Forum
Honored Contributor II
297 Views

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

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.

0 Kudos
Reply