I'm trying to update Pure-FTPD to 1.0.38 using custom build v2. The server is running CloudLinux Server release 5.11 and DirectAdmin 1.48.0.
The actual error in question is:
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -DTLS_CERTIFICATE_FILE='"/etc/pure-ftpd.pem"' -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT fakesnprintf.o -MD -MP -MF .deps/fakesnprintf.Tpo -c -o fakesnprintf.o fakesnprintf.c
tls.c: In function 'tls_init_ecdh_curve':
tls.c:56: error: 'EC_KEY' undeclared (first use in this function)
tls.c:56: error: (Each undeclared identifier is reported only once
tls.c:56: error: for each function it appears in.)
tls.c:56: error: 'curve' undeclared (first use in this function)
make[2]: *** [libpureftpd_a-tls.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libpureftpd_a-utils.Tpo .deps/libpureftpd_a-utils.Po
mv -f .deps/fakesnprintf.Tpo .deps/fakesnprintf.Po
mv -f .deps/libpureftpd_a-ftpd.Tpo .deps/libpureftpd_a-ftpd.Po
make[2]: Leaving directory `/usr/local/directadmin/custombuild/pure-ftpd-1.0.38/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/pure-ftpd-1.0.38'
make: *** [all] Error 2
The actual error in question is:
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -D_FORTIFY_SOURCE=2 -DTLS_CERTIFICATE_FILE='"/etc/pure-ftpd.pem"' -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT fakesnprintf.o -MD -MP -MF .deps/fakesnprintf.Tpo -c -o fakesnprintf.o fakesnprintf.c
tls.c: In function 'tls_init_ecdh_curve':
tls.c:56: error: 'EC_KEY' undeclared (first use in this function)
tls.c:56: error: (Each undeclared identifier is reported only once
tls.c:56: error: for each function it appears in.)
tls.c:56: error: 'curve' undeclared (first use in this function)
make[2]: *** [libpureftpd_a-tls.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libpureftpd_a-utils.Tpo .deps/libpureftpd_a-utils.Po
mv -f .deps/fakesnprintf.Tpo .deps/fakesnprintf.Po
mv -f .deps/libpureftpd_a-ftpd.Tpo .deps/libpureftpd_a-ftpd.Po
make[2]: Leaving directory `/usr/local/directadmin/custombuild/pure-ftpd-1.0.38/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/pure-ftpd-1.0.38'
make: *** [all] Error 2