public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* RV: error when executing "make"
       [not found] ` <PAXP251MB0622EC1294B37CE3927A893DB791A@PAXP251MB0622.EURP251.PROD.OUTLOOK.COM>
@ 2023-12-17 19:16   ` A V
  2023-12-18 17:39     ` A V
  0 siblings, 1 reply; 2+ messages in thread
From: A V @ 2023-12-17 19:16 UTC (permalink / raw)
  To: insight

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RV: error when executing "make"
  2023-12-17 19:16   ` RV: error when executing "make" A V
@ 2023-12-18 17:39     ` A V
  0 siblings, 0 replies; 2+ messages in thread
From: A V @ 2023-12-18 17:39 UTC (permalink / raw)
  To: insight

[-- Attachment #1: Type: text/plain, Size: 10512 bytes --]

I think I advanced a little bit (I commented -Werror in bfd/Makefile, opcodes/Makefile, gdb/Makefile), but I got stuck in a new place:

make[2]: Entering directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/gdb'
gcc -c -g -O2   -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber   -DMI_OUT=1 -DGDBTK -DTUI=1  -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts  i386-linux-nat.c
In file included from i386-linux-nat.c:26:
linux-nat.h:63:18: error: field ‘siginfo’ has incomplete type
   63 |   struct siginfo siginfo;
      |                  ^~~~~~~
i386-linux-nat.c:682:1: error: conflicting types for ‘ps_get_thread_area’; have ‘ps_err_e(const struct ps_prochandle *, lwpid_t,  int,  void **)’ {aka ‘ps_err_e(const struct ps_prochandle *, int,  int,  void **)’}
  682 | ps_get_thread_area (const struct ps_prochandle *ph,
      | ^~~~~~~~~~~~~~~~~~
In file included from gdb_proc_service.h:25,
                 from i386-linux-nat.c:70:
/usr/include/proc_service.h:72:17: note: previous declaration of ‘ps_get_thread_area’ with type ‘ps_err_e(struct ps_prochandle *, lwpid_t,  int,  void **)’ {aka ‘ps_err_e(struct ps_prochandle *, int,  int,  void **)’}
   72 | extern ps_err_e ps_get_thread_area (struct ps_prochandle *,
      |                 ^~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:1114: i386-linux-nat.o] Error 1
make[2]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1/gdb'
make[1]: *** [Makefile:11148: all-gdb] Error 2
make[1]: Leaving directory '/home/kali/Documents/DEBUGGING/insight/insight-6.8-1'
make: *** [Makefile:704: all] Error 2



Any help?
Thank you very much.
André


________________________________
De: A V <villanuevaandre@outlook.com>
Enviado: domingo, 17 de diciembre de 2023 20:16
Para: insight@sourceware.org <insight@sourceware.org>
Asunto: RV: error when executing "make"

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-18 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <PAXP251MB0622944568D17DF40220BC46B791A@PAXP251MB0622.EURP251.PROD.OUTLOOK.COM>
     [not found] ` <PAXP251MB0622EC1294B37CE3927A893DB791A@PAXP251MB0622.EURP251.PROD.OUTLOOK.COM>
2023-12-17 19:16   ` RV: error when executing "make" A V
2023-12-18 17:39     ` A V

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).