Tell me more ×
IT Security Stack Exchange is a question and answer site for IT security professionals. It's 100% free, no registration required.

Any ideas on the compiling errors? I'm on BT5R2. (also, side note, anyone know how to contact via the openwall community? I looked and didn't see a way)

make clean linux-x86-opencl
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/racf2john ../run/mozilla2john ../run/hccap2john ../run/pwsafe2john ../run/raw2dyna ../run/keepass2john ../run/keychain2john john.local.conf ../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/zip2john ../run/racf2john.com ../run/mozilla2john.com ../run/hccap2john.com ../run/pwsafe2john.com ../run/keepass2john.com ../run/keychain2john.com john.local.conf ../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/racf2john.exe ../run/mozilla2john.exe ../run/hccap2john.exe ../run/pwsafe2john.exe ../run/raw2dyna.exe ../run/keepass2john.exe ../run/keychain2john.exe john.local.conf ../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 ../run/racf2john.exe ../run/mozilla2john.exe ../run/hccap2john.exe ../run/pwsafe2john.exe ../run/raw2dyna.exe ../run/keepass2john.exe ../run/keychain2john.exe john.local.conf
rm -f ../run/john.exe john-macosx-* *.o *.bak core
rm -f ../run/*.cl ../run/*.h ../run/office2john ../run/vncpcap2john
rm -f detect bench para-bench generic.h arch.h tmp.s
rm -f cuda/*.o cuda/*~ *~ ../run/SIPdump
rm -f fmt_registers.h fmt_externs.h john_build_rule.h
cp /dev/null Makefile.dep
ln -f -s x86-sse.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 ../run/racf2john ../run/mozilla2john ../run/hccap2john ../run/pwsafe2john ../run/raw2dyna ../run/keepass2john ../run/keychain2john john.local.conf \
        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 trip_fmt.o timer.o md5_go.o md5_eq.o md5.o rc4.o hmacmd5.o base64.o md4.o dynamic_fmt.o dynamic_parser.o dynamic_preloads.o dynamic_utils.o rawSHA224_fmt.o rawSHA256_fmt.o rawSHA384_fmt.o rawSHA512_fmt.o hmacMD5_fmt.o hmacSHA1_fmt.o hmacSHA224_fmt.o hmacSHA256_fmt.o hmacSHA384_fmt.o hmacSHA512_fmt.o episerver_fmt.o keepass_fmt.o pwsafe_fmt.o XSHA512_fmt.o hmailserver_fmt.o dragonfly3_fmt.o dragonfly4_fmt.o drupal7_fmt.o django_fmt.o cryptsha256_fmt.o cryptsha512_fmt.o SybaseASE_fmt.o SKEY_fmt.o ssh_fmt.o ssh2john.o pdf_fmt.o pdf2john.o pdfcrack_common.o pdfcrack_md5.o pdfparser.o pdfcrack.o pdfcrack_rc4.o unrarcmd.o unrarfilter.o unrarhlp.o unrar.o unrarppm.o unrarvm.o rar_fmt.o rar2john.o rawSHA0_fmt.o zip_fmt.o zip2john.o gladman_hmac.o gladman_pwd2key.o racf2john.o pwsafe2john.o keepass2john.o keychain2john.o wpapsk_fmt.o hccap2john.o mozilla_fmt.o KeyDBCracker.o mozilla_des.o lowpbe.o mozilla2john.o BFEgg_fmt_plug.o crc32_fmt_plug.o DMD5_fmt_plug.o DOMINOSEC_fmt_plug.o EPI_fmt_plug.o gost_fmt_plug.o gost_plug.o HDAA_fmt_plug.o IPB2_fmt_plug.o keychain_fmt_plug.o KRB4_fmt_plug.o KRB4_std_plug.o KRB5_fmt_plug.o KRB5_std_plug.o lotus5_fmt_plug.o md4_gen_fmt_plug.o mediawiki_fmt_plug.o mscash1_fmt_plug.o mscash2_fmt_plug.o MSCHAPv2_fmt_plug.o mskrb5_fmt_plug.o mssql05_fmt_plug.o mssql-old_fmt_plug.o mysql_fmt_plug.o mysqlSHA1_fmt_plug.o NETLM_fmt_plug.o NETLMv2_fmt_plug.o NETNTLM_fmt_plug.o NETNTLMv2_fmt_plug.o NETSPLITLM_fmt_plug.o NS_fmt_plug.o nsldap_fmt_plug.o nt2_fmt_plug.o NT_fmt_plug.o odf_fmt_plug.o office_fmt_plug.o oracle11_fmt_plug.o oracle_fmt_plug.o osc_fmt_plug.o phpassMD5_fmt_plug.o PHPS_fmt_plug.o pixMD5_fmt_plug.o pkzip_fmt_plug.o PO_fmt_plug.o racf_fmt_plug.o rawMD4_fmt_plug.o rawMD5_fmt_plug.o rawmd5u_fmt_plug.o rawSHA1_fmt_plug.o rawSHA1_linkedIn_fmt_plug.o salted_sha1_fmt_plug.o sapB_fmt_plug.o sapG_fmt_plug.o sha1_gen_fmt_plug.o sip_fmt_plug.o vnc_fmt_plug.o wbb3_fmt_plug.o XSHA_fmt_plug.o rawSHA1_ng_fmt.o plugin.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 options.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 fake_salts.o win32_memmap.o unicode.o unshadow.o unafs.o undrop.o unique.o common-opencl.o common_opencl_pbkdf2.o opencl_mysqlsha1_fmt.o opencl_cryptmd5_fmt.o opencl_phpass_fmt.o opencl_rawsha1_fmt.o opencl_nt_fmt.o opencl_rawmd5_fmt.o opencl_nsldaps_fmt.o opencl_cryptsha512_fmt.o opencl_mscash2_fmt.o opencl_wpapsk_fmt.o opencl_xsha512_fmt.o opencl_rawsha512_fmt.o opencl_bf_std.o opencl_bf_fmt.o opencl_pwsafe_fmt.o opencl_rawmd4_fmt.o c3_fmt.o x86.o x86-sse.o sha1-mmx.o md4-mmx.o md5-mmx.o sse-intrinsics-32.o" \
        CFLAGS="-c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE" \
        LDFLAGS="-s -L/usr/local/lib -L/usr/local/ssl/lib -lssl -lcrypto -lm -lz    -L/opt/AMDAPP/lib/x86 -L/opt/AMDAPP/lib -lcrypt -lOpenCL -ldl"
make[1]: Entering directory `/root/Desktop/john/src'
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops DES_fmt.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops DES_std.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops DES_bs.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -Os -funroll-loops -finline-functions DES_bs_b.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops BSDI_fmt.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops MD5_fmt.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops MD5_std.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops BF_fmt.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops BF_std.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops AFS_fmt.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops LM_fmt.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops trip_fmt.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops timer.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops md5_go.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops md5_eq.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops md5.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops rc4.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops hmacmd5.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops base64.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops md4.c
gcc -c -Wall -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include    -DAMDAPPSDK -I/opt/AMDAPP/include -DHAVE_CRYPT -DCL_VERSION_1_0 -DHAVE_DL -DUSING_ICC_S_FILE -funroll-loops dynamic_fmt.c
In file included from dynamic_fmt.c:69:
sha.h:4:25: error: openssl/sha.h: No such file or directory
dynamic_fmt.c:315: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sha_ctx’
dynamic_fmt.c: In function ‘DynamicFunc__SHA1_crypt_input1_append_input2_base16’:
dynamic_fmt.c:6538: warning: implicit declaration of function ‘SHA1_Init’
dynamic_fmt.c:6538: error: ‘sha_ctx’ undeclared (first use in this function)
dynamic_fmt.c:6538: error: (Each undeclared identifier is reported only once
dynamic_fmt.c:6538: error: for each function it appears in.)
dynamic_fmt.c:6547: warning: implicit declaration of function ‘SHA1_Update’
dynamic_fmt.c:6550: warning: implicit declaration of function ‘SHA1_Final’
dynamic_fmt.c: In function ‘DynamicFunc__SHA1_crypt_input2_append_input1_base16’:
dynamic_fmt.c:6575: error: ‘sha_ctx’ undeclared (first use in this function)
dynamic_fmt.c: In function ‘DynamicFunc__SHA1_crypt_input1_overwrite_input1_base16’:
dynamic_fmt.c:6611: error: ‘sha_ctx’ undeclared (first use in this function)
dynamic_fmt.c: In function ‘DynamicFunc__SHA1_crypt_input1_overwrite_input2_base16’:
dynamic_fmt.c:6648: error: ‘sha_ctx’ undeclared (first use in this function)
dynamic_fmt.c: In function ‘DynamicFunc__SHA1_crypt_input2_overwrite_input1_base16’:
dynamic_fmt.c:6685: error: ‘sha_ctx’ undeclared (first use in this function)
dynamic_fmt.c: In function ‘DynamicFunc__SHA1_crypt_input2_overwrite_input2_base16’:
dynamic_fmt.c:6722: error: ‘sha_ctx’ undeclared (first use in this function)
dynamic_fmt.c: In function ‘DynamicFunc__SHA1_crypt_input1_to_output1_FINAL’:
dynamic_fmt.c:6762: error: ‘sha_ctx’ undeclared (first use in this function)
dynamic_fmt.c: In function ‘DynamicFunc__SHA1_crypt_input2_to_output1_FINAL’:
dynamic_fmt.c:6807: error: ‘sha_ctx’ undeclared (first use in this function)
make[1]: *** [dynamic_fmt.o] Error 1
make[1]: Leaving directory `/root/Desktop/john/src'
make: *** [linux-x86-opencl] Error 2
share|improve this question
3  
This is not really a security question, per se. It's a development question (even though it's for a security-related product). – AviD Nov 9 '12 at 7:53

closed as off topic by Terry Chia, Polynomial, AviD Nov 9 '12 at 7:53

Questions on IT Security Stack Exchange are expected to relate to IT security within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.