Re: Symbol not found. Error while inserting usb hcd module
hufey <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 9/8/07, Kaustubh Ashtekar <[email protected]> wrote: > I am currently working on a i.MX21 ARM9 board, which has a USB host port. > After some searching I got the host HCD driver for the processor. I compiled > the driver (and also the USB subsystem) as a modules. After Linux booted > properly on the board I then did insmod on the modules one by one according > To the dependencies as given in the modules.dep file as given below > > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/core/usbcore.ko: > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/storage/libusual.ko: > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/core/usbcore.ko > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/storage/usb-storage.ko: > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/storage/libusual.ko > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/core/usbcore.ko > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/mon/usbmon.ko: > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/core/usbcore.ko > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/misc/usbtest.ko: > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/core/usbcore.ko > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/host/imx21-hcd.ko: > /lib/modules/2.6.16QCam-vc/kernel/drivers/usb/core/usbcore.ko > > All the other modules load properly. However, when I do insmod on > 'imx21-hcd.ko' at last then it gives the following error: > > imx21_hcd: Unknown symbol platform_driver_unregister > imx21_hcd: Unknown symbol platform_driver_register > insmod: cannot insert 'imx21-hcd.ko': Unknown symbol in module (-1): No such > file or directory > > Has anybody come across this problem before? > Would you like to check that does your driver code include <linux/platform_device.h> or not? > Thanks and Regards, > Ashtekar Kaustubh > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > [email protected] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel