Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fe6c55e9579b238d5b817bb59905fa22@smtp.hushmail.com>
Date: Sun, 30 Nov 2014 17:09:35 +0100
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: OpenMP on FreeBSD ?

On 2014-11-29 20:35, Patrick Proniewski wrote:
> On 29 nov. 2014, at 19:56, magnum wrote:
>>> ie. it fails on `pkg-config --exists --print-errors "openssl"`
>>
>> Ahaa... I never loved the idea of using pkg-config. What if you add --disable-pkg-config to what you had above? Oh, and add "-lssl" to LDFLAGS too.
>>
>> ./configure --disable-pkg-config CC=gcc49 LDFLAGS="-L/usr/lib -L/usr/local/lib/gcc49 -lssl" CFLAGS="-g -O2 -I/usr/include/openssl"
>
> That's way better, thanks:

> Next step's not so good unfortunately:
>
> 	$ gmake -sj4
> 	DES_std.c: In function 'DES_std_set_key':
> 	DES_std.c:637:17: warning: array subscript is above array bounds [-Warray-bounds]
> 	   while (DES_key[i++]) k += 2;
> 	                 ^
> 	/usr/local/bin/ar: creating aes.a
> 	DES_bs_b.o: In function `DES_bs_crypt_25':
> 	/home/patpro/JohnTheRipper-2d8f25e/src/DES_bs_b.c:1363: undefined reference to `GOMP_parallel'
> 	DES_bs_b.o: In function `DES_bs_crypt':
> 	/home/patpro/JohnTheRipper-2d8f25e/src/DES_bs_b.c:1495: undefined reference to `GOMP_parallel'
> 	DES_bs_b.o: In function `DES_bs_crypt_LM':
> 	/home/patpro/JohnTheRipper-2d8f25e/src/DES_bs_b.c:1662: undefined reference to `GOMP_parallel'
> 	DES_bs_b.o: In function `DES_bs_crypt_plain':
> 	/home/patpro/JohnTheRipper-2d8f25e/src/DES_bs_b.c:1825: undefined reference to `GOMP_parallel'
> 	MD5_fmt.o: In function `crypt_all':
> 	/home/patpro/JohnTheRipper-2d8f25e/src/MD5_fmt.c:267: undefined reference to `GOMP_parallel'
> 	MD5_std.o:/home/patpro/JohnTheRipper-2d8f25e/src/MD5_std.c:962: more undefined references to `GOMP_parallel' follow
> 	collect2: error: ld returned 1 exit status
> 	Makefile:294: recipe for target '../run/john' failed
> 	gmake[1]: *** [../run/john] Error 1
> 	Makefile:185: recipe for target 'default' failed
> 	gmake: *** [default] Error 2

Did you run a "make clean" before this?

What if you use just "./configure --disable-pkg-config CC=gcc49" and 
don't supply any other things? Does that fail?

magnum

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.