LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-13-2005, 07:55 PM   #1
nic0
LQ Newbie
 
Registered: Dec 2005
Posts: 8

Rep: Reputation: 0
John the Ripper [Install Troubles]


Code:
nic0@nic0:~/john-1.6/src$ sudo make generic
rm -f arch.h
gcc -c -Wall -O2 -fomit-frame-pointer detect.c
gcc  detect.o -o detect
./best.sh "make" \
        "DES_fmt.o DES_std.o" \
        "MD5_std.o" \
        "BF_std.o"
Compiling: DES benchmark (code version #1)
make[1]: Entering directory `/home/nic0/john-1.6/src'
gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops DES_fmt.c
gcc -c -Wall -O2 -fomit-frame-pointer -funroll-loops DES_std.c
gcc  DES_bs.o DES_bs_b.o DES_fmt.o DES_std.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o bench.o best.o common.o config.o formats.o memory.o misc.o params.o path.o signals.o tty.o -o bench
MD5_std.o: In function `MD5_std_crypt':
MD5_std.c:(.text+0x746): undefined reference to `MD5_body'
MD5_std.c:(.text+0x80c): undefined reference to `MD5_body'
MD5_std.c:(.text+0x82e): undefined reference to `MD5_body'
MD5_std.c:(.text+0x851): undefined reference to `MD5_body'
MD5_std.c:(.text+0x863): undefined reference to `MD5_body'
MD5_std.o:MD5_std.c:(.text+0x886): more undefined references to `MD5_body' follow
BF_std.o: In function `BF_std_crypt':
BF_std.c:(.text+0x362): undefined reference to `BF_current'
BF_std.c:(.text+0x376): undefined reference to `BF_current'
BF_std.c:(.text+0x3a8): undefined reference to `BF_current'
BF_std.c:(.text+0x3c5): undefined reference to `BF_current'
BF_std.c:(.text+0x3cc): undefined reference to `BF_current'
BF_std.o:BF_std.c:(.text+0x3d3): more undefined references to `BF_current' follow
BF_std.o: In function `BF_std_crypt':
BF_std.c:(.text+0x1030): undefined reference to `BF_body'
BF_std.c:(.text+0x1053): undefined reference to `BF_current'
BF_std.c:(.text+0x1059): undefined reference to `BF_current'
BF_std.c:(.text+0x105f): undefined reference to `BF_current'
BF_std.c:(.text+0x1065): undefined reference to `BF_current'
BF_std.c:(.text+0x106b): undefined reference to `BF_current'
BF_std.o:BF_std.c:(.text+0x1071): more undefined references to `BF_current' follow
BF_std.o: In function `BF_std_crypt':
BF_std.c:(.text+0x10be): undefined reference to `BF_body'
BF_std.c:(.text+0x10d8): undefined reference to `BF_current'
BF_std.c:(.text+0x10e2): undefined reference to `BF_current'
BF_std.c:(.text+0x10ec): undefined reference to `BF_current'
BF_std.c:(.text+0x10f6): undefined reference to `BF_current'
BF_std.c:(.text+0x1100): undefined reference to `BF_current'
BF_std.o:BF_std.c:(.text+0x110a): more undefined references to `BF_current' follow
collect2: ld returned 1 exit status
make[1]: *** [bench] Error 1
make[1]: Leaving directory `/home/nic0/john-1.6/src'
make: *** [generic.h] Error 1
nic0@nic0:~/john-1.6/src$
I've tried absolutely everything. I tried compiling when with -i to ignore errors; nothing. I'm running Kubuntu/Ubuntu (GNOME/KDE).

Any suggestions?
 
Old 12-13-2005, 09:26 PM   #2
int0x80
Member
 
Registered: Sep 2002
Posts: 310

Rep: Reputation: Disabled
Isn't Ubuntu built on Debian? Try doing the following:

Code:
sudo apt-get update
sudo apt-get install john
 
Old 12-14-2005, 02:48 PM   #3
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Try a target other than generic, such as linux-xxx

Be careful with john because it puts enough stress on your processor generating alerts on temperature.
 
Old 12-14-2005, 04:08 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
If you're using Mandriva goto http://easyurpmi.zarb.org and setup the repositories, then install the package john using menu->System->Configuration->Packaging->Install Software.

If using RHEL, Centos or Fedora setup the dag repository for your yum config (google 'Dag Wieers') and yum install john

In short most distros already have packages for this.
 
  


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
john the ripper re2 Linux - Security 5 02-26-2005 11:06 PM
John the Ripper Baix Linux - Software 2 02-21-2005 11:05 AM
John the ripper Ephracis Linux - Software 2 12-01-2004 12:27 AM
john the ripper install help Daz_Man2803 Linux - Software 7 06-12-2004 01:12 PM
John the ripper install problems help? crealkillerI75 Linux - General 3 08-25-2002 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:07 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