Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 5 Jul 2011 21:58:23 -0400
From: "Robert Harris" <rs904c@...scape.net>
To: <john-dev@...ts.openwall.com>
Subject: Error compiling JtR 1.7.8 jumbo 2 on Solaris x86

John-Dev,

 

What is the solution to the following error:

 

bash-3.00$ make clean solaris-x86-64-gcc

rm -f ../run/john ../run/unshadow ../run/unafs ../run/unique ../run/undrop
../run/ssh2john ../run/pdf2john ../run/rar2john ../run/zip2john
../run/genmkvpwd ../run/mkvcalcproba ../run/calc_stat  .
./run/tgtsnarf ../run/john.bin ../run/john.com  ../run/unshadow.com
../run/unafs.com ../run/unique.com  ../run/undrop.com  ../run/ssh2john.com
../run/pdf2john.com ../run/rar2john.com ../run/zip2joh
n ../run/john.exe  ../run/unshadow.exe ../run/unafs.exe ../run/unique.exe
../run/undrop.exe  ../run/ssh2john.exe ../run/pdf2john.exe
../run/rar2john.exe ../run/zip2john.exe  ../run/genmkvpwd.exe .
./run/mkvcalcproba.exe ../run/calc_stat.exe ../run/john-mingw.exe
../run/unshadow.exe ../run/unafs.exe ../run/unique.exe  ../run/undrop.exe
../run/ssh2john.exe ../run/pdf2john.exe ../run/rar2john
.exe ../run/zip2john.exe  ../run/genmkvpwd.exe ../run/mkvcalcproba.exe
../run/calc_stat.exe

rm -f ../run/john.exe john-macosx-* *.o *.bak core

rm -f detect bench generic.h arch.h tmp.s

rm -f fmt_registers.h fmt_externs.h

cp /dev/null Makefile.dep

rm -f arch.h

ln -f -s x86-64.h arch.h

make ../run/john ../run/unshadow ../run/unafs ../run/unique ../run/undrop
../run/ssh2john ../run/pdf2john ../run/rar2john ../run/zip2john
../run/genmkvpwd ../run/mkvcalcproba ../run/calc_stat  ..
/run/tgtsnarf \

        JOHN_OBJS="  DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o  BSDI_fmt.o
MD5_fmt.o MD5_std.o  BF_fmt.o BF_std.o  AFS_fmt.o  LM_fmt.o  timer.o
md5_go.o  md5_eq.o  md5.o  hmacmd5.o  base64.o  md4.o
md5_gen_fmt.o md5_gen_parser.o md5_gen_preloads.o md5_gen_utils.o
hmailserver_fmt.o  SybaseASE_fmt.o  SKEY_fmt.o  ssh_fmt.o ssh2john.o
pdf_fmt.o pdf2john.o pdfcrack_common.o pdfcrack_md5.o pdfp
arser.o pdfcrack.o pdfcrack_rc4.o  rar_fmt.o rar2john.o  zip_fmt.o
zip2john.o gladman_hmac.o gladman_pwd2key.o  BFEgg_fmt_plug.o
DMD5_fmt_plug.o DOMINOSEC_fmt_plug.o EPI_fmt_plug.o HDAA_fmt_plug.o
IPB2_fmt_plug.o KRB4_fmt_plug.o KRB4_std_plug.o KRB5_fmt_plug.o
KRB5_std_plug.o MSCHAPv2_fmt_plug.o MYSQL_fast_fmt_plug.o MYSQL_fmt_plug.o
NETLM_fmt_plug.o NETLMv2_fmt_plug.o NETNTLM_fmt_plug.o NET
NTLMv2_fmt_plug.o NETSPLITLM_fmt_plug.o NSLDAPS_fmt_plug.o NSLDAP_fmt_plug.o
NS_fmt_plug.o NT_fmt_plug.o OPENLDAPS_fmt_plug.o PHPS_fmt_plug.o
PO_fmt_plug.o XSHA_fmt_plug.o hmacMD5_fmt_plug.o lotus5
_fmt_plug.o md4_gen_fmt_plug.o mediawiki_fmt_plug.o mscash1_fmt_plug.o
mscash2_fmt_plug.o mskrb5_fmt_plug.o mssql-old_fmt_plug.o mssql05_fmt_plug.o
mysqlSHA1_fmt_plug.o oracle11_fmt_plug.o oracle_f
mt_plug.o phpassMD5_fmt_plug.o pixMD5_fmt_plug.o rawMD4_fmt_plug.o
rawMD5go_fmt_plug.o rawMD5unicode_fmt_plug.o rawSHA1_fmt_plug.o
salted_sha1_fmt_plug.o sapB_fmt_plug.o sapG_fmt_plug.o sha1_gen_fm
t_plug.o   dummy.o  batch.o bench.o charset.o common.o compiler.o config.o
cracker.o  crc32.o external.o formats.o getopt.o idle.o inc.o john.o list.o
loader.o logger.o math.o memory.o misc.o opti
ons.o params.o path.o  recovery.o rpp.o rules.o signals.o single.o status.o
tty.o wordlist.o  mkv.o mkvlib.o  unicode.o  unshadow.o  unafs.o  undrop.o
unique.o c3_fmt.o x86-64.o sse-intrinsics.o"
\

        CFLAGS="-c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT" \

        ASFLAGS="-c -Wall -O2 -fomit-frame-pointer -I/usr/local/include
-m64" \

        LDFLAGS="-s -L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lssl -lm
-m64 -lrt -lnsl -lsocket -static -lssl -lcrypto -lcrypt -lz -ldl -lm"

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops DES_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops DES_std.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops DES_bs.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -finline-functions DES_bs_b.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops BSDI_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops MD5_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops MD5_std.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops BF_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops BF_std.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops AFS_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops LM_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops timer.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops md5_go.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops md5_eq.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops md5.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops hmacmd5.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops base64.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops md4.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops md5_gen_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops md5_gen_parser.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops md5_gen_preloads.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops md5_gen_utils.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops hmailserver_fmt.c

hmailserver_fmt.c:258:2: warning: #warning Note: hmailserver format disabled
- it needs OpenSSL 0.9.8 or above

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops SybaseASE_fmt.c

SybaseASE_fmt.c:265:2: warning: #warning Note: SybaseASE format disabled -
it needs OpenSSL 0.9.8 or above

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops SKEY_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops ssh_fmt.c

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include  -m64
-DHAVE_CRYPT -funroll-loops ssh2john.c

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.