Forum Discussion
Altera_Forum
Honored Contributor
20 years agoand when i build the kernel, here were some error:
error: `GPDR' undeclared (first use in this function)[/cygdrive/d/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux2.6.x/drivers/usb/host/hc_sl811.c] kernel_0416 line 1229 error: `GPIO_RISING_EDGE' undeclared (first use in this function)[/cygdrive/d/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/usb/host/hc_sl811.c] kernel_0416 line 1230 error: (Each undeclared identifier is reported only once[/cygdrive/d/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/usb/host/hc_sl811.c] kernel_0416 line 1229 i find "GPIO_RISING_EDGE"and "GPDR" in sl811hs.c , but the program never defined them. why???