You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have this trouble when typing cmake .. && make, this happens after compiling ( at 98% final step)
[ 0%] Built target fmt
[ 88%] Built target crypto
[ 96%] Built target ssl
[ 98%] Built target tls
[ 98%] Building CXX object CMakeFiles/Xerxes.dir/src/engine.cpp.o
clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:57:25: error: unknown type
name 'icmphdr'; did you mean 'tcphdr'?
virtual void init_hdr(icmphdr *icmp, iphdr *ip);
^~~~~~~
tcphdr
/usr/include/netinet/tcp.h:81:8: note: 'tcphdr' declared here
struct tcphdr {
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:57:40: error: unknown type
name 'iphdr'
virtual void init_hdr(icmphdr *icmp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:58:29: error: unknown type
name 'icmphdr'; did you mean 'tcphdr'?
virtual void finalize_hdr(icmphdr *icmp, iphdr *ip);
^~~~~~~
tcphdr
/usr/include/netinet/tcp.h:81:8: note: 'tcphdr' declared here
struct tcphdr {
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:58:44: error: unknown type
name 'iphdr'
virtual void finalize_hdr(icmphdr *icmp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:68:21: error: unknown type
name 'icmphdr'; did you mean 'tcphdr'?
void finalize_hdr(icmphdr *icmp, iphdr *ip) override;
^~~~~~~
tcphdr
/usr/include/netinet/tcp.h:81:8: note: 'tcphdr' declared here
struct tcphdr {
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:68:36: error: unknown type
name 'iphdr'
void finalize_hdr(icmphdr *icmp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:78:21: error: unknown type
name 'icmphdr'; did you mean 'tcphdr'?
void finalize_hdr(icmphdr *icmp, iphdr *ip) override;
^~~~~~~
tcphdr
/usr/include/netinet/tcp.h:81:8: note: 'tcphdr' declared here
struct tcphdr {
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:78:36: error: unknown type
name 'iphdr'
void finalize_hdr(icmphdr *icmp, iphdr *ip) override;
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:3:
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:18:38: error: unknown
type name 'iphdr'
virtual void init_hdr(tcphdr *tcp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:19:42: error: unknown
type name 'iphdr'
virtual void finalize_hdr(tcphdr *tcp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:45:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:55:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:65:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:75:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:85:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:95:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:105:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:4:
/Users/user/desktop/Xerxes/include/spoofed_udp_flood.hpp:17:38: error: unknown
type name 'iphdr'
virtual void init_hdr(udphdr *udp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/spoofed_udp_flood.hpp:18:42: error: unknown
type name 'iphdr'
virtual void finalize_hdr(udphdr *udp, iphdr *ip);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/Xerxes.dir/src/engine.cpp.o] Error 1
make[1]: *** [CMakeFiles/Xerxes.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Hello, I have this trouble when typing cmake .. && make, this happens after compiling ( at 98% final step)
[ 0%] Built target fmt
[ 88%] Built target crypto
[ 96%] Built target ssl
[ 98%] Built target tls
[ 98%] Building CXX object CMakeFiles/Xerxes.dir/src/engine.cpp.o
clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:57:25: error: unknown type
name 'icmphdr'; did you mean 'tcphdr'?
virtual void init_hdr(icmphdr *icmp, iphdr *ip);
^~~~~~~
tcphdr
/usr/include/netinet/tcp.h:81:8: note: 'tcphdr' declared here
struct tcphdr {
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:57:40: error: unknown type
name 'iphdr'
virtual void init_hdr(icmphdr *icmp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:58:29: error: unknown type
name 'icmphdr'; did you mean 'tcphdr'?
virtual void finalize_hdr(icmphdr *icmp, iphdr *ip);
^~~~~~~
tcphdr
/usr/include/netinet/tcp.h:81:8: note: 'tcphdr' declared here
struct tcphdr {
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:58:44: error: unknown type
name 'iphdr'
virtual void finalize_hdr(icmphdr *icmp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:68:21: error: unknown type
name 'icmphdr'; did you mean 'tcphdr'?
void finalize_hdr(icmphdr *icmp, iphdr *ip) override;
^~~~~~~
tcphdr
/usr/include/netinet/tcp.h:81:8: note: 'tcphdr' declared here
struct tcphdr {
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:68:36: error: unknown type
name 'iphdr'
void finalize_hdr(icmphdr *icmp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:78:21: error: unknown type
name 'icmphdr'; did you mean 'tcphdr'?
void finalize_hdr(icmphdr *icmp, iphdr *ip) override;
^~~~~~~
tcphdr
/usr/include/netinet/tcp.h:81:8: note: 'tcphdr' declared here
struct tcphdr {
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:2:
/Users/user/desktop/Xerxes/include/icmp_flood.hpp:78:36: error: unknown type
name 'iphdr'
void finalize_hdr(icmphdr *icmp, iphdr *ip) override;
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:3:
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:18:38: error: unknown
type name 'iphdr'
virtual void init_hdr(tcphdr *tcp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:19:42: error: unknown
type name 'iphdr'
virtual void finalize_hdr(tcphdr *tcp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:45:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:55:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:65:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:75:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:85:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:95:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
/Users/user/desktop/Xerxes/include/spoofed_tcp_flood.hpp:105:34: error: unknown
type name 'iphdr'
void finalize_hdr(tcphdr *tcp, iphdr *ip) override;
^
In file included from /Users/user/desktop/Xerxes/src/engine.cpp:4:
/Users/user/desktop/Xerxes/include/spoofed_udp_flood.hpp:17:38: error: unknown
type name 'iphdr'
virtual void init_hdr(udphdr *udp, iphdr *ip);
^
/Users/user/desktop/Xerxes/include/spoofed_udp_flood.hpp:18:42: error: unknown
type name 'iphdr'
virtual void finalize_hdr(udphdr *udp, iphdr *ip);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/Xerxes.dir/src/engine.cpp.o] Error 1
make[1]: *** [CMakeFiles/Xerxes.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: