Skip to content
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

Make error #5

Closed
escugs opened this issue Nov 22, 2016 · 9 comments
Closed

Make error #5

escugs opened this issue Nov 22, 2016 · 9 comments

Comments

@escugs
Copy link

escugs commented Nov 22, 2016

:/bully/src$ make
cc -Ipwd -Ipwd/utils/ -Ipwd/tls/ -Ipwd/wps/ -Ipwd/crypto/ -Ipwd/common/ -o bully bully.c -lpcap -lssl -lcrypto
In file included from bully.c:65:0:
crypto/crypto_openssl.c: In function ‘openssl_digest_vector’:
crypto/crypto_openssl.c:81:13: error: storage size of ‘ctx’ isn’t known
EVP_MD_CTX ctx;
^
crypto/crypto_openssl.c: In function ‘rc4_skip’:
crypto/crypto_openssl.c:148:17: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^
crypto/crypto_openssl.c: At top level:
crypto/crypto_openssl.c:301:17: error: field ‘enc’ has incomplete type
EVP_CIPHER_CTX enc;
^
crypto/crypto_openssl.c:302:17: error: field ‘dec’ has incomplete type
EVP_CIPHER_CTX dec;
^
crypto/crypto_openssl.c: In function ‘dh5_init’:
crypto/crypto_openssl.c:426:4: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
dh->g = BN_new();
^
OS : Ubuntu
sudo apt-get install build-essential libssl-dev libpcap-dev aircrack-ng
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
libpcap-dev is already the newest version (1.7.4-2).
aircrack-ng is already the newest version (1:1.2-0
beta3-4).
libssl-dev is already the newest version (1.0.2g-1ubuntu4.5).
0 to upgrade, 0 to newly install, 0 to remove

@MatthewHKnight
Copy link

Yeah I noticed this issue with Kali NetHunter 3.0 for the Oneplus One looks like the repos are 404'ed so it's not wanting to compile. I'm not much of a Linux trouble shooter I'd say that this project was possibly abandon sadly.

Was good why it lasted.

@needanevo
Copy link

This is the last program i need to get fluxion running. Someone please fix the make file! It appears that the pcap.h file is missing. Anyone know where it is so I can make this install?

cc -Ipwd -Ipwd/utils/ -Ipwd/tls/ -Ipwd/wps/ -Ipwd/crypto/ -Ipwd/common/ -o bully bully.c -lpcap -lssl -lcrypto
bully.c:26:18: fatal error: pcap.h: No such file or directory
#include <pcap.h>
^
compilation terminated.
Makefile:19: recipe for target 'bully' failed
make: *** [bully] Error 1

@soxrok2212
Copy link
Collaborator

soxrok2212 commented Nov 30, 2016

You don't have the latest version of libpcap. Try this:
apt-get remove libpcap-dev
apt-get install libpcap0.8-dev

@MatthewHKnight
Copy link

Na that doesn't work either it appears something is up with Kali Linux Repo's they appear to be throwing a 404 for where you download the libpcap0.8-dev

@needanevo
Copy link

needanevo commented Nov 30, 2016 via email

@soxrok2212
Copy link
Collaborator

It will compile regardless of your wireless card. In regards to the Kali repos, perhaps try updating to their latest version or try switching to a different distro.

@needanevo
Copy link

needanevo commented Dec 1, 2016 via email

@soxrok2212
Copy link
Collaborator

The problem is not in the distro itself, but if the repos do not have new versions of software then there will be problems unless you want to install it manually. You need libpcap0.8-dev. That is why you are receiving a pcap error.

@wiire-a
Copy link
Collaborator

wiire-a commented Mar 30, 2017

@escugs

Now (ea0cdd9) it should compile with the previous version of OpenSSL (libssl1.0-dev).

Please refer to #12.

@wiire-a wiire-a closed this as completed Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants