- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a problem with the build of the Linux Kernel. ... /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c: In function `timer_interrupt': /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c:72: error: `na_timer0' undeclared (first use in this function) /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c:72: error: (Each undeclared identifier is reported only once /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c:72: error: for each function it appears in.) /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c: In function `time_init': /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c:113: error: `na_timer0_irq' undeclared (first use in this function) /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c:115: error: `na_timer0' undeclared (first use in this function) /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c:120: error: `np_timercontrol_start_mask' undeclared (first use in this function) /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c:121: error: `np_timercontrol_cont_mask' undeclared (first use in this function) /cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/time.c:121: error: `np_timercontrol_ito_mask' undeclared (first use in this function) make[2]: *** [arch/nios2nommu/kernel/time.o] Error 1 make[1]: *** [arch/nios2nommu/kernel] Error 2 make: *** [_all] Error 2 make: Leaving directory `/cygdrive/c/altera/kits/nios2_5/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x' that is the error report. I think I have a error in the Konfiguration.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like you don't have a timer. Or you named it wrong. Do you use a example nios project or you own?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm... the kernel scripts may be acting up... can you post the first 50 or so lines of the kernel build messages? And if you can e-mail me the system.ptf file that you built the kernel against, we can straighten this out pretty quickly I think.
ken.wong@microtronix.com- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
I forgot the Timer in the Hardware file.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page