RE: [Pound Mailing List] Pound Compiled with Openssl1.1
"Jacob Anderson" <[email protected]> Thu, 4 Jan 2018 10:46:15 -0800
| Newsgroups | gmane.comp.web.pound.general |
|---|---|
| Message-ID | <[email protected]> |
What if you add the macro back into config.h:
# define LHM_lh_new(type, name) \
((LHASH_OF(type) *)lh_new(LHASH_HASH_FN(name), LHASH_COMP_FN(name)))
Here's where it seems to have been removed:
https://mta.openssl.org/pipermail/openssl-commits/2016-January/002778.htm=
l
seems to be equivalent to:
+ static ossl_inline LHASH_OF(type) * \
+ lh_##type##_new(unsigned long (*hfn)(const type *), \
+ int (*cfn)(const type *, const type *)) \
+ {=20
+ return (LHASH_OF(type) *) \
+ lh_new((LHASH_HASH_FN_TYPE) hfn, (LHASH_COMP_FN_TYPE)cfn); =
\
+ }=20
-----Original Message-----
From: Emilio Campos [mailto:[email protected]]=20
Sent: Thursday, January 4, 2018 7:53 AM
To: [email protected]
Subject: [Pound Mailing List] Pound Compiled with Openssl1.1
Hi guys, we would like to compile pound 2.7 with latest openssl version =
1.1, but at the moment of the compilation it fails. It seems like =
pound2.7 uses some macros not used anymore in Openssl1.1.
For example:
config.c: In function =E2=80=98parse_service=E2=80=99:
config.c:723:25: warning: implicit declaration of function =
=E2=80=98LHM_lh_new=E2=80=99; did you mean =E2=80=98lh_new=E2=80=99? =
[-Wimplicit-function-declaration]
if((res->sessions =3D LHM_lh_new(TABNODE, t)) =3D=3D NULL)
^~~~~~~~~~
lh_new
config.c:723:36: error: expected expression before =
=E2=80=98TABNODE=E2=80=99
if((res->sessions =3D LHM_lh_new(TABNODE, t)) =3D=3D NULL)
^~~~~~~
<builtin>: recipe for target 'config.o' failed
make: *** [config.o] Error 1
Someone got it, if not, is there some plan to support this?=20
BTW it seems like we are not the only ones with this problem?=20
http://www.apsis.ch/pound/pound_list/archive/2017/2017-02/1485991957000#1=
485991957000
Thanks!
--
To unsubscribe send an email with subject unsubscribe to [email protected]
Please contact [email protected] for questions.