shekyan / slowhttptest

Application Layer DoS attack simulator
Apache License 2.0
1.51k stars 303 forks source link

build fail 16.04 #48

Closed alphaaurigae closed 5 years ago

alphaaurigae commented 7 years ago

Making uninstall in src make[1]: Entering directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src' ( cd '/usr/local/bin' && rm -f slowhttptest ) make[1]: Leaving directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src' Making uninstall in man make[1]: Entering directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/man' ( cd '/usr/local/share/man/man1' && rm -f slowhttptest.1 ) make[1]: Leaving directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/man' make[1]: Entering directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest' make[1]: Nothing to be done for 'uninstall-am'. make[1]: Leaving directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest' Already up-to-date. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking whether g++ supports C++11 features by default... no checking whether g++ supports C++11 features with -std=c++11... no checking whether g++ supports C++11 features with -std=c++0x... no checking whether g++ supports C++11 features with +std=c++11... no checking whether g++ supports C++11 features with -h std=c++11... no configure: No compiler with C++11 support was found checking for SSL_library_init in -lssl... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set ,struct timeval checking for vprintf... yes checking for _doprnt... no checking for atexit... yes checking for gettimeofday... yes checking for poll... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest' Making all in src make[2]: Entering directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src' g++ -g -O2 -L/usr/local/opt/openssl/lib -L/usr/local/lib -lssl -o slowhttptest slowhttptestmain.o slowhttptest.o slowsocket.o slowstats.o slowurl.o slowlog.o text-generator.o range-generator.o -lssl slowhttptest.o: In function slowhttptest::SlowHTTPTest::init(char const*, char const*, char const*, char const*, char const*, char const*)': /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:441: undefined reference toslowhttptest::HTMLDumper::HTMLDumper(std::string const&, std::string const&, std::string const&)' /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:443: undefined reference to slowhttptest::CSVDumper::CSVDumper(std::string const&, std::string const&)' /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:354: undefined reference toslowhttptest::GenerateRangeHeader(int, int, int, std::string*)' slowhttptest.o: In function slowhttptest::SlowHTTPTest::get_random_extra()': /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:205: undefined reference toslowhttptest::RandomTextGenerator::get_text(unsigned long)' /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:207: undefined reference to slowhttptest::RandomTextGenerator::get_text(unsigned long)' collect2: error: ld returned 1 exit status Makefile:351: recipe for target 'slowhttptest' failed make[2]: *** [slowhttptest] Error 1 make[2]: Leaving directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src' Makefile:359: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest' Makefile:300: recipe for target 'all' failed make: *** [all] Error 2 Making install in src make[1]: Entering directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src' g++ -g -O2 -L/usr/local/opt/openssl/lib -L/usr/local/lib -lssl -o slowhttptest slowhttptestmain.o slowhttptest.o slowsocket.o slowstats.o slowurl.o slowlog.o text-generator.o range-generator.o -lssl slowhttptest.o: In functionslowhttptest::SlowHTTPTest::init(char const, char const, char const, char const, char const, char const)': /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:441: undefined reference to slowhttptest::HTMLDumper::HTMLDumper(std::string const&, std::string const&, std::string const&)' /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:443: undefined reference toslowhttptest::CSVDumper::CSVDumper(std::string const&, std::string const&)' /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:354: undefined reference to slowhttptest::GenerateRangeHeader(int, int, int, std::string*)' slowhttptest.o: In functionslowhttptest::SlowHTTPTest::get_random_extra()': /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:205: undefined reference to slowhttptest::RandomTextGenerator::get_text(unsigned long)' /opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src/slowhttptest.cc:207: undefined reference toslowhttptest::RandomTextGenerator::get_text(unsigned long)' collect2: error: ld returned 1 exit status Makefile:351: recipe for target 'slowhttptest' failed make[1]: [slowhttptest] Error 1 make[1]: Leaving directory '/opt/ITSEC/10.Stresstest/slowhttptest/shekyan/slowhttptest/src' Makefile:359: recipe for target 'install-recursive' failed make: [install-recursive] Error 1 ✔ /opt/ITSEC-Install-Scripts [dev|✚ 1] 15:11 $