RSB help

Michael Westfall mwestfal at gemini.edu
Fri Apr 10 16:06:38 UTC 2020


This time I'm trying to build ncurses-6.2 using the RSB with files
.cfg/.bset files I made myself.  Basically, I just copied and modified the
files for building libcurl.

Here is what happens when I run the command:
../source-builder/sb-set-builder
--prefix=/gem_sw/targetOS/RTEMS/rtems-5.0.0 --host=arm-rtems5
--with-rtems-bsp=beagleboneblack addons/ncurses

The build fails:
rtems-bsp=beagleboneblack addons/ncurses
RTEMS Source Builder - Set Builder, 5.0.0-m2004
Build Set: addons/ncurses
config: addons/ncurses-6.2-1.cfg
package: ncurses-v6.2-arm-rtems5-1
building: ncurses-v6.2-arm-rtems5-1
error: building ncurses-v6.2-arm-rtems5-1
Build FAILED
  See error report: rsb-report-ncurses-v6.2-arm-rtems5-1.txt
error: building ncurses-v6.2-arm-rtems5-1
Build Set: Time 0:00:42.979506
Build FAILED


Checking the error report file, I see:
arm-rtems5-gcc -qrtems -B/gem_sw/targetOS/RTEMS/rtems-5.0.0/arm-rtems5/lib/
-B/gem_sw/targetOS/RTEMS/rtems-5.0.0/arm-rtems5/beagleboneblack/lib/
--specs bsp_specs -mcpu=cortex-a8 -O2 -g -ffunction-sections
-fdata-sections  --param max-inline-insns-single=1200  -o blue
../objects/blue.o
-L/gem_sw/targetOS/RTEMS/rtems-5.0.0/arm-rtems5/beagleboneblack/lib
-mcpu=cortex-a8
 -L/gem_sw/targetOS/RTEMS/source/rtems5/rtems-source-builder-5.0.0-m2004/rtems/build/tmp/sb-1000/addons/ncurses/gem_sw/targetOS/RTEMS/rtems-5.0.0/lib
-I. -I../../ncurses-6.2/test -I../test -DHAVE_CONFIG_H
-DDATA_DIR=\"/gem_sw/targetOS/RTEMS/rtems-5.0.0/arm-rtems5/beagleboneblack/share\"
-I. -I../../ncurses-6.2/test -I../include
-I../../ncurses-6.2/test/../include
-I/gem_sw/targetOS/RTEMS/rtems-5.0.0/arm-rtems5/beagleboneblack/lib/include
-D_XOPEN_SOURCE=600 -DNDEBUG -qrtems
-B/gem_sw/targetOS/RTEMS/rtems-5.0.0/arm-rtems5/lib/
-B/gem_sw/targetOS/RTEMS/rtems-5.0.0/arm-rtems5/beagleboneblack/lib/
--specs bsp_specs -mcpu=cortex-a8 -O2 -g -ffunction-sections
-fdata-sections  --param max-inline-insns-single=1200  `echo "-L../lib
-lform -lmenu -lpanel -lncurses   -lbsd -lm -lz -lrtemsdefaultconfig" | sed
-e 's/-lform.*-lpanel[^ ]*//'`
arm-rtems5-gcc: fatal error:
/gem_sw/targetOS/RTEMS/rtems-5.0.0/arm-rtems5/beagleboneblack/lib/bsp_specs:
attempt to rename spec 'endfile' to already defined spec 'old_endfile'
compilation terminated.
Makefile:270: recipe for target 'background' failed
make[1]: *** [background] Error 1

The problem, I'm guessing is that  --specs bsp_specs is included twice in
the compiler command line. What am I missing to stop this from happening?
I don't see anything the RSB documentation to help me with this.

I've attached my .cfg and .bset files.

Thanks for any help,

-- 
Mike Westfall
Control Systems Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20200410/27b67075/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncurses-1.cfg
Type: application/octet-stream
Size: 1452 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20200410/27b67075/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncurses.bset
Type: application/octet-stream
Size: 187 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20200410/27b67075/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncurses-6.2-1.cfg
Type: application/octet-stream
Size: 410 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20200410/27b67075/attachment-0002.obj>


More information about the users mailing list