Forum Discussion

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

More kernel compile problems

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
No RepliesBe the first to reply