[Bug 1951] New: libchip/serial.h: Console_Port_Tbl conflicts

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sun Nov 6 17:01:55 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1951

           Summary: libchip/serial.h: Console_Port_Tbl conflicts
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: bsps
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: ralf.corsepius at rtems.org


Building the lm3s6965 BSP exposes this error:
...
# arm-rtemseabi4.11-gcc --pipe -B../../../../../.././lib/
-B../../../../../.././lm3s6965/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H  
-I../../../../../../../../c/src/lib/libbsp
../../../../../../../../c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c:26:13:
error: conflicting types for 'Console_Port_Tbl'
In file included from
../../../../../../../../c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c:19:0:
../../../../../.././lm3s6965/lib/include/libchip/serial.h:201:24: note:
previous declaration of 'Console_Port_Tbl' was here
../../../../../../../../c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c:65:14:
error: conflicting types for 'Console_Port_Data'
In file included from
../../../../../../../../c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c:19:0:
../../../../../.././lm3s6965/lib/include/libchip/serial.h:220:23: note:
previous declaration of 'Console_Port_Data' was here
gmake[4]: *** [libbsp_a-console-config.o] Error 1
...

AFAIS, there are several ways to interpret this breakdown:
- BSP specific bug.
- API collision/violation
- A side-effect of the dyn. console effort.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list