-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I've been trying to install the latest SOAPnuke, but I'm running into this error
SOAPnuke-SOAPnuke2.1.9$ make
"GCC version Passes, 13 >= 4.7"
"Warning: ZLIB version is lower than 1.2.3.5."
Makefile:39: -lz -lpthread -labc
g++ -std=c++11 -g -O3 -c src/BloomFilter.cpp -o obj/BloomFilter.o
g++ -std=c++11 -g -O3 -c src/gc.cpp -o obj/gc.o
In file included from src/gc.cpp:18:
src/gc.h:23:37: error: ‘uint64_t’ was not declared in this scope
23 | quartile_result cal_quar_from_array(uint64_t data[], int len);
| ^~~~~~~~
src/gc.h:12:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
11 | #include <math.h>
+++ |+#include <cstdint>
12 | using namespace ::std;
src/gc.h:23:54: error: expected primary-expression before ‘int’
23 | quartile_result cal_quar_from_array(uint64_t data[], int len);
| ^~~
src/gc.cpp:68:17: error: redefinition of ‘quartile_result cal_quar_from_array’
68 | quartile_result cal_quar_from_array(uint64_t data[], int len)
| ^~~~~~~~~~~~~~~~~~~
src/gc.h:23:17: note: ‘quartile_result cal_quar_from_array’ previously declared here
23 | quartile_result cal_quar_from_array(uint64_t data[], int len);
| ^~~~~~~~~~~~~~~~~~~
src/gc.cpp:68:37: error: ‘uint64_t’ was not declared in this scope
68 | quartile_result cal_quar_from_array(uint64_t data[], int len)
| ^~~~~~~~
src/gc.cpp:19:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
18 | #include "gc.h"
+++ |+#include <cstdint>
19 | // #include<stdio.h>
src/gc.cpp:68:54: error: expected primary-expression before ‘int’
68 | quartile_result cal_quar_from_array(uint64_t data[], int len)
| ^~~
make: *** [Makefile:54: obj/gc.o] Error 1
The log states, that my zlib is of an older version, but I checked, and zlib is the latest version:
$ dpkg -s zlib1g | grep Version
Version: 1:1.3.dfsg-3.1ubuntu2.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels