[RTEMS Project] #3942: multiple definition of `pci_indirect_functions'

RTEMS trac trac at rtems.org
Wed Apr 8 10:14:16 UTC 2020


#3942: multiple definition of `pci_indirect_functions'
------------------------------+---------------------------
  Reporter:  Sebastian Huber  |      Owner:  Joel Sherrill
      Type:  defect           |     Status:  assigned
  Priority:  normal           |  Milestone:  5.1
 Component:  arch/mips        |    Version:  5
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+---------------------------
 /build/rtems/6/lib/gcc/mips-rtems6/10.0.1/../../../../mips-rtems6/bin/ld:
 ./librtemsbsp.a(i8259.c.19.o):/ramdisk/git-
 rtems-5/build/mips/malta/../../../bsps/mips/malta/include/bsp/pci.h:113:
 multiple definition of `pci_indirect_functions';
 ./librtemsbsp.a(vectorisrs.c.19.o):/ramdisk/git-
 rtems-5/build/mips/malta/../../../bsps/mips/malta/include/bsp/pci.h:113:
 first defined here
 /build/rtems/6/lib/gcc/mips-rtems6/10.0.1/../../../../mips-rtems6/bin/ld:
 Building with GCC 10 showed a multiple definition error:
 {{{
 ./librtemsbsp.a(simple_access.c.19.o):/ramdisk/git-
 rtems-5/build/mips/malta/../../../bsps/mips/malta/include/bsp/pci.h:113:
 multiple definition of `pci_indirect_functions';
 ./librtemsbsp.a(vectorisrs.c.19.o):/ramdisk/git-
 rtems-5/build/mips/malta/../../../bsps/mips/malta/include/bsp/pci.h:113:
 first defined here
 /build/rtems/6/lib/gcc/mips-rtems6/10.0.1/../../../../mips-rtems6/bin/ld:
 ./librtemsbsp.a(pci.c.19.o):/ramdisk/git-
 rtems-5/build/mips/malta/../../../bsps/mips/malta/include/bsp/pci.h:113:
 multiple definition of `pci_indirect_functions';
 ./librtemsbsp.a(vectorisrs.c.19.o):/ramdisk/git-
 rtems-5/build/mips/malta/../../../bsps/mips/malta/include/bsp/pci.h:113:
 first defined here
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3942>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list