Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
692 Views

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
0 Kudos
3 Replies
Highlighted
Valued Contributor III
8 Views

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

 

nios2-elf-gcc --version
0 Kudos
Highlighted
Valued Contributor III
8 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
Valued Contributor III
8 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