Forum Discussion
Altera_Forum
Honored Contributor
21 years agousb build error! help me :)
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif today i setup uclinux1.2 again,and modified kconfig files. but when i build the kernel ,here were so much errors : Error...
Altera_Forum
Honored Contributor
21 years agoyeah,i modefied the Kconfig and Makefile file in usb and usb/host.
and deleted hc_sl811.c hc_simple.c ... in host folder. when i build the kernel,here was some error about sl811-hcd.c. such as: Kind Status Priority Description Resource In Folder Location Error error: `__force' 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/sl811-hcd.c] kernel_0504 line 1154 Error error: `__le32' 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/sl811-hcd.c] kernel_0504 line 1322 Error error: `ep' 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/sl811-hcd.c] kernel_0504 line 448 Error error: `regs' 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/sl811-hcd.c] kernel_0504 line 456 Error error: `req' 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/sl811-hcd.c] kernel_0504 line 441 Error error: `sl811' 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/sl811-hcd.c] kernel_0504 line 455 Error error: `status' 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/sl811-hcd.c] kernel_0504 line 452 Error error: `usb_hcd_release' 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/sl811-hcd.c] kernel_0504 line 1751 Error 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/sl811-hcd.c] kernel_0504 line 441 ... did you modify sl811-hcd.c before build it???