2.4.23-pre7: build error with both megaraid drivers enabled

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 10/11/03

  • Next message: Marcelo Tosatti: "Re: 2.4.23-pre7 build problems"
    Date:	Sat, 11 Oct 2003 16:44:01 +0200
    To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>, Atul Mukker <Atul.Mukker@lsil.com>, linux-megaraid-devel@dell.com
    
    

    I get the following build error when trying to compile both megaraid
    drivers statically into the kernel:

    <-- snip -->

    ...
    rm -f scsidrv.o
    ld -m elf_i386 -r -o scsidrv.o scsi_mod.o sim710.o advansys.o pci2000.o
    pci2220i.o psi240i.o BusLogic.o dpt_i2o.o u14-34f.o ultrastor.o
    aha152x.o aha1542.o aha1740.o aacraid/aacraid.o aic7xxx/aic7xxx.o
    aic7xxx/aic79xx.o ips.o fd_mcs.o fdomain.o in2000.o g_NCR5380.o
    NCR53c406a.o NCR_D700.o 53c700.o sym53c416.o qlogicfas.o qlogicisp.o
    qlogicfc.o qla1280.o pas16.o seagate.o t128.o dmx3191d.o dtc.o
    53c7,8xx.o sym53c8xx_2/sym53c8xx_2.o eata_dma.o eata_pio.o wd7000.o
    NCR53C9x.o mca_53c9x.o ibmmca.o eata.o tmscsim.o AM53C974.o megaraid.o
    megaraid2.o atp870u.o gdth.o initio.o a100u2w.o ide-scsi.o 3w-xxxx.o
    ppa.o imm.o scsi_debug.o cpqfc.o nsp32.o st.o osst.o sd_mod.o sr_mod.o
    sg.o
    megaraid2.o(.text+0x2ce0): In function `megaraid_info':
    : multiple definition of `megaraid_info'
    megaraid.o(.text+0x2e80): first defined here
    ld: Warning: size of symbol `megaraid_info' changed from 68 in
    megaraid.o to 61 in megaraid2.o

    <-- snip -->

    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/
    

  • Next message: Marcelo Tosatti: "Re: 2.4.23-pre7 build problems"

    Relevant Pages

    • Re: ANNOUNCE: CE Linux Forum - Specification V1.0 draft
      ... Kernel SHALL be configuralble with compiler size options, ... "specification" didn't send a patch - the trivial patch was sent by ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Bloat report 2.6.3 -> 2.6.4
      ... For the average computer you can buy at your supermarket today it isn't ... People who need to care about the size of the kernel use hand-tuned ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Poor I/O Performance with MegaRaid SATA 150-4; bug or feature?
      ... one of which occupied by a LSI MegaRaid SATA 150-4. ... and I'm running kernel 2.6.11.6. ... I could test megaraid and megaraid2, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Weirdness with suspending jobs in 2.6.9-rc3
      ... >> It doesn't depend on which version I'm compiling, ... >> kernel I'm actually running. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Ocfs2-devel] Re: [RFC] [PATCH] OCFS2
      ... > It's a generic mechanism for userspace driven configuration of kernel ... > subsystems/projects could use it too, ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)