|
Message-ID: <6142FFFE83BE464B8415520E58E038AA@ath64dual>
Date: Tue, 5 Jul 2011 21:22:42 -0500
From: "JFoug" <jfoug@....net>
To: <john-dev@...ts.openwall.com>
Subject: Re: Error compiling JtR 1.7.8 jumbo 2 on Solaris x86
There isn't one, that I could find.
That is one of the reasons why I had hard #defines in the makefile, which apparently were not important enough to keep. It is a mix of POSIX_VESION and STDC that sparc does NOT like.
If you turn on c99 building, then other things crap out. It is a no-win situation as far as I could take it on sparc.
Jim.
----- Original Message -----
From: Robert Harris
To: john-dev@...ts.openwall.com
Sent: Tuesday, July 05, 2011 8:58 PM
Subject: [john-dev] Error compiling JtR 1.7.8 jumbo 2 on Solaris x86
John-Dev,
What is the solution to the following error:
gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include -m64 -DHAVE_CRYPT -funroll-loops pdf_fmt.c
In file included from pdfcrack_common.h:23,
from pdfcrack.h:24,
from pdf_fmt.c:42:
stdint.h:9: error: conflicting types for 'uint64_t'
/usr/include/sys/int_types.h:76: error: previous declaration of 'uint64_t' was here
In file included from pdfcrack_common.h:24,
from pdfcrack.h:24,
from pdf_fmt.c:42:
/usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in a c99 compilation environment."
In file included from pdfcrack.h:24,
from pdf_fmt.c:42:
pdfcrack_common.h:42: error: syntax error before "bool"
pdfcrack_common.h:42: warning: no semicolon at end of struct or union
pdfcrack_common.h:43: warning: type defaults to `int' in declaration of `work_with_user'
pdfcrack_common.h:43: warning: data definition has no type or storage class
pdfcrack_common.h:44: error: syntax error before "have_userpassword"
pdfcrack_common.h:44: warning: type defaults to `int' in declaration of `have_userpassword'
pdfcrack_common.h:44: warning: data definition has no type or storage class
pdfcrack_common.h:52: error: syntax error before '}' token
pdfcrack_common.h:52: warning: type defaults to `int' in declaration of `EncData'
pdfcrack_common.h:52: warning: data definition has no type or storage class
pdfcrack_common.h:54: error: syntax error before '*' token
pdfcrack_common.h:56: error: syntax error before '*' token
In file included from pdf_fmt.c:42:
pdfcrack.h:26: error: syntax error before "initPDFCrack"
pdfcrack.h:26: warning: type defaults to `int' in declaration of `EncData'
pdfcrack.h:26: error: syntax error before '*' token
pdfcrack.h:26: warning: type defaults to `int' in declaration of `initPDFCrack'
pdfcrack.h:26: warning: data definition has no type or storage class
pdfcrack.h:30: error: syntax error before "runCrackRev2"
pdfcrack.h:30: warning: type defaults to `int' in declaration of `runCrackRev2'
pdfcrack.h:30: warning: data definition has no type or storage class
pdfcrack.h:32: error: syntax error before "runCrackRev2_o"
pdfcrack.h:32: warning: type defaults to `int' in declaration of `runCrackRev2_o'
pdfcrack.h:32: warning: data definition has no type or storage class
pdfcrack.h:34: error: syntax error before "runCrackRev2_of"
pdfcrack.h:34: warning: type defaults to `int' in declaration of `runCrackRev2_of'
pdfcrack.h:34: warning: data definition has no type or storage class
pdfcrack.h:36: error: syntax error before "runCrackRev3"
pdfcrack.h:36: warning: type defaults to `int' in declaration of `runCrackRev3'
pdfcrack.h:36: warning: data definition has no type or storage class
pdfcrack.h:38: error: syntax error before "runCrackRev3_o"
pdfcrack.h:38: warning: type defaults to `int' in declaration of `runCrackRev3_o'
pdfcrack.h:38: warning: data definition has no type or storage class
pdfcrack.h:40: error: syntax error before "runCrackRev3_of"
pdfcrack.h:40: warning: type defaults to `int' in declaration of `runCrackRev3_of'
pdfcrack.h:40: warning: data definition has no type or storage class
pdfcrack.h:44: error: syntax error before "printProgress"
pdfcrack.h:44: warning: type defaults to `int' in declaration of `printProgress'
pdfcrack.h:44: warning: data definition has no type or storage class
In file included from pdf_fmt.c:43:
pdfparser.h:33: error: syntax error before "openPDF"
pdfparser.h:33: error: syntax error before "EncData"
pdfparser.h:33: warning: type defaults to `int' in declaration of `openPDF'
pdfparser.h:33: warning: data definition has no type or storage class
pdfparser.h:36: error: syntax error before "EncData"
pdf_fmt.c:56: error: syntax error before "e"
pdf_fmt.c:56: warning: type defaults to `int' in declaration of `e'
pdf_fmt.c:56: warning: data definition has no type or storage class
pdf_fmt.c: In function `set_salt':
pdf_fmt.c:97: error: request for member `s_handler' in something not a structure or union
pdf_fmt.c:98: error: request for member `o_string' in something not a structure or union
pdf_fmt.c:101: error: request for member `o_string' in something not a structure or union
pdf_fmt.c:104: error: request for member `u_string' in something not a structure or union
pdf_fmt.c:107: error: request for member `u_string' in something not a structure or union
pdf_fmt.c:111: error: request for member `fileIDLen' in something not a structure or union
pdf_fmt.c:112: error: request for member `fileID' in something not a structure or union
pdf_fmt.c:112: error: request for member `fileIDLen' in something not a structure or union
pdf_fmt.c:114: error: request for member `fileIDLen' in something not a structure or union
pdf_fmt.c:115: error: request for member `fileID' in something not a structure or union
pdf_fmt.c:119: error: request for member `encryptMetaData' in something not a structure or union
pdf_fmt.c:121: error: request for member `work_with_user' in something not a structure or union
pdf_fmt.c:123: error: request for member `have_userpassword' in something not a structure or union
pdf_fmt.c:125: error: request for member `version_major' in something not a structure or union
pdf_fmt.c:127: error: request for member `version_minor' in something not a structure or union
pdf_fmt.c:129: error: request for member `length' in something not a structure or union
pdf_fmt.c:131: error: request for member `permissions' in something not a structure or union
pdf_fmt.c:133: error: request for member `revision' in something not a structure or union
pdf_fmt.c:135: error: request for member `version' in something not a structure or union
pdf_fmt.c:136: error: request for member `have_userpassword' in something not a structure or union
pdf_fmt.c:144: error: request for member `work_with_user' in something not a structure or union
*** Error code 1
make: Fatal error: Command failed for target `pdf_fmt.o'
Current working directory /export/home/rharris/john-1.7.8-jumbo-2-RFC-with-source/src
*** Error code 1
make: Fatal error: Command failed for target `solaris-x86-64-gcc'
Content of type "text/html" skipped
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.