Altera_Forum
Honored Contributor
20 years agohow to resolve such errors??
hello!!
I recently installed Quartus II 4.2, NIOS2 devkit 1.1, and Linux 1.3 successfully. But i use a custom dev board. According to the file"Linux Quick Start Guide", I create a kernel project and build it, but got following errors: error: `na_button_pio' undeclared here (not in a function)[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/char/altera_pio_button.c] error: (near initialization for `button_work.timer.lock')[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/char/altera_pio_button.c] kernel_1c40 line 86 note:f/niosIIIDEforinstall is a installation directory where i install NIOS2 devkit 1.1 Why i have such errors? How to sovle? Any help much appreciated!!