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 16:54:03 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: build error for linux-x86-native (c3:fmt.c): undefined reference to `crypt'

On Tue, Jun 26, 2012 at 07:42:23AM +0200, 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

Can you show the linking line?  Does it include -lcrypt?

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.