build issue with leon2 bsp code

Joel Sherrill joel.sherrill at OARcorp.com
Sun Apr 7 15:03:50 UTC 2013


Since this likely impacts versions other than the head, I filed
a PR and will follow up by fixing it on all impacted branches.

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

--joel

On 04/07/2013 08:36 AM, Ralf Corsepius wrote:
> On 04/07/2013 06:03 AM, Milo H. Fields wrote:
>> Greetings,
>>
>> 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>
>>
>> However I assume a change in ‘Makefile.am’ tree is preferred..
> Nah - This clearly is a coding bug.
>
> Changing the #include <ringbuf.h> to #include <rtems/ringbuf.h> would be
> the appropriate fix.
>
> Ralf
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users


-- 
Joel Sherrill, Ph.D.             Director of Research& Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35806
Support Available               (256) 722-9985

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130407/3752d8ff/attachment-0001.html>


More information about the users mailing list