[Bug 2113] New: sparc/leon2 - incorrect include for <ringbuf.h>

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sun Apr 7 15:02:35 UTC 2013


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

             Bug #: 2113
           Summary: sparc/leon2 - incorrect include for <ringbuf.h>
    Classification: Unclassified
           Product: RTEMS
           Version: unknown
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: bsps
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: joel.sherrill at oarcorp.com


Reported http://www.rtems.org/pipermail/rtems-users/2013-April/011253.html

Likely to impact older versions so filing a tracking PR. The code needs to
change from <ringbuf.h> to <rtems/ringbuf.h>.

I believe there may be a problem with the bsp code for leon2 bsp.  When
configured with 'CONSOLE_USE_INTERRUPTS=1' the resulting make will result in
a file not found error for 'ringbuf.h' for the compile of the file
'c/src/lib/libbsp/sparc/leon2/console/console.c'.  


b-leon2 Config:
../rtems-4.11/configure --target=sparc-rtems \
--enable-rtemsbsp=leon2 \
--prefix=<rtems-install> --enable-posix \
CONSOLE_USE_INTERRUPTS=1 

To work around the issue I revised 'console.c ' line 73 from 

#include <ringbuf.h>

To

#include <rtems/ringbuf.h>

-- 
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