Altera_Forum
Honored Contributor
15 years agoProblems with compiling FreeRTOS
Hi!
I'm new to NIOSII and embeded processors. I have some problems with compiling FreeRTOS. In port.c file compiler shows following warnings:
assignment from incompatible pointer type port.c test2/Source/portable/GCC/NiosII 220
implicit declaration of function `alt_irq_disable' port.c test2/Source/portable/GCC/NiosII 223
implicit declaration of function `alt_irq_enable' port.c test2/Source/portable/GCC/NiosII 223
implicit declaration of function `alt_irq_register' port.c test2/Source/portable/GCC/NiosII 165
linker shows following errors:
undefined reference to `alt_irq_disable' port.c test2/Source/portable/GCC/NiosII 223
undefined reference to `alt_irq_enable' port.c test2/Source/portable/GCC/NiosII 223 C/C++ Problem
undefined reference to `restore_sp_from_pxCurrentTCB' port.c test2/Source/portable/GCC/NiosII 143 C/C++ Problem
Any advice?