make: *** [Makefile:130: all] Error 2
hktalent opened this issue · 1 comments
hktalent commented
cmake . && make
-- Found MBEDTLS: /usr/include
-- mbedTLS 2.13.0 found!
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for one of the modules 'lua53;lua-5.3;lua5.3;lua5.2;lua-5.2;lua52;lua5.1;lua-5.1;lua51;lua-5.0;lua5.0;lua50;lua'
-- Found Tclsh: /usr/bin/tclsh (found version "8.6")
CMake Warning at cmake/FindJava.cmake:54 (message):
regex not supported: openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-2-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode). Please report
Call Stack (most recent call first):
CMakeLists.txt:233 (find_package)
-- Java version .. found!
-- Found JAVA_HOME as /usr/lib/jvm/java-8-openjdk-amd64
--------------------------------------------------------------------------
proxenet will be compiled with support for:
- C plugin
- Python plugin: 2.7.15
- Ruby plugin: 2.5.1
- Java plugin:
--------------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /mytools/proxenet
Scanning dependencies of target proxenet
[ 6%] Building C object CMakeFiles/proxenet.dir/control-server.c.o
In file included from /mytools/proxenet/core.h:25,
from /mytools/proxenet/control-server.h:5,
from /mytools/proxenet/control-server.c:24:
/mytools/proxenet/plugin.h:69:2: error: ‘_JAVA_VERSION_’ undeclared here (not in a function); did you mean ‘_SC_2_VERSION’?
_JAVA_VERSION_,
^~~~~~~~~~~~~~
_SC_2_VERSION
/mytools/proxenet/control-server.c: In function ‘version_cmd’:
/mytools/proxenet/control-server.c:226:21: error: expected ‘,’ or ‘;’ before ‘_JAVA_VERSION_’
"\""_JAVA_VERSION_"\","
^~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/proxenet.dir/build.make:63: CMakeFiles/proxenet.dir/control-server.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/proxenet.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
hktalent commented
wget https://github.com/hugsy/proxenet/releases/download/v0.4/proxenet_0.4_amd64.deb
apt install ./proxenet_0.4_amd64.deb
rm proxenet_0.4_amd64.deb