Build fails in a Linux Mint 32 bits
Michel Macena
mmacena.eng at gmail.com
Tue Apr 2 20:43:50 UTC 2019
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190402/961caec6/attachment-0001.html>
-------------- next part --------------
RTEMS Tools Project - Source Builder Error Report
Build: error: building sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1
Command Line: ../source-builder/sb-set-builder --prefix=/home/inpe/masters_project/rtems/5 5/rtems-sparc
Python: 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
git://git.rtems.org/rtems-source-builder.git/origin/9a3e12e5820918057633798c3fe2a1f952fb4e56
Linux inpe-OptiPlex-GX620 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:15:38 UTC 2018 i686
Tail of the build log:
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking proc_service.h usability... yes
checking proc_service.h presence... yes
checking for proc_service.h... yes
checking thread_db.h usability... yes
checking thread_db.h presence... yes
checking for thread_db.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking sys/ptrace.h usability... yes
checking sys/ptrace.h presence... yes
checking for sys/ptrace.h... yes
checking ptrace.h usability... no
checking ptrace.h presence... no
checking for ptrace.h... no
checking sys/reg.h usability... yes
checking sys/reg.h presence... yes
checking for sys/reg.h... yes
checking sys/debugreg.h usability... yes
checking sys/debugreg.h presence... yes
checking for sys/debugreg.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking elf_hp.h usability... no
checking elf_hp.h presence... no
checking for elf_hp.h... no
checking for dlfcn.h... (cached) yes
checking for sys/user.h... yes
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking cursesX.h usability... no
checking cursesX.h presence... no
checking for cursesX.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking ncursesw/ncurses.h usability... no
checking ncursesw/ncurses.h presence... no
checking for ncursesw/ncurses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses/term.h usability... no
checking ncurses/term.h presence... no
checking for ncurses/term.h... no
checking for term.h... no
checking for long long... yes
checking size of long long... 8
checking whether basename is declared... yes
checking whether ffs is declared... yes
checking whether asprintf is declared... yes
checking whether vasprintf is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether strtol is declared... yes
checking whether strtoul is declared... yes
checking whether strtoll is declared... yes
checking whether strtoull is declared... yes
checking whether strverscmp is declared... yes
checking whether free is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether snprintf is declared... (cached) yes
checking for LC_MESSAGES... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_blksize... yes
checking for socklen_t... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for getauxval... yes
checking for getrusage... yes
checking for getuid... yes
checking for getgid... yes
checking for pipe... yes
checking for poll... yes
checking for pread... yes
checking for pread64... yes
checking for pwrite... yes
checking for resize_term... no
checking for sbrk... yes
checking for getpgid... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setsid... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigsetmask... yes
checking for socketpair... yes
checking for ttrace... no
checking for wborder... no
checking for wresize... no
checking for setlocale... yes
checking for iconvlist... no
checking for libiconvlist... no
checking for btowc... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for posix_madvise... yes
checking for waitpid... yes
checking for ptrace64... no
checking for sigaltstack... yes
checking for mkdtemp... yes
checking for setns... yes
checking for nl_langinfo and CODESET... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking for nl_langinfo and CODESET... (cached) yes
checking linux/perf_event.h usability... yes
checking linux/perf_event.h presence... yes
checking for linux/perf_event.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for memory.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sys/resource.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for thread_db.h... (cached) yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking for termios.h... (cached) yes
checking for fdwalk... no
checking for getrlimit... (cached) yes
checking for pipe... (cached) yes
checking for pipe2... yes
checking for socketpair... (cached) yes
checking for sigaction... (cached) yes
checking whether strerror is declared... yes
checking whether strstr is declared... yes
checking for sigsetjmp... yes
checking for sys/ptrace.h... (cached) yes
checking for ptrace.h... (cached) no
checking whether ptrace is declared... yes
checking return type of ptrace... long
checking types of arguments for ptrace... enum __ptrace_request,int,long,long
checking whether setpgrp takes no argument... yes
checking for GNU regex... yes
checking for struct thread.td_pcb... no
checking for struct lwp... no
checking for struct reg in machine/reg.h... no
checking for struct reg.r_fs... no
checking for struct reg.r_gs... no
checking for struct user_regs_struct.fs_base... no
checking for struct user_regs_struct.gs_base... no
checking for PTRACE_GETREGS... yes
checking for PTRACE_GETFPXREGS... yes
checking for PT_GETDBREGS... no
checking for PT_GETXMMREGS... no
checking for struct ptrace_lwpinfo.pl_tdname... no
checking for struct ptrace_lwpinfo.pl_syscall_code... no
checking for gregset_t in sys/procfs.h... no
checking for fpregset_t in sys/procfs.h... no
checking for prgregset_t in sys/procfs.h... yes
checking for prfpregset_t in sys/procfs.h... yes
checking for prgregset32_t in sys/procfs.h... no
checking for lwpid_t in sys/procfs.h... yes
checking for psaddr_t in sys/procfs.h... yes
checking whether prfpregset_t type is broken... no
checking for long long support in compiler... yes
checking for long long support in printf... yes
checking for decfloat support in printf... no
checking for long double support in compiler... yes
checking for long double support in printf... yes
checking for long double support in scanf... yes
checking for the dynamic export flag... -rdynamic
checking whether <thread_db.h> has TD_NOTALLOC... yes
checking whether <thread_db.h> has TD_VERSION... yes
checking whether <thread_db.h> has TD_NOTLS... yes
checking whether ADDR_NO_RANDOMIZE is declared... yes
checking compiler warning flags... -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wformat-nonliteral
checking for cygwin... no
checking for ELF support in BFD... yes
checking for library containing dlopen... (cached) none required
checking for Mach-O support in BFD... no
checking whether to use lzma... auto
checking for liblzma... no
checking for X... no
enable_sim = yes
enableval = yes
checking whether to use babeltrace... auto
configure: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data.
checking for libbabeltrace... no
checking for xsltproc... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating jit-reader.h
config.status: creating gcore
config.status: creating Makefile
config.status: creating gdb-gdb.gdb
config.status: creating gdb-gdb.py
config.status: creating doc/Makefile
config.status: creating data-directory/Makefile
config.status: creating config.h
config.status: executing depdir commands
mkdir -p -- .deps
=== configuring in testsuite (/home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build/gdb/testsuite)
configure: running /bin/bash ../../../gdb-8.2.1/gdb/testsuite/configure --disable-option-checking '--prefix=/home/inpe/masters_project/rtems/5' '--verbose' '--disable-nls' '--disable-gas' '--disable-binutils' '--disable-ld' '--disable-gold' '--disable-gprof' '--without-included-gettext' '--disable-win32-registry' '--disable-werror' '--enable-sim' '--without-zlib' '--with-expat' '--with-guile=no' '--with-python=/usr/bin/python2' '--bindir=/home/inpe/masters_project/rtems/5/bin' '--exec-prefix=/home/inpe/masters_project/rtems/5' '--includedir=/home/inpe/masters_project/rtems/5/include' '--libdir=/home/inpe/masters_project/rtems/5/lib' '--mandir=/home/inpe/masters_project/rtems/5/share/man' '--infodir=/home/inpe/masters_project/rtems/5/share/info' '--program-transform-name=s&^&sparc-rtems5-&' '--build=i686-linux-gnu' '--host=i686-linux-gnu' '--target=sparc-rtems5' 'build_alias=i686-linux-gnu' 'host_alias=i686-linux-gnu' 'target_alias=sparc-rtems5' 'CC=gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include' 'CFLAGS=-g -O2' 'LDFLAGS=-static-libstdc++ -static-libgcc -L/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/lib' 'CXX=g++ -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include' 'CXXFLAGS=-g -O2' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=../../../gdb-8.2.1/gdb/testsuite
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) sparc-unknown-rtems5
checking for i686-linux-gnu-gcc... (cached) gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include accepts -g... (cached) yes
checking for gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... (cached) gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating lib/pdtrace
config.status: creating Makefile
make[2]: Entering directory '/home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build/sim'
make[3]: Entering directory '/home/inpe/masters_project/src/rsb/rtems/build/sparc-rtems5-gdb-8.2.1-i686-linux-gnu-1/build/sim/sis'
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o sis.o -MT sis.o -MMD -MP -MF .deps/sis.Tpo ../../../gdb-8.2.1/sim/sis/sis.c
rm -f tmp-hw.h
echo "/* generated by Makefile */" > tmp-hw.h
sim_hw=""; \
for hw in $sim_hw ; do \
echo "extern const struct hw_descriptor dv_${hw}_descriptor[];" ; \
done >> tmp-hw.h
echo "const struct hw_descriptor *hw_descriptors[] = {" >> tmp-hw.h
sim_hw=""; \
for hw in $sim_hw ; do \
echo " dv_${hw}_descriptor," ; \
done >> tmp-hw.h
echo " NULL," >> tmp-hw.h
echo "};" >> tmp-hw.h
mv tmp-hw.h hw-config.h
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include ../../../gdb-8.2.1/sim/sis/../common/gentmap.c -o gentmap -g -O -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes
/bin/bash ../../../gdb-8.2.1/sim/sis/../../gdb/common/create-version.sh ../../../gdb-8.2.1/sim/sis/../../gdb \
i686-linux-gnu sparc-rtems5 version.c
rm -f tmp-tvals.h tmp-tmap.c
./gentmap -h >tmp-tvals.h
/bin/bash ../../../gdb-8.2.1/sim/sis/../../move-if-change tmp-tvals.h targ-vals.h
./gentmap -c >tmp-tmap.c
/bin/bash ../../../gdb-8.2.1/sim/sis/../../move-if-change tmp-tmap.c targ-map.c
touch stamp-tvals
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o exec.o -MT exec.o -MMD -MP -MF .deps/exec.Tpo ../../../gdb-8.2.1/sim/sis/exec.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o erc32.o -MT erc32.o -MMD -MP -MF .deps/erc32.Tpo ../../../gdb-8.2.1/sim/sis/erc32.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o func.o -MT func.o -MMD -MP -MF .deps/func.Tpo ../../../gdb-8.2.1/sim/sis/func.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o help.o -MT help.o -MMD -MP -MF .deps/help.Tpo ../../../gdb-8.2.1/sim/sis/help.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o float.o -MT float.o -MMD -MP -MF .deps/float.Tpo ../../../gdb-8.2.1/sim/sis/float.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o grlib.o -MT grlib.o -MMD -MP -MF .deps/grlib.Tpo ../../../gdb-8.2.1/sim/sis/grlib.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o leon3.o -MT leon3.o -MMD -MP -MF .deps/leon3.Tpo ../../../gdb-8.2.1/sim/sis/leon3.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o leon2.o -MT leon2.o -MMD -MP -MF .deps/leon2.Tpo ../../../gdb-8.2.1/sim/sis/leon2.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o callback.o -MT callback.o -MMD -MP -MF .deps/callback.Tpo ../../../gdb-8.2.1/sim/sis/../common/callback.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o syscall.o -MT syscall.o -MMD -MP -MF .deps/syscall.Tpo ../../../gdb-8.2.1/sim/sis/../common/syscall.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o targ-map.o -MT targ-map.o -MMD -MP -MF .deps/targ-map.Tpo targ-map.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o version.o -MT version.o -MMD -MP -MF .deps/version.Tpo version.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o interf.o -MT interf.o -MMD -MP -MF .deps/interf.Tpo ../../../gdb-8.2.1/sim/sis/interf.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -c -o run.o -MT run.o -MMD -MP -MF .deps/run.Tpo ../../../gdb-8.2.1/sim/sis/run.c
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -o sis \
sis.o exec.o erc32.o func.o help.o float.o grlib.o leon3.o leon2.o ../../bfd/libbfd.a ../../opcodes/libopcodes.a ../../libiberty/libiberty.a -ldl -lnsl -L../../zlib -lz ../../readline/libreadline.a -lm
rm -f libsim.a
i686-linux-gnu-ar rc libsim.a callback.o syscall.o targ-map.o version.o exec.o erc32.o func.o help.o float.o grlib.o leon3.o leon2.o interf.o
i686-linux-gnu-ranlib libsim.a
gcc -O2 -pipe -I/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/include -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DFAST_UART -I../../../gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../../../gdb-8.2.1/sim/sis/../common -I../../include -I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd -I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes -I../../../gdb-8.2.1/sim/sis/../../opcodes -g -O2 -static-libstdc++ -static-libgcc -L/home/inpe/masters_project/src/rsb/rtems/build/tmp/sb-inpe/5/rtems-sparc/home/inpe/masters_project/rtems/5/lib -o run \
run.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a ../../libiberty/libiberty.a -ldl -lnsl -L../../zlib -lz ../../readline/libreadline.a -lm
../../readline/libreadline.a(display.o): In function `_rl_move_cursor_relative':
/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(display.o): In function `_rl_move_vert':
/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:2057: 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:2073: undefined reference to `tputs'
../../readline/libreadline.a(display.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/display.c:2336: more undefined references to `tputs' follow
../../readline/libreadline.a(display.o): In function `insert_some_chars':
/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:2390: undefined reference to `tgoto'
/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:2391: undefined reference to `tputs'
../../readline/libreadline.a(display.o): In function `update_line':
/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:1528: undefined reference to `tputs'
../../readline/libreadline.a(display.o): In function `delete_chars':
/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:2440: undefined reference to `tputs'
../../readline/libreadline.a(display.o): In function `insert_some_chars':
/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:2407: 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:2416: undefined reference to `tputs'
../../readline/libreadline.a(display.o): In function `delete_chars':
/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:2433: undefined reference to `tgoto'
/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:2434: undefined reference to `tputs'
../../readline/libreadline.a(display.o): In function `insert_some_chars':
/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:2400: undefined reference to `tputs'
../../readline/libreadline.a(display.o): In function `cr':
/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:2486: undefined reference to `tputs'
../../readline/libreadline.a(display.o): In function `rl_redisplay':
/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:1087: undefined reference to `tputs'
../../readline/libreadline.a(display.o): In function `_rl_clear_screen':
/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:2365: undefined reference to `tputs'
../../readline/libreadline.a(display.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/display.c:2535: more undefined references to `tputs' follow
../../readline/libreadline.a(terminal.o): In function `_rl_get_screen_size':
/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:297: undefined reference to `tgetnum'
/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:278: undefined reference to `tgetnum'
../../readline/libreadline.a(terminal.o): In function `_rl_init_terminal_io':
/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:527: undefined reference to `PC'
/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:528: undefined reference to `BC'
/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:529: undefined reference to `UP'
/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:481: undefined reference to `tgetent'
../../readline/libreadline.a(terminal.o): In function `get_term_capabilities':
/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:427: undefined reference to `tgetstr'
../../readline/libreadline.a(terminal.o): In function `_rl_init_terminal_io':
/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:538: undefined reference to `PC'
/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:539: undefined reference to `BC'
/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:540: undefined reference to `UP'
/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:545: undefined reference to `tgetflag'
/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:560: undefined reference to `tgetflag'
/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:545: undefined reference to `tgetflag'
../../readline/libreadline.a(terminal.o): In function `_rl_backspace':
/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:665: undefined reference to `tputs'
../../readline/libreadline.a(terminal.o): In function `rl_ding':
/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:703: undefined reference to `tputs'
../../readline/libreadline.a(terminal.o): In function `_rl_enable_meta_key':
/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:729: undefined reference to `tputs'
../../readline/libreadline.a(terminal.o): In function `_rl_control_keypad':
/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:741: undefined reference to `tputs'
../../readline/libreadline.a(terminal.o): In function `_rl_set_cursor':
/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:767: 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
More information about the users
mailing list