Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 26 Jun 2012 10:11:29 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: build error for linux-x86-native (c3:fmt.c): undefined
 reference to `crypt'

On 06/26/2012 09:41 AM, magnum wrote:
> On 2012-06-26 07:42, Frank Dittrich wrote:
>> $ make linux-x86-native>  /dev/null
>> c3_fmt.o: In function `crypt_all':
>> c3_fmt.c:(.text+0x8be): undefined reference to `crypt'
>> c3_fmt.c:(.text+0x919): undefined reference to `crypt'
>> c3_fmt.c:(.text+0x94b): undefined reference to `crypt'
>> c3_fmt.c:(.text+0x975): undefined reference to `crypt'
>> c3_fmt.c:(.text+0x9a7): undefined reference to `crypt'
>> c3_fmt.o:c3_fmt.c:(.text+0x9d4): more undefined references to `crypt'
>> follow
>> collect2: ld returned 1 exit status
>> make[1]: *** [../run/john] Error 1
>> make: *** [linux-x86-native] Error 2
>>
> 
> That does not make sense but I can't test it.

I know it looks very strange.
Can't you boot a 32bit Ubuntu Live CD? Or install a 32bit Linux in a VM?

> Did you by any chance forget to make clean?

No.

First I used make clean linux-x86-native

When I got the error message, I tried to figure out what change could
have caused this by using git blame c3_fmt.c.
To see the error again, I just used make linux-x86-native (without clean).

I should have made this clear in my mail.

I am not even sure whether this is a regression or whether it never
worked. may be I tried -native only for linux-x86-64, and this was my
first attempt with 32bit linux.

Frank

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.