lkml.org 
[lkml]   [2003]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject2.4.23-pre8: link error with multiple USB Gadget drivers
    I'm getting the following link error when trying to compile multiple 
    Gadget drivers statically into the kernel:

    <-- snip -->

    ...
    ld -m elf_i386 -r -o built-in.o net2280.o g_zero.o g_ether.o
    g_ether.o(.text+0x1a60): In function `usb_gadget_get_string':
    : multiple definition of `usb_gadget_get_string'
    g_zero.o(.text+0xe50): first defined here
    make[3]: *** [built-in.o] Error 1
    make[3]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.23-pre8-full/drivers/usb/gadget'

    <-- snip -->

    IIRC this issue was fixed many months ago in 2.6, and a similar fix
    (disallowing multiple Gatget drivers) is also needed in 2.4 .

    cu
    Adrian

    --

    "Is there not promise of rain?" Ling Tan asked suddenly out
    of the darkness. There had been need of rain for many days.
    "Only a promise," Lao Er said.
    Pearl S. Buck - Dragon Seed

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:58    [W:0.021 / U:0.488 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site