Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Problems building libtelnet since the import of OpenSSL 3.X
hello. I'm trying to build -current sources from a clean obj and dest directory and I get
the error below. It seems to be related to the import of OpenSsL 3.x, specifically, with the
changes to:
/usr/src/crypto/external/bsd/openssl/dist/include/openssl/bn.h
This is the changes between V1.4 and V1.5 of this file. Specifically, the newer version
includes <openssl/macros.h>
which errors out as shown below. What do I need to set to work around this issue?
-thanks
-Brian
# create libtelnet/pk.d
CC=/usr/local/netbsd/obj-current-64/tooldir.NetBSD-9.99.77-amd64/bin/x86_64--netbsd-gcc /usr/local/netbsd/obj-current-64/tooldir.NetBSD-9.99.77-amd64/bin/nbmkdep -f pk.d.tmp -- -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -Wstack-protector --sysroot=/var/tmp/netbsd-current-64 -DHAS_CGETENT -I/usr/local/netbsd/src-current/lib/libtelnet -DENCRYPTION -DAUTHENTICATION -DDES_ENCRYPTION -DKRB5 -DSRA -D_FORTIFY_SOURCE=2 -Wno-pointer-sign /usr/local/netbsd/src-current/lib/libtelnet/pk.c && mv -f pk.d.tmp pk.d
--- sra.d ---
# create libtelnet/sra.d
CC=/usr/local/netbsd/obj-current-64/tooldir.NetBSD-9.99.77-amd64/bin/x86_64--netbsd-gcc /usr/local/netbsd/obj-current-64/tooldir.NetBSD-9.99.77-amd64/bin/nbmkdep -f sra.d.tmp -- -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -Wstack-protector --sysroot=/var/tmp/netbsd-current-64 -DHAS_CGETENT -I/usr/local/netbsd/src-current/lib/libtelnet -DENCRYPTION -DAUTHENTICATION -DDES_ENCRYPTION -DKRB5 -DSRA -D_FORTIFY_SOURCE=2 /usr/local/netbsd/src-current/lib/libtelnet/sra.c && mv -f sra.d.tmp sra.d
--- pk.d ---
In file included from /var/tmp/netbsd-current-64/usr/include/openssl/bn.h:15,
from /usr/local/netbsd/src-current/lib/libtelnet/pk.c:52:
/var/tmp/netbsd-current-64/usr/include/openssl/macros.h:147:4: error: #error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
147 | # error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
| ^~~~~
nbmkdep: compile failed.
*** Failed target: pk.d
Home |
Main Index |
Thread Index |
Old Index