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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-30-2004, 04:57 PM
|
#1
|
Senior Member
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109
Rep:
|
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
|
|
|
11-30-2004, 05:00 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Try this one: linux-x86-any-elf
|
|
|
12-01-2004, 12:27 AM
|
#3
|
Senior Member
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|