LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2011, 05:37 AM   #1
marene
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Rep: Reputation: 0
Error in installing Aircrack


Please i need help






make -C src all
make[1]: Entering directory `/down/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/down/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/down/aircrack-ng-1.1/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/down/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/down/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:
crypto.h:12:26: error: openssl/hmac.h: No such file or directory
crypto.h:13:25: error: openssl/sha.h: No such file or directory
crypto.h:15:25: error: openssl/rc4.h: No such file or directory
crypto.h:16:25: error: openssl/aes.h: No such file or directory
cc1: warnings being treated as errors
In file included from aircrack-ng.c:69:
sha1-sse2.h: In function ‘calc_4pmk’:
sha1-sse2.h:140: warning: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: warning: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3934: warning: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/down/aircrack-ng-1.1/src'
make: *** [all] Error 2
[root@localhost aircrack-ng-1.1]#
 
Old 01-20-2011, 08:36 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by marene View Post
Please i need help

make -C src all
make[1]: Entering directory `/down/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/down/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/down/aircrack-ng-1.1/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/down/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/down/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:
crypto.h:12:26: error: openssl/hmac.h: No such file or directory
crypto.h:13:25: error: openssl/sha.h: No such file or directory
crypto.h:15:25: error: openssl/rc4.h: No such file or directory
crypto.h:16:25: error: openssl/aes.h: No such file or directory
cc1: warnings being treated as errors
In file included from aircrack-ng.c:69:
sha1-sse2.h: In function ‘calc_4pmk’:
sha1-sse2.h:140: warning: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: warning: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3934: warning: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/down/aircrack-ng-1.1/src'
make: *** [all] Error 2
[root@localhost aircrack-ng-1.1]#
Would help if you provided details, like version/distro of Linux, etc.

If you tried to look up the error, you'd see it was because you don't have the openssl development libraries installed. Install them...again, without knowing what you're running, can't tell you how, but they should be in your online repos. And what are you running aircrack to do?
 
Old 01-20-2011, 08:50 AM   #3
marene
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Original Poster
Rep: Reputation: 0
i AM USING CENTOS , VERSION IS 2.6.18 192 EL 5.
 
Old 01-20-2011, 09:01 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Your kernel is 2.6.18 192. You get your version with ' cat /etc/redhat-release '. You will probably find out that you are running C5.5.


A rpm of aircrack is available from the rpmforge. Take a look at the Centos wiki to see about repos.
 
Old 01-20-2011, 11:59 AM   #5
marene
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Original Poster
Rep: Reputation: 0
it was just a tying error
 
Old 01-20-2011, 12:19 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by marene View Post
it was just a tying error
Ok...again, you still need to install the openssl development libraries, which are available through your repos. "yum install openssl-devel" may work, package name may be different.

As lazlow pointed out, there's an RPM of it available too that you can install...and you still don't say what you're trying to accomplish with aircrack.
 
Old 01-20-2011, 07:35 PM   #7
marene
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Original Poster
Rep: Reputation: 0
@ TB0ne

Thanks for your kind reply. i just want to carry out research on how much is the strength of wireless home user around my area in Germany. I don't have any harmful plans to do with it. I want to challenge the companies supplying Internet services in my Area in Karlsruhe-Germany.

I am CCNA, CCNP, RHCE , AND MCITP-SERVER ADMIN
 
Old 01-21-2011, 07:50 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by marene View Post
@ TB0ne

Thanks for your kind reply. i just want to carry out research on how much is the strength of wireless home user around my area in Germany. I don't have any harmful plans to do with it. I want to challenge the companies supplying Internet services in my Area in Karlsruhe-Germany.
If you want to start your own ISP, you certainly don't need to know how strong peoples wireless security is. And we only have your WORD that you won't do anything harmful with it.
Quote:
I am CCNA, CCNP, RHCE , AND MCITP-SERVER ADMIN
With all those certifications, including an RHCE, you should easily be able to identify/install the missing library, or the package from source.
 
Old 01-22-2011, 04:40 AM   #9
marene
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Original Poster
Rep: Reputation: 0
@ TB0ne

tHANKS MAN
 
Old 01-22-2011, 07:14 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by marene View Post
@ TB0ne

Thanks for your kind reply. i just want to carry out research on how much is the strength of wireless home user around my area in Germany. I don't have any harmful plans to do with it. I want to challenge the companies supplying Internet services in my Area in Karlsruhe-Germany.
You don't need aircrack to do that. You just need to use any standard wireless scanner (heck iwlist will do the job) too see what kind of encryption is being used. If it is open or WEP, it is not secure. If it is WPA, it is probably OK, but could be improved by moving to WPA2.

There is absolutely no reason to use aircrack.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
getting error(s) while trying to use aircrack-ng on ubuntu 10.4 jiballs Linux - Newbie 3 10-13-2010 08:14 AM
having trouble installing aircrack-ng from tarball baronobeefdip Linux - Software 7 06-19-2010 03:48 PM
Installing aircrack FLCL SUSE / openSUSE 4 05-15-2009 06:04 PM
Problems installing Aircrack jamminbreeze Linux - Newbie 5 01-08-2008 10:01 AM
Error 1 loaing aircrack-ng kimobritton Linux - Software 1 01-29-2007 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration