Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <004601cc1107$45fb1d70$d1f15850$@net>
Date: Thu, 12 May 2011 20:47:02 -0400
From: "Robert Harris" <rs904c@...scape.net>
To: <john-users@...ts.openwall.com>
Subject: RE: ITIMER_REAL'  error in bench.c

Jim,

That only seems to apply to SPARC CPUs, and I'm trying to compile on X86.

(I tried it anyway, and it didn't fix the problem.)

-Robert

-----Original Message-----
From: jfoug [mailto:jfoug@....net] 
Sent: Wednesday, May 11, 2011 6:32 PM
To: john-users@...ts.openwall.com
Subject: RE: [john-users] ITIMER_REAL' error in bench.c

I saw the same on Solaris 32bit-cc

I changed my sparc32.h file from
#define OS_TIMER            1
To
#define OS_TIMER            0

You might give it a try.  Not sure what other 'bad' side effects that
caused, but it allowed the build to compile.  I am simply using the solaris
build to 'test' john on a big endian machine.

Jim.

>-----Original Message-----
>From: Robert Harris [mailto:rs904c@...scape.net]
>Sent: Wednesday, May 11, 2011 4:47 PM
>To: john-users@...ts.openwall.com
>Subject: [john-users] ITIMER_REAL' error in bench.c
>
>I get the following error trying to compile
>
>JtR 1.7.7 and JtR 1.7.7 jumbo 1 on Solaris x86.
>
>
>
>bench.c: In function `benchmark_format':
>
>bench.c:96: error: storage size of 'it' isn't known
>
>bench.c:140: warning: implicit declaration of function `setitimer'
>
>bench.c:140: error: `ITIMER_REAL' undeclared (first use in this
>function)
>
>bench.c:140: error: (Each undeclared identifier is reported only once
>
>bench.c:140: error: for each function it appears in.)
>
>bench.c:96: warning: unused variable `it'
>
>*** Error code 1
>
>make: Fatal error: Command failed for target `bench.o'
>
>Current working directory /export/home/rharris/john-1.7.7-WIP-with
>source/src
>
>*** Error code 1
>
>make: Fatal error: Command failed for target `solaris-x86-64-gcc'
>
>
>
>
>
>I goggled this, and see the problem in other programs.
>
>
>
>Please advise
>
>
>
>-Robert B. Harris from VA


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.