Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806058 - net-vpn/openconnect with dev-libs/openssl-3.0.0_beta2 - implicit declaration of function ‘ERR_GET_FUNC’
Summary: net-vpn/openconnect with dev-libs/openssl-3.0.0_beta2 - implicit declaration ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2021-08-01 18:38 UTC by Mike Gilbert
Modified: 2022-05-06 04:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2021-08-01 18:38:17 UTC
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR=\"/usr/share/locale\" -Wall -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Werror=pointer-to-int-cast -Werror-implicit-function-declaration -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wnested-externs -Wpointer-arith -Wwrite-strings -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I./json -O2 -pipe -march=amdfam10 -c openssl.c  -fPIC -DPIC -o .libs/libopenconnect_la-openssl.o
> openssl.c: In function ‘load_pkcs12_certificate’:
> openssl.c:615:21: error: implicit declaration of function ‘ERR_GET_FUNC’; did you mean ‘ERR_GET_LIB’? [-Werror=implicit-function-declaration]
>   615 |                     ERR_GET_FUNC(err) == PKCS12_F_PKCS12_PARSE &&
>       |                     ^~~~~~~~~~~~
>       |                     ERR_GET_LIB
> openssl.c:615:21: warning: nested extern declaration of ‘ERR_GET_FUNC’ [-Wnested-externs]
> cc1: some warnings being treated as errors
Comment 1 Mike Gilbert gentoo-dev 2022-05-06 04:03:22 UTC
Fixed in openconnect-8.20.