Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 28 Nov 2017 23:02:22 +0100
From: altr@...2.de
To: john-dev@...ts.openwall.com
Subject: aix 5 compilation

Hello,

by compiling jtr on an old AIX 5.3 machine (sigh, for compat reasons, ...):

1) there is a conflict for int64, renamed it to jtrint64.
2) there are $ as variable names, which the compiler does not  
understand. I renamed them.
3) arg list in the binary linking step was too long -> created a file  
"jtr_link" with the command and bashed it
4) no clue

$ git log | head
commit 1b73c7339f385946e287696510909bd6f7950ce8
Author: jfoug <jfoug@...nwall.net>
Date:   Tue Nov 28 11:49:41 2017 -0600
$ git diff > jtr.diff

... appended, is there a better way to do this? (git send-email ?)

Regards,
Alexander



==== 1
In file included from /usr/include/sys/types.h:57,
                   from  
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.4.5/include-fixed/stdio.h:431,
                   from memdbg.h:18,
                   from math.c:13:
/usr/include/sys/inttypes.h:625: error: conflicting types for  
'_john_int64_composite'
math.h:23: note: previous declaration of '_john_int64_composite' was here
math.c:15: error: conflicting types for 'add32to64'
math.h:25: note: previous declaration of 'add32to64' was here
math.c: In function 'add32to64':
math.c:19: error: request for member 'lo' in something not a structure  
or union
math.c:20: error: request for member 'lo' in something not a structure  
or union
math.c:26: error: request for member 'lo' in something not a structure  
or union
math.c:26: error: request for member 'hi' in something not a structure  
or union

==== 2

e/cc/laboraix53/curl/lib   -D_THREAD_SAFE    -I/usr/local/include  
-funroll-loops uaf_encode.c -o uaf_encode.o
uaf_encode.c:69: error: stray '$' in program
uaf_encode.c:69: error: expected ':', ',', ';', '}' or '__attribute__'  
before 'b_char'
uaf_encode.c: In function 'uaf_test_password':
uaf_encode.c:530: error: stray '$' in program
uaf_encode.c:530: error: expected '=', ',', ';', 'asm' or  
'__attribute__' before 'username_dx'
uaf_encode.c:530: error: 'username_dx' undeclared (first use in this function)
uaf_encode.c:530: error: (Each undeclared identifier is reported only once
uaf_encode.c:530: error: for each function it appears in.)
uaf_encode.c:530: error: expected expression before '{' token

==== 3

ique.o gpg2john.o memdbg.o  -g   
-L/siux_share/ae/cc/laboraix53/curl/lib  
-L/siux_share/ae/cc/laboraix53/curl/lib -L/usr/local/lib  
-L/usr/local/ssl/lib   -lssl -lcrypto       -D_THREAD_SAFE  -lpthreads  
-lm -lz -ldl    aes/aes.a secp256k1/secp256k1.a -o ../run/john
make[1]: execvp: gcc: Arg list too long
make[1]: *** [../run/john] Error 127
make[1]: Leaving directory `/siux_share/ae/cc/laboraix53/JohnTheRipper/src'
make: *** [default] Error 2

===== 4

e/cc/laboraix53/curl/lib   -D_THREAD_SAFE    -I/usr/local/include  
-funroll-loops SIPdump.c -o SIPdump.o
In file included from SIPdump.c:51:
tcphdr.h:20: error: expected ':', ',', ';', '}' or '__attribute__'  
before '.' token
SIPdump.c: In function 'main':
SIPdump.c:144: error: storage size of 'fp' isn't known
SIPdump.c:147: error: invalid application of 'sizeof' to incomplete  
type 'struct bpf_program'
SIPdump.c:144: warning: unused variable 'fp'
SIPdump.c: In function 'sniff_logins':
SIPdump.c:636: error: 'const struct tcp_hdr' has no member named 'ip_ff'

======




View attachment "jtr.diff" of type "text/x-diff" (18717 bytes)

View attachment "jtr_link" of type "text/plain" (8992 bytes)

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.