Closed VVD closed 1 year ago
Configure stage silent "grab" libssh2 if it installed:
If libssh2 not installed:
Could NOT find LibSSH2 (missing: LIBSSH2_LIBRARY LIBSSH2_INCLUDE_DIR)
If libssh2 installed:
-- Found LibSSH2: /usr/local/lib/libssh2.so (found version "1.10.0")
What purpose of the file client_examples/sshtunnel.c
for build libvncserver
?
If it's just example, maybe remove it from default build and other examples too?
What purpose of the file
client_examples/sshtunnel.c
for buildlibvncserver
? If it's just example, maybe remove it from default build and other examples too?
As the dir implies, it's an example. You can build without examples if wanted.
@VVD I now fixed it by checking header availability #ifdefs, not OS-specific ones. Should work for you as well me thinks
Describe the bug Compile of 0.9.14 fails on FreeBSD, but 0.9.13 build without errors.
To Reproduce Compile 0.9.14.
Expected Behavior Compile without errors.
Logs/Backtraces
Your environment (please complete the following information):
Additional context Issue on FreeBSD's bugtracker: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269039
accept
require#include <sys/types.h>
and#include <sys/socket.h>
: https://www.freebsd.org/cgi/man.cgi?query=accept&sektion=2close
require#include <unistd.h>
: https://www.freebsd.org/cgi/man.cgi?query=close&sektion=2Patch: