Shallot icon indicating copy to clipboard operation
Shallot copied to clipboard

Make error

Open jont916 opened this issue 5 years ago • 2 comments

Ubuntu 18 fresh install with libssl-dev, build-essential user@vm: /Downloads/Shallot-master$ ./configure && make Liunx detected. Have you considered switching to BSD? Configuration successful. This does not mean it will build. If you are missing gcc, or required libraries/headers, you will need to install them first. cc -O3 -I/usr/include -I/usr/local/include -L/usr/lib -L/usr/local/lib -Wall -o src/math.o -c src/math.c src/math.c: In function ‘easygen’: src/math.c:30:5: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations] rsa = RSA_generate_key(num, 3, NULL, NULL); ^~~ In file included from /usr/include/openssl/asn1.h:15:0, from /usr/include/openssl/rsa.h:16, from src/math.h:24, from src/math.c:3: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ src/math.c: In function ‘sane_key’: src/math.c:67:17: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’ BN_sub(p1, rsa->p, BN_value_one()); // p - 1 ^~ src/math.c:78:10: error: dereferencing pointer to incomplete type ‘BIGNUM {aka struct bignum_st}’ if(!chk->neg) ^~ Makefile:44: recipe for target 'src/math.o' failed make: *** [src/math.o] Error 1

Any Ideas? Thanks

jont916 avatar Aug 21 '18 22:08 jont916

I have open the same issue : https://github.com/katmagic/Shallot/issues/38

For the moment, you can use Eschalot : https://www.visionduweb.eu/wiki/index.php?title=Installer_Tor#Eschalot

ZerooCool avatar Aug 22 '18 00:08 ZerooCool

Check out this pull request https://github.com/katmagic/Shallot/pull/37

jroeger23 avatar Aug 27 '18 18:08 jroeger23