Page 1 of 1

compilation in debian stretch

Posted: 16 May 2017, 10:40
by mlemaitre
Hi,

I tried to compile accel-ppp 1.11.1 or the code from the master branch in debian stretch, but there is an error:

Code: Select all

/home/mathieu/accel-master/accel-ppp-code-928aefd7779593961beca41376dd829c26d58de5/accel-pppd/extra/chap-secrets.c: In function ‘create_pd’:
/home/mathieu/accel-master/accel-ppp-code-928aefd7779593961beca41376dd829c26d58de5/accel-pppd/extra/chap-secrets.c:132:13: error: storage size of ‘md_ctx’ isn’t known
  EVP_MD_CTX md_ctx;
             ^~~~~~
I found an explaination / solution here. This seems to be due to openssl 1.1

http://stackoverflow.com/questions/4266 ... sn-t-known

I tried this solution, and then I was able to compile successfully, and to start accel-ppp

Mat

Re: compilation in debian stretch

Posted: 26 Jun 2017, 05:55
by sibi1979
Hello Mat,

Can you please share the file as I have the same issue ?
I install an older version on my debian server but it results in :

[ 10%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp.c.o
In file included from /usr/src/accel-ppp.git/accel-pppd/include/crypto.h:9:0,
from /usr/src/accel-ppp.git/accel-pppd/ppp/ppp.c:15:
/usr/include/openssl/des.h:91:9: error: unknown type name ‘DES_LONG’
DES_LONG deslong[2];

Thanks & greetings,

Sibi

Re: compilation in debian stretch

Posted: 26 Jun 2017, 06:04
by sibi1979
apt-get install libssl1.0-dev

Solved the problem.