[sslh] Installing sslh-1.19c compile error
Sean Warner
plica2006 at gmail.com
Sat Apr 21 08:38:50 UTC 2018
Hello,
I am makeing sslh-1.19c and get the same error as reported here:
http://muscles.dragonflybsd.org/synth/logs/net___sslh.log
Here is my output
..
# make install
./genver.sh >version.h
cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP
-DSYSTEMD -c common.c
common.c: In function âcheck_access_rightsâ:
common.c:616:20: warning: passing argument 1 of âhosts_ctlâ discards âconstâ
qualifier from pointer target type [-Wdiscarded-qualifiers]
if (!hosts_ctl(service, host, addr_str, STRING_UNKNOWN)) {
^~~~~~~
In file included from common.c:49:0:
/usr/include/tcpd.h:121:12: note: expected âchar *â but argument is of type
âconst char *â
extern int hosts_ctl(char *daemon, char *client_name, char *client_addr,
^~~~~~~~~
cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP
-DSYSTEMD -c sslh-main.c
cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP
-DSYSTEMD -c probe.c
cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP
-DSYSTEMD -c tls.c
cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP
-DSYSTEMD -c sslh-fork.c
cc -Wall -g -o sslh-fork sslh-fork.o common.o sslh-main.o probe.o tls.o
-lwrap -lpcreposix -lconfig -lcap -lsystemd
#strip sslh-fork
cc -Wall -g -DLIBWRAP -DENABLE_REGEX -DLIBPCRE -DLIBCONFIG -DLIBCAP
-DSYSTEMD -c sslh-select.c
cc -Wall -g -o sslh-select sslh-select.o common.o sslh-main.o probe.o
tls.o -lwrap -lpcreposix -lconfig -lcap -lsystemd
#strip sslh-select
pod2man --section=8 --release=v1.19c-2-gf451cc8-dirty --center=" " sslh.pod
| gzip -9 - > sslh.8.gz
mkdir -p //usr/local/sbin
mkdir -p //usr/local/share/man/man8
install -p sslh-fork //usr/local/sbin/sslh
install -p -m 0644 sslh.8.gz //usr/local/share/man/man8/sslh.8.gz
The binaries were compiled. Actually this is the third time I issued # make
install and on one occasion it worked without any error.
Do I need to worry about this?
Flex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rutschle.net/pipermail/sslh/attachments/20180421/86bd1747/attachment.html>
More information about the sslh
mailing list