Open killswitch2434 opened 3 years ago
OP here. I tried it with the latest master branch. had the same error. I commented out the line in "terminal.c" file where the error was occurring. This fixed the issue and the build was successful. Not sure if this is good fix. I might have broken something. But the tool worked normally for the task I had.
I know I'm coming too late but anyway...
Seems an unwanted effect of some option from configure, please paste your configure command line.
Hello. Same observation on Fedora (edition 39)
$ uname -r
6.5.6-300.fc39.x86_64
$ dnf rq --userinstalled --qf '%{name} %{version}' make automake autoconf {gtk2,libnet,libpcap}-devel | column
autoconf 2.71 gtk2-devel 2.24.33 libpcap-devel 1.10.4
automake 1.16.5 libnet-devel 1.2 make 4.4.1
./configure
's output: configure_command_line.txt
Could ./configure: line 8051: ./po/POTFILES.in: No such file or directory
be the cause of make
failure?
$ make
(...)
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
(...)
/usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
723 | {
| ^
(...)
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
(...)
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
terminal.c: In function ‘term_destroy’:
terminal.c:156:32: error: ‘struct terminals’ has no member named ‘gui_th’
156 | pthread_mutex_destroy(&terms->gui_th.finished);
| ^~
terminal.c: In function ‘term_add_node’:
terminal.c:178:25: warning: variable ‘console’ set but not used [-Wunused-but-set-variable]
178 | struct term_console *console;
| ^~~~~~~
make[2]: *** [Makefile:454: terminal.o] Error 1
make[2]: Leaving directory '/home/yk/Downloads/yersinia/src'
make[1]: *** [Makefile:352: all] Error 2
make[1]: Leaving directory '/home/yk/Downloads/yersinia/src'
make: *** [Makefile:460: all-recursive] Error 1
I'm trying to install the tool on a centos 7 box. I'm getting the following error: