Forum Discussion
Altera_Forum
Honored Contributor
21 years agoKernel Compile Errors: Nios2 v1.1
Using Nios2 v1.1, Microtronix uClinux v.2.6.
I receive these errors when compiling the kernel. they have something to do with timer0 in my system but I don't know what. Do I need to be aware of any naming conventions for the items in my system? (i.e. timer_0 vs timer0?) Is it possible for me to get any information about these errors in this forum? Kind Status Priority Description Resource In Folder Location Error error: invalid type argument of `->'[/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/arch/nios2nommu/kernel/time.c] sm3k_kernel line 71 Error error: invalid type argument of `->'[/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/arch/nios2nommu/kernel/time.c] sm3k_kernel line 111 Error error: invalid type argument of `->'[/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/arch/nios2nommu/kernel/time.c] sm3k_kernel line 112 Error error: invalid type argument of `->'[/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/arch/nios2nommu/kernel/time.c] sm3k_kernel line 1153 Replies
- Altera_Forum
Honored Contributor
Can you pass me your nios2_system.h file and the associated PTF file so I can take a look at it? I'll send you my e-mail through a PM file and post the results back here in this thread so that everyone can benefit.
- Altera_Forum
Honored Contributor
Ken:
Thanks for helping out. Check your Email for the files you requested. Nick - Altera_Forum
Honored Contributor
Just so everyone is in the know, there is code that re-maps various C symbols that represent hardware devices to the names expected by the kernel.
There is a bug in release v1.3 that requires the first programmable timer in your system to not be called timer0. We are currently in dicussions at Microtronix about how to best release patches for the distribution to correct these issues for everyone. Please feel free to PM me for more information.