From: A V <villanuevaandre@outlook.com>
To: "insight@sourceware.org" <insight@sourceware.org>
Subject: RV: error when executing "make"
Date: Sun, 17 Dec 2023 19:16:43 +0000 [thread overview]
Message-ID: <PAXP251MB0622A7CFC61243E31E3D3D65B791A@PAXP251MB0622.EURP251.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <PAXP251MB0622EC1294B37CE3927A893DB791A@PAXP251MB0622.EURP251.PROD.OUTLOOK.COM>
[-- Attachment #1: Type: text/plain, Size: 8361 bytes --]
Hello,
I am reading Duntemann's book and it mentions Insight debugger.
I am trying to install it in my Kali linux distribution using:
./configure
make
"./configure" looked to went ok, but with "make" I get errors (see attached [no attached finally, because your server was rejecting my email. So I embbeded them. Sorry about that]).
BTW: I was thinking, previous being solved, not to do "make install", because I wonder if the package has programs that would overwrite my actual binaries (/bin) other than just installing Insight (as the README says: "the package comes with many compilers, debuggers, linkers...".
And second to this: is it possible then to use it without "make install"?
Any help? Thank you
André
/insight-6.8-1$ make
make[1]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1'
make[2]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/libiberty'
make[3]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/libiberty/testsuite'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/libiberty/testsuite'
make[2]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/libiberty'
make[2]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/intl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/intl'
make[2]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd'
Making info in doc
make[3]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd/doc'
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd/doc'
Making info in po
make[3]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd/po'
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd/po'
make[3]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd'
make[3]: Nothing to be done for 'info-am'.
make[3]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd'
make all-recursive
make[3]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd'
Making all in doc
make[4]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd/doc'
Making all in po
make[4]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd/po'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd/po'
make[4]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -DTRAD_CORE -I. -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o coffgen.lo coffgen.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -DTRAD_CORE -I. -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c coffgen.c -o coffgen.o
coffgen.c: In function 'coff_print_symbol':
coffgen.c:1945:22: error: this statement may fall through [-Werror=implicit-fallthrough=]
1945 | if (combined->u.syment.n_type == T_NULL)
| ^
coffgen.c:1962:17: note: here
1962 | case C_EXT:
| ^~~~
coffgen.c:1963:22: error: this statement may fall through [-Werror=implicit-fallthrough=]
1963 | if (ISFCN (combined->u.syment.n_type))
| ^
coffgen.c:1980:17: note: here
1980 | default:
| ^~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1071: coffgen.lo] Error 1
make[4]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd'
make[3]: *** [Makefile:1090: all-recursive] Error 1
make[3]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd'
make[2]: *** [Makefile:985: all] Error 2
make[2]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/bfd'
make[1]: *** [Makefile:3063: all-bfd] Error 2
make[1]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1'
make: *** [Makefile:704: all] Error 2
/insight-6.8-1$ ./configure | tee configure-tee.log
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
*** removing intl/Makefile to force reconfigure
*** removing libiberty/Makefile to force reconfigure
*** removing bfd/Makefile to force reconfigure
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... no
checking for expect... expect
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for objdump... objdump
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... host tool
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... host tool
checking where to find the target gcc... host tool
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
next parent reply other threads:[~2023-12-17 19:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <PAXP251MB0622944568D17DF40220BC46B791A@PAXP251MB0622.EURP251.PROD.OUTLOOK.COM>
[not found] ` <PAXP251MB0622EC1294B37CE3927A893DB791A@PAXP251MB0622.EURP251.PROD.OUTLOOK.COM>
2023-12-17 19:16 ` A V [this message]
2023-12-18 17:39 ` A V
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PAXP251MB0622A7CFC61243E31E3D3D65B791A@PAXP251MB0622.EURP251.PROD.OUTLOOK.COM \
--to=villanuevaandre@outlook.com \
--cc=insight@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).