Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 4 Jul 2008 02:42:18 -0400
From: "madfran" <>
Subject: Re: patch for SAP-passwords (BCODE & PASSCODE)


I am trying to link the patch for SAP, but with no succes :-(

>Hello everyone,

>This patch was tested on linux/x86 only and we're quite sure it
>won't work on any other architecture w/o modifications. Sorry for
>that ;-) But: feel free to adjust/port/modify the code! Hints about
>adjustments to be made are welcome :-) 

My configuration is cygwin under Windows XP.
Attached the relevant output when I try to link.

Any idea?

$ make clean win32-cygwin-x86-sse2
gcc -c -DUNDERSCORES x86.S
gcc -c -DUNDERSCORES x86-sse.S
gcc DES_fmt.o DES_std.o DES_bs.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o 
o AFS_fmt.o LM_fmt.o batch.o bench.o charset.o common.o compiler.o config.o 
ker.o crc32.o external.o formats.o getopt.o idle.o inc.o john.o list.o 
logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o 
.o signals.o single.o status.o tty.o wordlist.o unshadow.o unafs.o unique.o 
HA1_fmt.o rawMD5_fmt.o sapG_fmt.o sapB_fmt.o  x86.o x86-sse.o -lkernel32 -
o ../r
rawSHA1_fmt.o:rawSHA1_fmt.c:(.text+0x20b): undefined reference to `_SHA1_Init'
rawSHA1_fmt.o:rawSHA1_fmt.c:(.text+0x230): undefined reference to 

rawSHA1_fmt.o:rawSHA1_fmt.c:(.text+0x245): undefined reference to 
rawMD5_fmt.o:rawMD5_fmt.c:(.text+0x25b): undefined reference to `_MD5_Init'
rawMD5_fmt.o:rawMD5_fmt.c:(.text+0x280): undefined reference to `_MD5_Update'
rawMD5_fmt.o:rawMD5_fmt.c:(.text+0x295): undefined reference to `_MD5_Final'
sapG_fmt.o:sapG_fmt.c:(.text+0x680): undefined reference to `_SHA1_Init'
sapG_fmt.o:sapG_fmt.c:(.text+0x6d0): undefined reference to `_SHA1_Update'
sapG_fmt.o:sapG_fmt.c:(.text+0x6e5): undefined reference to `_SHA1_Final'
sapG_fmt.o:sapG_fmt.c:(.text+0x76f): undefined reference to `_SHA1_Init'
sapG_fmt.o:sapG_fmt.c:(.text+0x788): undefined reference to `_SHA1_Update'
sapG_fmt.o:sapG_fmt.c:(.text+0x798): undefined reference to `_SHA1_Final'
sapB_fmt.o:sapB_fmt.c:(.text+0x57a): undefined reference to `_MD5_Init'
sapB_fmt.o:sapB_fmt.c:(.text+0x59f): undefined reference to `_MD5_Update'
sapB_fmt.o:sapB_fmt.c:(.text+0x5f2): undefined reference to `_MD5_Update'
sapB_fmt.o:sapB_fmt.c:(.text+0x607): undefined reference to `_MD5_Final'
sapB_fmt.o:sapB_fmt.c:(.text+0x708): undefined reference to `_MD5_Init'
sapB_fmt.o:sapB_fmt.c:(.text+0x724): undefined reference to `_MD5_Update'
sapB_fmt.o:sapB_fmt.c:(.text+0x739): undefined reference to `_MD5_Final'
collect2: ld returned 1 exit status
make[1]: *** [../run/john.exe] Error 1

To unsubscribe, e-mail and reply
to the automated confirmation request that will be sent to you.

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.