Hello, I am trying to build a xenomai 2.5.6 patched kernel 2.6.37 for real time application development. While building I found a number of section mismatches I was able to solve but I am stuck at this warning at usb gadget. WARNING: drivers/usb/gadget/g_cdc.o(.text+0x449f): Section mismatch in reference from the function ecm_bind() to the function .devinit.text:usb_ep_autoconfig() The function ecm_bind() references the function __devinit usb_ep_autoconfig(). This is often because ecm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_cdc.o(.text+0x44b8): Section mismatch in reference from the function ecm_bind() to the function .devinit.text:usb_ep_autoconfig() The function ecm_bind() references the function __devinit usb_ep_autoconfig(). This is often because ecm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_cdc.o(.text+0x44d1): Section mismatch in reference from the function ecm_bind() to the function .devinit.text:usb_ep_autoconfig() The function ecm_bind() references the function __devinit usb_ep_autoconfig(). This is often because ecm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_cdc.o(.text+0x4b67): Section mismatch in reference from the function acm_bind() to the function .devinit.text:usb_ep_autoconfig() The function acm_bind() references the function __devinit usb_ep_autoconfig(). This is often because acm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_cdc.o(.text+0x4b80): Section mismatch in reference from the function acm_bind() to the function .devinit.text:usb_ep_autoconfig() The function acm_bind() references the function __devinit usb_ep_autoconfig(). This is often because acm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_cdc.o(.text+0x4b99): Section mismatch in reference from the function acm_bind() to the function .devinit.text:usb_ep_autoconfig() The function acm_bind() references the function __devinit usb_ep_autoconfig(). This is often because acm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_ether.o(.text+0x4699): Section mismatch in reference from the function rndis_bind() to the function .devinit.text:usb_ep_autoconfig() The function rndis_bind() references the function __devinit usb_ep_autoconfig(). This is often because rndis_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_ether.o(.text+0x46b2): Section mismatch in reference from the function rndis_bind() to the function .devinit.text:usb_ep_autoconfig() The function rndis_bind() references the function __devinit usb_ep_autoconfig(). This is often because rndis_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_ether.o(.text+0x46cb): Section mismatch in reference from the function rndis_bind() to the function .devinit.text:usb_ep_autoconfig() The function rndis_bind() references the function __devinit usb_ep_autoconfig(). This is often because rndis_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_ether.o(.text+0x4a4f): Section mismatch in reference from the function ecm_bind() to the function .devinit.text:usb_ep_autoconfig() The function ecm_bind() references the function __devinit usb_ep_autoconfig(). This is often because ecm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_ether.o(.text+0x4a68): Section mismatch in reference from the function ecm_bind() to the function .devinit.text:usb_ep_autoconfig() The function ecm_bind() references the function __devinit usb_ep_autoconfig(). This is often because ecm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_ether.o(.text+0x4a81): Section mismatch in reference from the function ecm_bind() to the function .devinit.text:usb_ep_autoconfig() The function ecm_bind() references the function __devinit usb_ep_autoconfig(). This is often because ecm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_serial.o(.text+0x33b7): Section mismatch in reference from the function acm_bind() to the function .devinit.text:usb_ep_autoconfig() The function acm_bind() references the function __devinit usb_ep_autoconfig(). This is often because acm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_serial.o(.text+0x33d0): Section mismatch in reference from the function acm_bind() to the function .devinit.text:usb_ep_autoconfig() The function acm_bind() references the function __devinit usb_ep_autoconfig(). This is often because acm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. WARNING: drivers/usb/gadget/g_serial.o(.text+0x33e9): Section mismatch in reference from the function acm_bind() to the function .devinit.text:usb_ep_autoconfig() The function acm_bind() references the function __devinit usb_ep_autoconfig(). This is often because acm_bind lacks a __devinit annotation or the annotation of usb_ep_autoconfig is wrong. Can anyone help me with this? regards, Tadele-- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html