stable/10 with WITHOUT_OPENSSL not compiling

David david at dafnet.se
Mon Jul 21 20:52:48 UTC 2014


Hi
Trying to compile stable/10 WITHOUT_OPENSSL I get multiple issues.

Path: .
Working Copy Root Path: /usr/src
URL:https://svn0.eu.freebsd.org/base/stable/10 
<https://svn0.eu.freebsd.org/base/stable/10>
Relative URL: ^/stable/10
Repository Root:https://svn0.eu.freebsd.org/base 
<https://svn0.eu.freebsd.org/base>
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 268740
Node Kind: directory
Schedule: normal
Last Changed Author: hselasky
Last Changed Rev: 268738
Last Changed Date: 2014-07-16 08:22:35 +0200 (Wed, 16 Jul 2014)

openssl/ssl.h missing in multiple places in libldns

In file included from /usr/src/lib/libldns/../../contrib/ldns/zone.c:11:
In file included from 
/usr/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98:
/usr/src/lib/libldns/../../contrib/ldns/ldns/dane.h:30:10: fatal error: 
'openssl/ssl.h' file not found


so I add WITHOUT_LDNS

/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmpcrypto.c:370:1: 
error: conflicting types for 'snmp_passwd_to_keys'
snmp_passwd_to_keys(struct snmp_user *user, char *passwd __unused)
^
/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmp.h:273:16: 
note: previous declaration is here
enum snmp_code snmp_passwd_to_keys(struct snmp_user *, char *);
                ^
/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmpcrypto.c:382:1: 
error: conflicting types for 'snmp_get_local_keys'
snmp_get_local_keys(struct snmp_user *user, uint8_t *eid __unused,
^
/usr/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmp.h:274:16: 
note: previous declaration is here
enum snmp_code snmp_get_local_keys(struct snmp_user *, uint8_t *, uint32_t);
                ^
2 errors generated.
*** [snmpcrypto.So] Error code 1


so I add WITHOUT_BSNMP

--- all_subdir_libfetch ---
--- common.So ---
cc  -fpic -DPIC  -O2 -pipe  -I. -DINET6 -DFTP_COMBINE_CWDS 
-std=iso9899:1999 -Qunused-arguments  -fstack-protector -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations 
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-Wno-unused-const-variable -c /usr/src/lib/libfetch/common.c -o common.So
/usr/src/lib/libfetch/common.c:808:43: error: unused parameter 'URL' 
[-Werror,-Wunused-parameter]
fetch_ssl(conn_t *conn, const struct url *URL, int verbose)
                                           ^
1 error generated.
*** [common.So] Error code 1

make[5]: stopped in /usr/src/lib/libfetch

This I don't know how to solve. LDNS should be able to compile without 
openssl with reduced functionality.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4210 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140718/d1511208/attachment.bin>


More information about the freebsd-stable mailing list