Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CANWtx030Z3A_uCibao9jp2eFc2JU7HgT-O6xac3QHed5fQQbgg@mail.gmail.com>
Date: Mon, 10 Dec 2012 09:48:04 -0500
From: Rich Rumble <richrumble@...il.com>
To: john-users@...ts.openwall.com
Subject: MinGW 1.7.9-j7 compile (was: enable ASLR or/and DEP for Windows
 builds of JtR)

On Sun, Dec 9, 2012 at 10:08 PM, magnum <john.magnum@...hmail.com> wrote:
> On 10 Dec, 2012, at 4:02 , Rich Rumble <richrumble@...il.com> wrote:
>> Failed quickly for me: (john-1.7.9-jumbo-7)
>> In file included from dynamic_fmt.c:69:0:
>> sha.h:4:25: fatal error: openssl/sha.h: No such file or directory
>
> This just means you need to install openssl header files to your mingw environment.
Corrected that, as well as a Zlib fail along the same lines, then I got this:

l/lib -lssl -lcrypto -lm -lz    -lkernel32 -o ../run/john-mingw.exe
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x8f):
undefined reference to `_shutdown@8'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x9d):
undefined reference to `_closesocket@4'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0xd1):
undefined reference to `_WSASetLastError@4'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0xf5):
undefined reference to `_send@16'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x129):
undefined reference to `_WSAGetLastError@0'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x170):
undefined reference to `_WSASetLastError@4'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x18c):
undefined reference to `_send@16'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x1c9):
undefined reference to `_WSAGetLastError@0'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x209):
undefined reference to `_WSASetLastError@4'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x229):
undefined reference to `_recv@16'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x269):
undefined reference to `_WSAGetLastError@0'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x38f):
undefined reference to `_shutdown@8'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x39d):
undefined reference to `_closesocket@4'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x421):
undefined reference to `_WSAGetLastError@0'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xef0):
undefined reference to `_CreateDCA@16'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xeff):
undefined reference to `_CreateCompatibleDC@4'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xf18):
undefined reference to `_GetDeviceCaps@8'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xf33):
undefined reference to `_GetDeviceCaps@8'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xf54):
undefined reference to `_CreateCompatibleBitmap@12'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xf6b):
undefined reference to `_SelectObject@8'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xf8e):
undefined reference to `_GetObjectA@12'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x1037):
undefined reference to `_BitBlt@36'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x104e):
undefined reference to `_GetBitmapBits@12'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x10c3):
undefined reference to `_SelectObject@8'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x10ce):
undefined reference to `_DeleteObject@4'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x10db):
undefined reference to `_DeleteDC@4'
C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x10e8):
undefined reference to `_DeleteDC@4'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [../run/john-mingw.exe] Error 1
make[1]: Leaving directory `/c/cygwin/john-1.7.9-jumbo-7/src'
make: *** [win32-mingw-x86-sse2i] Error 2

Not sure about this one... my version of ssl is OpenSSL 1.0.0 29 Mar 2010
-rich

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.