Skip to content

Cannot make on Linux #3

@janusloo

Description

@janusloo

Hi there,

I tried to compile SSLproxy myself. With make I got the following error:

SSLproxy v0.5.4-dirty

Report bugs at https://github.com/droe/sslsplit/issues/new
Please supply this header for diagnostics when reporting build issues
Before reporting bugs, make sure to try the latest develop branch first:
% git clone -b develop https://github.com/droe/sslsplit.git

Via pkg-config: openssl libevent libevent_openssl libevent_pthreads
Build options: -DHAVE_NETFILTER
uname -a: Linux DietPi.local 4.9.77-v7+ #1081 SMP Wed Jan 17 16:15:20 GMT 2018 armv7l GNU/Linux

cc -c -isystem/usr/local/include -D_GNU_SOURCE -D"BNAME="sslproxy"" -D"PNAME="SSLproxy"" -D"VERSION="v0.5.4-dirty"" -D"BUILD_DATE="2018-02-15"" -D"FEATURES="-DHAVE_NETFILTER"" -D"BUILD_INFO="V:GIT"" -DHAVE_NETFILTER -pthread -std=c99 -Wall -Wextra -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -pthread -o version.o version.c
cc -L/usr/local/lib -pthread -o sslproxy cachemgr.o cachetgcrt.o logbuf.o url.o log.o cachefkcrt.o opts.o thrqueue.o pxyconn.o pxysslshut.o privsep.o logger.o nat.o base64.o version.o main.o cachessess.o util.o cache.o pxythrmgr.o dynbuf.o cert.o sys.o proxy.o proc.o ssl.o cachedsess.o -lssl -lcrypto -levent_openssl -levent_pthreads -levent
pxyconn.o: In function pxy_conn_setup': pxyconn.c:(.text+0x8d00): undefined reference to getdtablecount'
collect2: error: ld returned 1 exit status
GNUmakefile:411: recipe for target 'sslproxy' failed
make: *** [sslproxy] Error 1

For build problems, please supply:

  • Output of uname -a (Linux DietPi.local 4.9.77-v7+ #1081 SMP Wed Jan 17 16:15:20 GMT 2018 armv7l GNU/Linux)
  • Full output of failed make including the header (pls see above)
  • Version and origin of OpenSSL used (official openssl site, version 1.1.1-pre1)
  • Version and origin of libevent used (https://github.com/libevent/libevent)

I have been googling and found only information that the getdtablecount is a BSD system call function? As you can see I am compiling on Linux, not BSD. So I am really stuck here. Please help.

Thanks in advance!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions