Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <46ADFD78-6AFF-4876-A4F3-F9E5F02503F0@patpro.net>
Date: Sat, 29 Nov 2014 20:35:27 +0100
From: Patrick Proniewski <patpro@...pro.net>
To: john-users@...ts.openwall.com
Subject: Re: OpenMP on FreeBSD ?

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:

	Configured for building John the Ripper 1.8.0.2-bleeding-jumbo:
	
	Target CPU .................................. x86_64 AVX, 64-bit LE
	AES-NI support .............................. depends on OpenSSL
	Target OS ................................... freebsd9.3
	Cross compiling ............................. no
	Legacy arch header .......................... x86-64.h
	OpenMPI support (default disabled) .......... no
	Fork support ................................ yes
	OpenMP support .............................. yes
	OpenCL support .............................. no
	CUDA support ................................ no
	Generic crypt(3) format ..................... yes
	
	Optional libraries found:
	Rexgen (extra cracking mode) ................ no
	GMP (performance) ........................... yes
	Kerberos5 (krb5-18 format) .................. no
	PCAP (vncpcap2john and SIPdump) ............. yes
	BZ2 (gpg2john extra decompression logic) .... yes
	Memdbg memory debugging settings ............ release (off)

	Install missing libraries to get any needed features that were omitted.

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


patpro

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.