LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-30-2004, 04:57 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
John the ripper


I was just trying to install john the ripper but it can't be installed. Here's the errors:
Code:
root@garanka:/usr/local/Install/john-1.6/src$ make
To build John the Ripper, type:
        make SYSTEM
where SYSTEM can be one of the following:
linux-x86-any-elf        Linux, x86, ELF binaries
linux-x86-mmx-elf        Linux, x86 with MMX, ELF binaries
linux-x86-k6-elf         Linux, AMD K6, ELF binaries
linux-x86-any-a.out      Linux, x86, a.out binaries
linux-alpha              Linux, Alpha
linux-sparc              Linux, SPARC
freebsd-x86-any-a.out    FreeBSD, x86, a.out binaries
freebsd-x86-k6-a.out     FreeBSD, AMD K6, a.out binaries
freebsd-x86-any-elf      FreeBSD, x86, ELF binaries
freebsd-x86-mmx-elf      FreeBSD, x86 with MMX, ELF binaries
freebsd-x86-k6-elf       FreeBSD, AMD K6, ELF binaries
openbsd-x86-any          OpenBSD, x86
openbsd-x86-k6           OpenBSD, AMD K6
solaris-sparc-gcc        Solaris, SPARC, gcc
solaris-sparc-v8-cc      Solaris, SPARC V8, cc
solaris-sparc-v9-cc      Solaris, SPARC V9, cc
solaris-x86-any          Solaris, x86, gcc
solaris-x86-k6           Solaris, AMD K6, gcc
digital-alpha-cc         Digital UNIX, Alpha, cc
aix-ppc-cc               AIX, PowerPC, cc
hpux-pa-risc-gcc         HP-UX, PA-RISC, gcc
hpux-pa-risc-cc          HP-UX, PA-RISC, cc
irix-mips32-cc           IRIX, MIPS 32-bit, cc
irix-mips64-cc           IRIX, MIPS 64-bit, cc
dos-djgpp-x86-any        DOS, DJGPP 2.x, x86
dos-djgpp-x86-mmx        DOS, DJGPP 2.x, x86 with MMX
dos-djgpp-x86-k6         DOS, DJGPP 2.x, AMD K6
win32-cygwin-x86-any     Win32, Cygwin, x86
win32-cygwin-x86-mmx     Win32, Cygwin, x86 with MMX
win32-cygwin-x86-k6      Win32, Cygwin, AMD K6
generic                  Any other UNIX system with gcc
root@garanka:/usr/local/Install/john-1.6/src$ make generic
rm -f arch.h
gcc -c -Wall -O2 -fomit-frame-pointer detect.c
gcc -s 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 `/usr/local/Install/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 -s 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(.text+0x56e): In function `MD5_std_crypt':
: undefined reference to `MD5_body'
MD5_std.o(.text+0x645): In function `MD5_std_crypt':
: undefined reference to `MD5_body'
MD5_std.o(.text+0x66e): In function `MD5_std_crypt':
: undefined reference to `MD5_body'
MD5_std.o(.text+0x691): In function `MD5_std_crypt':
: undefined reference to `MD5_body'
MD5_std.o(.text+0x6a2): In function `MD5_std_crypt':
: undefined reference to `MD5_body'
MD5_std.o(.text+0x6c5): more undefined references to `MD5_body' follow
BF_std.o(.text+0x205): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x250): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x26b): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x28e): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x2aa): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x2cf): more undefined references to `BF_current' follow
BF_std.o(.text+0xf87): In function `BF_std_crypt':
: undefined reference to `BF_body'
BF_std.o(.text+0xf9c): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0xfa2): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0xfa8): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0xfae): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0xfb4): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0xfba): more undefined references to `BF_current' follow
BF_std.o(.text+0x1007): In function `BF_std_crypt':
: undefined reference to `BF_body'
BF_std.o(.text+0x1016): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x101c): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x1029): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x102f): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x103c): In function `BF_std_crypt':
: undefined reference to `BF_current'
BF_std.o(.text+0x1042): more undefined references to `BF_current' follow
collect2: ld returned 1 exit status
make[1]: *** [bench] Error 1
make[1]: Leaving directory `/usr/local/Install/john-1.6/src'
make: *** [generic.h] Error 1
I have tried other "system"'s before but none worked. I am not so sure what I should use as "system", but here's what uname gives:
Code:
Linux garanka 2.6.9 #0 SMP Mon Nov 8 18:27:36 CET 2004 i686 unknown unknown GNU/Linux
 
Old 11-30-2004, 05:00 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Try this one: linux-x86-any-elf
 
Old 12-01-2004, 12:27 AM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
Quote:
Originally posted by XavierP
Try this one: linux-x86-any-elf
Less errors, but still errors. Now I don't know if it's me that's doing wrong or if it's the sourcecode.

Code:
root@garanka:/usr/local/Install/john-1.6/src$ make linux-x86-any-elf
ln -sf x86-any.h arch.h
make ../run/john ../run/unshadow ../run/unafs ../run/unique \
JOHN_OBJS="DES_fmt.o DES_std.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o external.o formats.o getopt.o idle.o inc.o john.o list.o loader.o logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o rules.o signals.o single.o status.o tty.o wordlist.o unshadow.o unafs.o unique.o x86.o" \
        CFLAGS="-c -Wall -O2 -fomit-frame-pointer -m486"
make[1]: Entering directory `/usr/local/Install/john-1.6/src'
gcc -s DES_fmt.o DES_std.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o external.o formats.o getopt.o idle.o inc.o john.o list.o loader.o logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o rules.o signals.o single.o status.o tty.o wordlist.o unshadow.o unafs.o unique.o x86.o -o ../run/john
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: Warning: alignment 32 of symbol `DES_KS_current' in x86.o is smaller than 128 in DES_std.o
x86.o(.data+0xf60): In function `DES_std_crypt':
: multiple definition of `DES_std_crypt'
DES_std.o(.text+0x2020): first defined here
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: Warning: alignment 32 of symbol `DES_KS_table' in x86.o is smaller than 128 in DES_std.o
collect2: ld returned 1 exit status
make[1]: *** [../run/john] Error 1
make[1]: Leaving directory `/usr/local/Install/john-1.6/src'
make: *** [linux-x86-any-elf] Error 2
 
  


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 install help Daz_Man2803 Linux - Software 7 06-12-2004 01:12 PM
John the Ripper settings samshiver Linux - Software 2 02-06-2004 04:12 PM
John the Ripper (and a lammer friend) ssobeht Linux - Security 16 11-11-2003 03:09 PM

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

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