Trouble when linking aic7xxx.c

From: Fabrizio Gennari (fabrizio.ge@tiscalinet.it)
Date: Sat Dec 23 2000 - 19:43:36 EST

  • Next message: Andrew Morton: "Re: Q: natsemi.c spinlocks"

    I am having trouble when biulding the 2.2.18 Linux kernel (on a Redhat
    7.0, gcc-2.96). At link-time, the linker complains that in the file
    aic7xxx.o, in the function aic7xxx_load_seeprom, there is an "undefined
    reference to 'memcpy'". In fact, doing 'nm aic7xxx.o' gives a 'U
    memcpy', but, strangely enough, there is no explicit reference to memcpy
    in the function! Commenting out the whole function will make the 'U
    memcpy' symbol disappear from aic7xxx.o (but obviously would give a
    broken kernel)

    What could be the cause? I can send the configuration file made by 'make
    menuconfig', if needed.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 20:13:42 EST