LinuxQuestions.org
Help answer threads with 0 replies.
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 06-06-2013, 05:51 PM   #1
funky445o
LQ Newbie
 
Registered: May 2013
Posts: 17

Rep: Reputation: Disabled
Smile Make errors building aircrack-ng-1.2-beta1


I get these errors in unity linux trying to make aircrack-ng.


[me@localhost aircrack-ng-1.2-beta1]$ make
make -C src all
make[1]: Entering directory `/home/me/Downloads/aircrack-ng-1.2-beta1/src'
gcc -g -W -Wall -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:50:26: error: openssl/hmac.h: No such file or directory
crypto.h:51:25: error: openssl/sha.h: No such file or directory
crypto.h:53:25: error: openssl/rc4.h: No such file or directory
crypto.h:54:25: error: openssl/aes.h: No such file or directory
In file included from aircrack-ng.c:69:
sha1-sse2.h: In function 'calc_4pmk':
sha1-sse2.h:168: warning: implicit declaration of function 'HMAC'
sha1-sse2.h:168: warning: implicit declaration of function 'EVP_sha1'
aircrack-ng.c: In function 'crack_wpa_thread':
aircrack-ng.c:3992: warning: implicit declaration of function 'EVP_md5'
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/home/me/Downloads/aircrack-ng-1.2-beta1/src'
make: *** [all] Error 2

anyone know where I should go to get help?
 
Old 06-08-2013, 02:48 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
error: openssl/hmac.h: No such file or directory . . . etc
You are missing several include files. They could be somewhere, but the compiler can't find them. If you have them, put a symlink to them in /usr/include. If not, get them.
 
Old 06-08-2013, 05:36 PM   #3
funky445o
LQ Newbie
 
Registered: May 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
ok thanks... can you show me how to do it?
 
Old 06-08-2013, 05:40 PM   #4
funky445o
LQ Newbie
 
Registered: May 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
i don't have em.where can I get them?
 
Old 06-09-2013, 09:37 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
To see if they're on the system, run
Code:
updatedb
locate  hmac.h
and repeat for the other 2. The updatedb only needs to be run once.

If you can't find them, google them hmac.h gave me this. Search the html (edit/find) for hmac.h
http://www.aircrack-ng.org/doku.php?id=install_aircrack
 
Old 06-09-2013, 03:36 PM   #6
funky445o
LQ Newbie
 
Registered: May 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
No Skill with linux here.

iget linker errors after installing openssl-1.0.1.c.tar.gz


.
 
Old 06-09-2013, 03:42 PM   #7
funky445o
LQ Newbie
 
Registered: May 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
i tried running those commands but my system dosent recognize those commands.
 
Old 06-09-2013, 05:11 PM   #8
funky445o
LQ Newbie
 
Registered: May 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
Unhappy

the package manager that i have dosent find openssl-dev or libssl-dev.So I think that I am forced to only try to install the openssl tarball and manually build with
./configure
make
make test
make install
I try topost the errors that terminal show of the linking process but the forum software dosent let me, it says somethine about me having tomany images, and only 6 images are permitted.Do you have any idea what I could do to get this working?, I installed openssl that latest version, because I tried to install a earlier version but I would still get those errors(linker).I get errors now with the newer openssl version installed to.Could it be I didnt use the proper commands to ./configure it or something?... Iused to be a windows boy but I switched and am a noob to linux, please excuse my in expierience.
 
Old 06-09-2013, 05:20 PM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
In debian there's a package called apt-file

# apt-get install apt-file
# apt-file update

$ apt-file find sha1-sse2.h

Check whether that package is installed. Install it if it is not. Install the -dev version to have the files normally used when compiling things. Rinse and repeat for all the gotchas you run into. Some packages have a ./doc/ and other places that list the dependencies you will need. Or at least most of them. So be sure to get all the -dev versions of those if you're going to compile things. While still keeping most of your distro on the package management system.
 
Old 06-09-2013, 05:24 PM   #10
funky445o
LQ Newbie
 
Registered: May 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
I don't have apt-get in my distro... I'm running unity linux.. this sux.Sorry .
 
Old 06-09-2013, 05:32 PM   #11
funky445o
LQ Newbie
 
Registered: May 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
I tried downloading apt-file and runnig make but blah blah blah it didnt build.

[root@localhost apt-file]# make
docbook2man apt-file.1.sgml
make: docbook2man: Command not found
make: *** [man] Error 127

I am a baby fetus, at linux... am such a wizard at windows, i feelhelpless .lololol

---------- Post added 06-09-13 at 06:32 PM ----------

I tried downloading apt-file and runnig make but blah blah blah it didnt build.

[root@localhost apt-file]# make
docbook2man apt-file.1.sgml
make: docbook2man: Command not found
make: *** [man] Error 127

I am a baby fetus, at linux... am such a wizard at windows, i feelhelpless .lololol
 
Old 06-09-2013, 06:06 PM   #12
funky445o
LQ Newbie
 
Registered: May 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
I have smart package manager... It smarter then me, thats for sure :P I hope i dont get booted out of this thread for being so lame.lol
 
Old 06-10-2013, 01:36 AM   #13
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Moved: This thread is more suitable in the Software Forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 06-10-2013, 03:33 AM   #14
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
@funky445o: Most of us use distributions. When you want a package, get it from your distribution's website. Depending on your linux flavour, use yum, apt-get, or whatever it is that installs stuff. The distribution's archives are all mirrored around the world - ftp.heanet.ie for instance has piles on it, as do other sites. If you grab the tarball & compile, you have to have all the dependencies installed - the libs, the includes, everything it needs, correct versions too.
 
Old 06-10-2013, 07:05 AM   #15
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Without apt-file there's always google. You're probably not the only one with the issue. Although finding the solution is sometimes the needle in a haystack of a thousand other unsolved issues just like yours. But to get you started:

In debian
openssl/crypto.h is in package libssl-dev

There's also egrep to find words recursively in a directory tree. Which can be used to find the affected source element and get acquainted with the context of the issue. Sometimes you can bypass compile errors by passing a few --disable-??? or --without-??? parameters to configure. There's a reason it's a beta driver, not an alpha one. As you're probably finding out. In the old days anything with a version number < 1 was technically a beta version. But there were/are a lot of good and working betas out there.
 
  


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
Blimps software - Weird compile errors during make install after a make depend aafc Linux - Software 3 09-19-2012 10:07 AM
how to make BCM4312 capable with aircrack injection? divaniti Linux - Newbie 4 03-03-2011 04:45 PM
libogg not installing, make and make install don't give errors, but fail lilmike Linux - Newbie 6 11-14-2009 07:33 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM

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

All times are GMT -5. The time now is 11:53 AM.

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