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:20:31 +0200
From: magnum <>
Subject: Re: build error for linux-x86-native (c3:fmt.c): undefined
 reference to `crypt'

On 2012-06-26 10:11, Frank Dittrich wrote:
> 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?

Yes but I don't have time.

>> Did you by any chance forget to make clean?
> No.

Actually we could just drop this make target. If you have to resort to a 
32-bit build, you don't have XOP or AVX anyway so linux-x86-sse2i is a 
better target. I was unsure about Atom, but googling "intel +atom +xop" 
or "intel +atom +avx" both result in zero hits.


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.