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

More kernel compile problems

Altera_Forum
Honored Contributor II
1,318 Views

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif Sill using Quartus 4.0 with Nios 3.2 and Microtronix v. 1.3 

 

When compiling the kernel in my project directory. I receive an error... 

 

"entry.S:210: Error: non-constant expression in ".if" statement." 

 

This error is repeated 34 times before the compiler quits. 

 

This error is preceeded by a warning... 

 

"In file included from entry.S:18: 

<path to asm/asm-niosnommu>/ptrace.h:74:30: 

warning: REGWIN_SZ redefined 

nios_defs.h:24:17: warning: this is the location of the previous definition" 

 

In entry.s, line 210 is the next line after the block of code... ".ifdef na_ide_interface... .endif" 

 

I once hae IDE support included in the kernel but have since removed it since my hardware design no longer has an IDE interface. 

 

I don&#39;t yet know if the warning is connected to the error. 

 

Any ideas?? 

 

Nick
0 Kudos
0 Replies
Reply