Hi,
as I was compiling a new linux kernel for my efika, I got this error:
Code:
CC [M] drivers/usb/host/ohci-hcd.o
In file included from drivers/usb/host/ohci-hcd.c:935:
drivers/usb/host/ohci-ppc-soc.c:225: error: redefinition of â__inittestâ
drivers/usb/host/ohci-pci.c:252: error: previous definition of â__inittestâ was here
drivers/usb/host/ohci-ppc-soc.c:225: error: redefinition of âinit_moduleâ
drivers/usb/host/ohci-pci.c:252: error: previous definition of âinit_moduleâ was here
drivers/usb/host/ohci-ppc-soc.c:226: error: redefinition of â__exittestâ
drivers/usb/host/ohci-pci.c:260: error: previous definition of â__exittestâ was here
drivers/usb/host/ohci-ppc-soc.c:226: error: redefinition of âcleanup_moduleâ
drivers/usb/host/ohci-pci.c:260: error: previous definition of âcleanup_moduleâ was here
make[3]: *** [drivers/usb/host/ohci-hcd.o] Error 1
make[2]: *** [drivers/usb/host] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2
As I figured out this error occures when you compile USB support as a module and have on of these three defines set (USB_OHCI_HCD_PPC_SOC, USB_OHCI_HCD_PPC_OF, USB_OHCI_HCD_PCI).
To avoid this you have to compile usb-supprort and USB_OHCI_HCD direkt into the kernel.
So it seems to me that at the moment it is not possible to compile usb-support as a module for the efika.
If somebody manages to compile usb-support as a module, pleas tell me how it is down.
Thanks
Bernd