Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 8 Jun 2011 00:22:20 -0500
From: "JFoug" <jfoug@....net>
To: <john-dev@...ts.openwall.com>
Subject: Re: 1.7.7-jumbo-6

did not work out of the box:

Got warnings about strtok_r  on Mingw.  I doubt the thread safe stuff is in 
there.  I will get this 'patched', it is trivial.  But I am wondering if 
that is a function which again, is going to cause porting headaches, like 
the strnlen ?

Link errors.

ssh_fmt.o:ssh_fmt.c:(.text+0x4): undefined reference to 
`SSL_load_error_strings'
ssh_fmt.o:ssh_fmt.c:(.text+0x9): undefined reference to `SSL_library_init'
ssh_fmt.o:ssh_fmt.c:(.text+0x88): undefined reference to `strtok_r'
ssh_fmt.o:ssh_fmt.c:(.text+0xbe): undefined reference to `strtok_r'
unssh.o:unssh.c:(.text+0xf): undefined reference to `SSL_load_error_strings'
unssh.o:unssh.c:(.text+0x14): undefined reference to `SSL_library_init'
pdf_fmt.o:pdf_fmt.c:(.text+0x4): undefined reference to 
`SSL_load_error_strings'
pdf_fmt.o:pdf_fmt.c:(.text+0x9): undefined reference to `SSL_library_init'
pdf_fmt.o:pdf_fmt.c:(.text+0x9a): undefined reference to `strtok_r'
pdf_fmt.o:pdf_fmt.c:(.text+0xcc): undefined reference to `strtok_r'
pdf_fmt.o:pdf_fmt.c:(.text+0x203): undefined reference to `strtok_r'
pdf_fmt.o:pdf_fmt.c:(.text+0x323): undefined reference to `strtok_r'
pdf_fmt.o:pdf_fmt.c:(.text+0x356): undefined reference to `strtok_r'
pdf_fmt.o:pdf_fmt.c:(.text+0x3b0): more undefined references to `strtok_r' 
follow
rar_fmt.o:rar_fmt.c:(.text+0x4): undefined reference to 
`SSL_load_error_strings'
rar_fmt.o:rar_fmt.c:(.text+0x9): undefined reference to `SSL_library_init'
rar_fmt.o:rar_fmt.c:(.text+0x8f): undefined reference to `strtok_r'
rar_fmt.o:rar_fmt.c:(.text+0xb0): undefined reference to `strtok_r'
rar_fmt.o:rar_fmt.c:(.text+0x1c6): undefined reference to `strtok_r'
rar_fmt.o:rar_fmt.c:(.text+0x266): undefined reference to `strtok_r'
rar_fmt.o:rar_fmt.c:(.text+0x28c): undefined reference to `strtok_r'
rar_fmt.o:rar_fmt.c:(.text+0x2b2): more undefined references to `strtok_r' 
follow

This was a build straight from jumbo-6-RC3  (mingw).

Tried the same build, cygwin, and received this:

ssh_fmt.o:ssh_fmt.c:(.text+0x1): undefined reference to 
`_SSL_load_error_strings'
ssh_fmt.o:ssh_fmt.c:(.text+0x6): undefined reference to `_SSL_library_init'
unssh.o:unssh.c:(.text+0xf): undefined reference to 
`_SSL_load_error_strings'
unssh.o:unssh.c:(.text+0x14): undefined reference to `_SSL_library_init'
pdf_fmt.o:pdf_fmt.c:(.text+0x1): undefined reference to 
`_SSL_load_error_strings'
pdf_fmt.o:pdf_fmt.c:(.text+0x6): undefined reference to `_SSL_library_init'
rar_fmt.o:rar_fmt.c:(.text+0x1): undefined reference to 
`_SSL_load_error_strings'
rar_fmt.o:rar_fmt.c:(.text+0x6): undefined reference to `_SSL_library_init'
collect2: ld returned 1 exit status
make[1]: *** [../run/john.exe] Error 1
make[1]: Leaving directory 
`/cygdrive/d/phpbb/johnripper/john-1.7.7/john-1.7.7-jumbo-6-RC4/src'
make: *** [win32-cygwin-x86-any] Error 2

So for mingw, I am ignoring the strtok_r (I can deal with that for mingw/VC 
easily).   But for default, without uncommenting the 
# -DHAVE_OPENSSL_SHA256, it looks like builds have link problems.  It may 
fall down on an older version of ssl, but these are both likely running 
0.9.7

Jim.

----- Original Message ----- 
From: "Solar Designer" <solar@...nwall.com>
To: <john-dev@...ts.openwall.com>
Sent: Tuesday, June 07, 2011 9:27 PM
Subject: Re: [john-dev] 1.7.7-jumbo-6


> Dhiru, magnum, Jim, all -
>
> On Wed, Jun 08, 2011 at 05:54:22AM +0400, Solar Designer wrote:
>> Please test and let me know.  The sooner the better.  I am likely to
>> release this as -jumbo-6 proper very soon.
>
> I proceeded to test this myself, resulting in -RC3 (uploaded to the
> wiki) with some issues fixed.  This might actually become the release.
>
> Thanks,
>
> Alexander 

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.