Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 17 Feb 2006 21:15:18 +0100
From: thomas springer <thomas.springer@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: compilation-error with cygwin

hmm - the ntlm-patch needs libdes too - and compiling and decrypting
ntlm-hashes works, so libdes seems to be installed and working...

funny:
i built libdes 4.04b again

i tried putting des.h in the appropriate dir or even in johns
source-dir, things get better then, but still don't work out:

$ make win32-cygwin-x86-mmx
cp x86-mmx.h arch.h
make ../run/john.exe ../run/unshadow.exe ../run/unafs.exe ../run/unique.exe ../r
un/undrop.exe \
JOHN_OBJS="DES_fmt.o DES_std.o DES_bs.o BSDI_fmt.o MD5_fmt.o MD5_std.o MD5_apach
e_fmt.o BFEgg_fmt.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o DOMINOSEC_fmt.o lotus5_
fmt.o MYSQL_fmt.o KRB5_fmt.o KRB5_std.o md5_go.o rawMD5go_fmt.o PO_fmt.o md5.o I
PB2_fmt.o rawSHA1_fmt.o NSLDAP_fmt.o sha1.o base64.o NT_fmt.o md4.o smbencrypt.o
 mscash_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o c
rc32.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 sign
als.o single.o status.o tty.o wordlist.o unshadow.o unafs.o undrop.o unique.o x8
6.o x86-mmx.o" \
        CFLAGS="-c -Wall -O2 -fomit-frame-pointer -I/usr/local/include -L/usr/lo
cal/lib -mpreferred-stack-boundary=2" \
        ASFLAGS="-c -DUNDERSCORES"
make[1]: Entering directory `/cygdrive/r/src'
gcc DES_fmt.o DES_std.o DES_bs.o BSDI_fmt.o MD5_fmt.o MD5_std.o MD5_apache_fmt.o
 BFEgg_fmt.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o DOMINOSEC_fmt.o lotus5_fmt.o M
YSQL_fmt.o KRB5_fmt.o KRB5_std.o md5_go.o rawMD5go_fmt.o PO_fmt.o md5.o IPB2_fmt
.o rawSHA1_fmt.o NSLDAP_fmt.o sha1.o base64.o NT_fmt.o md4.o smbencrypt.o mscash
_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o crc32.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 s
ingle.o status.o tty.o wordlist.o unshadow.o unafs.o undrop.o unique.o x86.o x86
-mmx.o -lkernel32 -o ../run/john.exe
KRB5_std.o:KRB5_std.c:(.text+0x25): undefined reference to `_des_set_key'
KRB5_std.o:KRB5_std.c:(.text+0x42): undefined reference to `_des_set_key'
KRB5_std.o:KRB5_std.c:(.text+0x5c): undefined reference to `_des_set_key'
KRB5_std.o:KRB5_std.c:(.text+0x35d): undefined reference to `_des_ede3_cbc_encry
pt'
KRB5_std.o:KRB5_std.c:(.text+0x3b5): undefined reference to `_des_ede3_cbc_encry
pt'
KRB5_std.o:KRB5_std.c:(.text+0x416): undefined reference to `_des_ede3_cbc_encry
pt'
KRB5_std.o:KRB5_std.c:(.text+0x5e9): undefined reference to `_des_set_odd_parity
'
KRB5_std.o:KRB5_std.c:(.text+0x5f7): undefined reference to `_des_set_odd_parity
'
KRB5_std.o:KRB5_std.c:(.text+0x5ff): undefined reference to `_des_set_odd_parity
'
KRB5_std.o:KRB5_std.c:(.text+0x820): undefined reference to `_des_set_key'
KRB5_std.o:KRB5_std.c:(.text+0x832): undefined reference to `_des_set_key'
KRB5_std.o:KRB5_std.c:(.text+0x83e): undefined reference to `_des_set_key'
KRB5_std.o:KRB5_std.c:(.text+0x875): undefined reference to `_des_ede3_cbc_encry
pt'
KRB5_std.o:KRB5_std.c:(.text+0xe31): undefined reference to `_des_set_odd_parity
'
KRB5_std.o:KRB5_std.c:(.text+0xe3f): undefined reference to `_des_set_odd_parity
'
KRB5_std.o:KRB5_std.c:(.text+0xe47): undefined reference to `_des_set_odd_parity
'
collect2: ld returned 1 exit status
make[1]: *** [../run/john.exe] Error 1
make[1]: Leaving directory `/cygdrive/r/src'
make: *** [win32-cygwin-x86-mmx] Error 2

clueless,

tom

On 2/17/06, Solar Designer <solar@...nwall.com> wrote:
> On Fri, Feb 17, 2006 at 07:55:37PM +0100, thomas springer wrote:
> > compiling john with multipatch under cygwin gives me an error - could
> > this be related to the missing "des.h" ??
>
> Of course, it is related.  So my guess was correct - you either do not
> have libdes installed, or it is not available for use during this build.
>
> > KRB5_fmt.c:31:17: des.h: No such file or directory
>
> --
> Alexander Peslyak <solar at openwall.com>
> GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598
> http://www.openwall.com - bringing security into open computing environments
>
> Was I helpful?  Please give your feedback here: http://rate.affero.net/solar
>
> --
> To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
> to the automated confirmation request that will be sent to you.
>
>


--
thomas.springer@...il.com
[nach mir der synflood.]

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.