Build fails in a Linux Mint 32 bits

Joel Sherrill joel at rtems.org
Tue Apr 2 20:49:40 UTC 2019


On Tue, Apr 2, 2019 at 3:44 PM Michel Macena <mmacena.eng at gmail.com> wrote:

> HI,
> I'm trying to build a new rtems working envinronment in a new computer
> with linux mint 32 bits.
> I'm following the quick-start section of the user guide.
> In the following line:
>
> ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/5
>> 5/rtems-sparc
>>
>
> The terminal returned BUILD FAILED, and in the report the error begins in
> sparc-rtems5-gdb. Here is a fragment of the report file:
>
>> ...
>>
> /home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build/readline/../../gdb-8.2.1/readline/display.c:1985:
>> undefined reference to `tputs'
>> /home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build/readline/../../gdb-8.2.1/readline/display.c:2014:
>> undefined reference to `tputs'
>> /home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build/readline/../../gdb-8.2.1/readline/display.c:2018:
>> undefined reference to `tputs'
>
>
> ...
>>
>> ./../readline/libreadline.a(terminal.o):/home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build/readline/../../gdb-8.2.1/readline/terminal.c:765:
>> more undefined references to `tputs' follow
>> Makefile:610: recipe for target 'sis' failed
>> collect2: error: ld returned 1 exit status
>> make[3]: *** [sis] Error 1
>> make[3]: *** Waiting for unfinished jobs....
>> make[3]: Leaving directory
>> '/home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build/sim/sis'
>> Makefile:129: recipe for target 'all' failed
>> make[2]: Leaving directory
>> '/home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build/sim'
>> make[2]: *** [all] Error 1
>> Makefile:8237: recipe for target 'all-sim' failed
>> make[1]: Leaving directory
>> '/home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build'
>> Makefile:848: recipe for target 'all' failed
>> make[1]: *** [all-sim] Error 2
>> make: *** [all] Error 2
>> shell cmd failed: /bin/sh -ex
>> /home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/do-build
>> error: building sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1
>>
>
> I'm sending attached the full report.
> I appreciate any help.
>
> My uname -a output:
>
>> Linux inpe-OptiPlex-GX620 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24
>> 06:15:38 UTC 2018 i686 i686 i686 GNU/Linux
>>
>
 Hopefully this section from the User Manual on Mint is part of the answer.

https://docs.rtems.org/branches/master/user/hosts/posix.html#linux-mint

But I see that you are missing tputs which is in ncurses/termcap. The
package name on Ubuntu is libncurses5-dev and ncurses-devel on Fedora.

Hopefully the name is similar on Mint.  Once you have installed the ncurses
development package and have the tools built, please submit a patch to
update the Mint section in the User Manual. :)

Good luck!


--joel

>
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190402/85982e6e/attachment-0002.html>


More information about the users mailing list