-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile on Ubuntu 18.04 Server #447
Comments
Hi, did you manage to find a solution to your issue? I am getting he same errors except I'm using a PC with Ubuntu 18.04 |
Not yet, unfortunately; I was hoping for a feedback from the maintainers. |
Hi, the problem is OpenSSL 1.1 - CoovaChilli needs OpenSSL 1.0 apt install openssl1.0 |
Thank you @yoanbosch for the workaround. I'll leave this open to keep track on updating CoovaChilli to OpenSSL 1.1. |
I'll just add that this command is sufficient for a successful build:
No need to install |
Hello I've compiled before in 16.04 and need for compilation the following packages: When I try to install them on 18.04 I have the following problems:
Anyone has suggestions? |
HI !
|
Thanks Philippe2705!! The final "catch" for the ones compiling this is:
In the end it works like charm!
|
@sevan Any chance for an upcoming 1.5 (or 2.0?) release with up-to-date libraries? |
Thanks @Philippe2705 and @norterj diff --git a/src/ms_chap.c b/src/ms_chap.c
index 2c236d2..8ad8327 100644
--- a/src/ms_chap.c
+++ b/src/ms_chap.c
@@ -96,18 +96,18 @@ MakeKey(u_char *key, u_char *des_key)
des_key[6] = Get7Bits(key, 42);
des_key[7] = Get7Bits(key, 49);
- des_set_odd_parity((des_cblock *)des_key);
+ DES_set_odd_parity((DES_cblock *)des_key);
}
static void /* IN 8 octets IN 7 octest OUT 8 octets */
DesEncrypt(u_char *clear, u_char *key, u_char *cipher)
{
- des_cblock des_key;
- des_key_schedule key_schedule;
+ DES_cblock des_key;
+ DES_key_schedule key_schedule;
MakeKey(key, des_key);
- des_set_key(&des_key, key_schedule);
- des_ecb_encrypt((des_cblock *)clear, (des_cblock *)cipher, key_schedule, 1);
+ DES_set_key(&des_key, &key_schedule);
+ DES_ecb_encrypt((DES_cblock *)clear, (DES_cblock *)cipher, &key_schedule, 1);
}
#define LENGTH 20 |
Try v1.5 |
I'm on the Ubuntu 18.04.1 Server image for Rasberry Pi 2 provided by Ubuntu here and I'm trying to compile CoovaChilli as described in http://coova.github.io/CoovaChilli/DistroBuilding/
This is the output of
debuild -b
(only the error part):Am I missing some dependency? Or maybe a library version mismatch?
The text was updated successfully, but these errors were encountered: