Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111105134616.GA13146@openwall.com>
Date: Sat, 5 Nov 2011 17:46:16 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: Linux MIPS

On Sat, Nov 05, 2011 at 07:25:59AM -0400, Nigel Sollars wrote:
> Patched up the source and tried to build with and without MPI /
> -march=mips64 and I get this,

Your CPU is not a MIPS64 one.  It is a 64-bit capable MIPS III CPU.
Per gcc documentation, it appears that the right options to enable
64-bit integer code for you would be "-mips3 -mgp64".  (You're correct
that plain -m64 is somehow not there for MIPS.)  But this won't solve
your build problem, indeed.  So please get things to build first, then
try to improve upon that.

> mpicc -DHAVE_MPI -DJOHN_MPI_BARRIER -DJOHN_MPI_ABORT john-mpi.o DES_fmt.o
> DES_std.o DES_bsg.o DES_bs_b.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o
> bench-t.o best.o common.o config_g.o formats.o math.o memory.o miscnl.o
> params.o path.o signals.o tty.o -s -L/usr/local/lib -L/usr/local/ssl/lib
> -lcrypto -lssl -lm -lz  -o bench
> formats.o: In function `fmt_init':
> /usr/src/john-1.7.8-jumbo-7/src/formats.c:32: undefined reference to
> `options'

Per magnum's advice, please try "make clean", then "make generic" again.

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.