Trying to build wallet in FreeBSD and get an error:
root@rt1:/usr/local/bin/mining/vesta/build # cmake ..
-- The C compiler identification is Clang 4.0.0
-- The CXX compiler identification is Clang 4.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- date_time
-- chrono
-- regex
-- serialization
-- program_options
-- atomic
-- Found Git: /usr/local/bin/git
-- Found PythonInterp: /usr/local/bin/python2.7 (found version "2.7.14")
CMake Warning in CMakeLists.txt:
CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
been specified
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/bin/mining/vesta/build
root@rt1:/usr/local/bin/mining/vesta/build # make
Scanning dependencies of target version
fatal: No names found, cannot describe anything.
CMake Warning at src/version.cmake:3 (message):
Cannot determine current revision. Make sure that you are building either
from a Git working tree or from a source archive.
[ 0%] Built target version
Scanning dependencies of target upnpc-static
[ 1%] Building C object external/miniupnpc/CMakeFiles/upnpc-static.dir/igd_desc_parse.c.o
[ 1%] Building C object external/miniupnpc/CMakeFiles/upnpc-static.dir/miniupnpc.c.o
[ 1%] Building C object external/miniupnpc/CMakeFiles/upnpc-static.dir/minixml.c.o
[ 1%] Building C object external/miniupnpc/CMakeFiles/upnpc-static.dir/minisoap.c.o
/usr/local/bin/mining/vesta/external/miniupnpc/minisoap.c:95:3: error:
implicitly declaring library function 'snprintf' with type 'int (char *,
unsigned int, const char *, ...)'
[-Werror,-Wimplicit-function-declaration]
snprintf(portstr, sizeof(portstr), ":%hu", port);
^
/usr/local/bin/mining/vesta/external/miniupnpc/minisoap.c:95:3: note: include
the header or explicitly provide a declaration for 'snprintf'
1 error generated.
*** Error code 1
Stop.
make[2]: stopped in /usr/local/bin/mining/vesta/build
*** Error code 1