Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#386 closed defect (fixed)

Problems with _BSP_vme_bridge_irq with PPC on 20030411 snapshot

Reported by: Eric Norum Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: bsps Version: unknown
Severity: major Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

Building for mcp750 BSP fails when first application is linked:

../../../../../mcp750/lib/librtemsbsp.a(irq.o):/home/phoebus/NORUME/src/RTEMS/build/ppc-rtems/c/mcp750/lib/libbsp/powerpc/motorola_powerpc/irq/../../../../../../../../../rtems-ss-20030411/c/src/lib/libbsp/powerpc/shared/irq/irq.c:126: multiple definition of `_BSP_vme_bridge_irq'
../../../../../mcp750/lib/librtemsbsp.a(vmeconfig.o):/home/phoebus/NORUME/src/RTEMS/build/ppc-rtems/c/mcp750/lib/libbsp/powerpc/motorola_powerpc/vme/../../../../../../../../../rtems-ss-20030411/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c:39: first defined here

Release:
20030411 snapshot

Environment:
Building on linux with most recent tools

Change History (1)

comment:1 Changed on 04/15/03 at 11:59:54 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Only on trunk -- not 4.6 branch. Following patch applied:

Index: vme/vmeconfig.c
===================================================================
RCS file: /usr1/CVS/rtems/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c,v
retrieving revision 1.2
diff -u -r1.2 vmeconfig.c
--- vme/vmeconfig.c 20 Feb 2003 21:43:02 -0000 1.2
+++ vme/vmeconfig.c 15 Apr 2003 12:59:24 -0000
@@ -24,8 +24,6 @@


void BSP_vme_config(void) attribute (( weak, alias("BSP_default_vme_config") ));


-int _BSP_vme_bridge_irq = -1;
-

SPR_RO(DBAT0U)


void

Note: See TracTickets for help on using tickets.