Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sept 3, 2019 commit compilation error #71

Closed
leandroong opened this issue Sep 4, 2019 · 1 comment
Closed

Sept 3, 2019 commit compilation error #71

leandroong opened this issue Sep 4, 2019 · 1 comment

Comments

@leandroong
Copy link

@leandroong leandroong commented Sep 4, 2019

error log:
In file included from util/netevent.c:58:
util/netevent.c: In function ‘squelch_err_ssl_handshake’:
util/netevent.c:1068:32: error: ‘SSL_F_TLS_POST_PROCESS_CLIENT_HELLO’ undeclared (first use in this function)
1068 | err == ERR_PACK(ERR_LIB_SSL, SSL_F_TLS_POST_PROCESS_CLIENT_HELLO, SSL_R_NO_SHARED_CIPHER) ||
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/wang-zhikuan/System_D/Debian-Stretch/myscript/ipkg/unbound/opt/include/openssl/err.h:243:51: note: in definition of macro ‘ERR_PACK’
243 | ((((unsigned long)f)&0xfffL)*0x1000)|
| ^
util/netevent.c:1068:32: note: each undeclared identifier is reported only once for each function it appears in
1068 | err == ERR_PACK(ERR_LIB_SSL, SSL_F_TLS_POST_PROCESS_CLIENT_HELLO, SSL_R_NO_SHARED_CIPHER) ||
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/wang-zhikuan/System_D/Debian-Stretch/myscript/ipkg/unbound/opt/include/openssl/err.h:243:51: note: in definition of macro ‘ERR_PACK’
243 | ((((unsigned long)f)&0xfffL)*0x1000)|
| ^
util/netevent.c:1069:32: error: ‘SSL_F_TLS_EARLY_POST_PROCESS_CLIENT_HELLO’ undeclared (first use in this function)
1069 | err == ERR_PACK(ERR_LIB_SSL, SSL_F_TLS_EARLY_POST_PROCESS_CLIENT_HELLO, SSL_R_UNKNOWN_PROTOCOL) ||
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/wang-zhikuan/System_D/Debian-Stretch/myscript/ipkg/unbound/opt/include/openssl/err.h:243:51: note: in definition of macro ‘ERR_PACK’
243 | ((((unsigned long)f)&0xfffL)*0x1000)|
| ^
util/netevent.c:1071:75: error: ‘SSL_R_VERSION_TOO_LOW’ undeclared (first use in this function); did you mean ‘SSL_R_MESSAGE_TOO_LONG’?
1071 | err == ERR_PACK(ERR_LIB_SSL, SSL_F_TLS_EARLY_POST_PROCESS_CLIENT_HELLO, SSL_R_VERSION_TOO_LOW))
| ^~~~~~~~~~~~~~~~~~~~~
/media/wang-zhikuan/System_D/Debian-Stretch/myscript/ipkg/unbound/opt/include/openssl/err.h:244:51: note: in definition of macro ‘ERR_PACK’
244 | ((((unsigned long)r)&0xfffL)))
| ^
make: *** [Makefile:288: netevent.lo] Error 1
make: *** Waiting for unfinished jobs....

@wcawijngaards

This comment has been minimized.

Copy link
Member

@wcawijngaards wcawijngaards commented Sep 4, 2019

Thanks for the check! These symbols do not exist in openssl 1.0.2, but they do in 1.1.1. There are ifdefs now to stop the compile problem.

jedisct1 added a commit to jedisct1/unbound that referenced this issue Sep 21, 2019
* nlnet/master: (22 commits)
  Changelog entry for NLnetLabs#83 - Merge NLnetLabs#83 from Maryse47: contrib/unbound.service.in: do not fork   into the background.
  unbound.service.in: do not fork into the background
  Changelog entry for NLnetLabs#81. - Merge NLnetLabs#81 from Maryse47: Consistently use /dev/urandom instead   of /dev/random in scripts and docs.
  (Changelog entry for NLnetLabs#82). - Merge NLnetLabs#82 from hardfalcon: Downgrade CAP_NET_ADMIN to CAP_NET_RAW   in unbound.service.
  Downgrade CAP_NET_ADMIN to CAP_NET_RAW in unbound.service
  Consistently use /dev/urandom instead of /dev/random in scripts and docs
  - Merge NLnetLabs#80 from stasic: Improve wording in man page. (Changelog entry for merge)
  Improve wording in man page
  - Fix wrong response ttl for prepended short CNAME ttls, this would   create a wrong zero_ttl response count with serve-expired enabled.
  - Fix for oss-fuzz build warning.
  - Fix fix for NLnetLabs#78 to also free service callback struct.
  - oss-fuzz badge on README.md.
  - Merge pull request NLnetLabs#76 from Maryse47: Improvements and fixes for   systemd unbound.service. (Changelog note for merge of NLnetLabs#76).
  - Fix NLnetLabs#78: Memory leak in outside_network.c.
  Improvements and fixes for systemd unbound.service
  - Use explicit bzero for wiping clear buffer of hash in cachedb,   reported by Eric Sesterhenn from X41 D-Sec.
  - Fix NLnetLabs#72: configure --with-syslog-facility=LOCAL0-7 with default   LOG_DAEMON (as before) can set the syslog facility that the server   uses to log messages.
  - Fix NLnetLabs#71: fix openssl error squelch commit compilation error.
  - squelch DNS over TLS errors 'ssl handshake failed crypto error'   on low verbosity, they show on verbosity 3 (query details), because   there is a high volume and the operator cannot do anything for the   remote failure.  Specifically filters the high volume errors.
  - updated Makefile dependencies.
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.