<div dir="ltr"><div>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.<br><br></div>Here is what happens when I run the command:<br><span style="font-family:monospace"><font size="1">../source-builder/sb-set-builder --prefix=/gem_sw/targetOS/RTEMS/rtems-5.0.0 --host=arm-rtems5 --with-rtems-bsp=beagleboneblack addons/ncurses</font></span><div><br></div><div>The build fails: <br><span style="font-family:monospace">rtems-bsp=beagleboneblack addons/ncurses<br>RTEMS Source Builder - Set Builder, 5.0.0-m2004<br>Build Set: addons/ncurses<br>config: addons/ncurses-6.2-1.cfg<br>package: ncurses-v6.2-arm-rtems5-1<br>building: ncurses-v6.2-arm-rtems5-1<br>error: building ncurses-v6.2-arm-rtems5-1<br>Build FAILED<br>  See error report: rsb-report-ncurses-v6.2-arm-rtems5-1.txt<br>error: building ncurses-v6.2-arm-rtems5-1<br>Build Set: Time 0:00:42.979506<br>Build FAILED<br></span></div><div><div><br></div><div><br></div><div>Checking the error report file, I see:<br><font size="1"><span style="font-family:monospace">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[^ ]*//'`<br>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'<br>compilation terminated.</span></font><br><font size="1"><span style="font-family:monospace">Makefile:270: recipe for target 'background' failed<br>make[1]: *** [background] Error 1</span></font></div><div><span style="font-family:arial,sans-serif"><font size="1"><br></font></span></div><div><font size="1"><span style="font-family:monospace"><font size="2"><span style="font-family:arial,sans-serif">The problem, I'm guessing is that <font size="1"><span style="font-family:monospace"> --specs bsp_specs</span></font> is included twice in the compiler command line. What am I missing to stop this from happening?<br></span></font></span></font></div><div><font size="1"><span style="font-family:monospace"><font size="2"><span style="font-family:arial,sans-serif">I don't see anything the RSB documentation to help me with this.<br> <br></span></font></span></font></div><div><font size="1"><span style="font-family:monospace"><font size="2"><span style="font-family:arial,sans-serif">I've attached my .cfg and .bset files.<br><br></span></font></span></font></div><div><font size="1"><span style="font-family:monospace"><font size="2"><span style="font-family:arial,sans-serif">Thanks for any help,<br><br></span></font></span></font></div><div><span style="font-family:arial,sans-serif"><font size="2">-- </font></span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Mike Westfall<br></div><div>Control Systems Software Engineer<br></div><br><img src="http://www.gemini.edu/images/GeminiLogo_4.5in_newSmall.png"><br></div></div></div></div></div></div></div></div></div>