Altera_Forum
Honored Contributor
21 years agoPart 2: More Kernel Compile Problems
I don't think this problem has anything to do with the ptrace.h warning.
I now believe that this problem may be caused by something in the "niosasm.h" file Any ideas????????????????????????? Nick ------------------------------------------------------------------------------- ORIGINAL POST ------------------------------------------------------------------------------- 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't yet know if the warning is connected to the error. Any ideas?? Nick