Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make in kali error #8

Closed
fbacker opened this issue Apr 4, 2017 · 2 comments
Closed

make in kali error #8

fbacker opened this issue Apr 4, 2017 · 2 comments

Comments

@fbacker
Copy link

fbacker commented Apr 4, 2017

Trying to build/install on Kali. When running 'make' I some errors. Any tips?

root@kali:~/Downloads/bruteforce-wallet# make
depbase=`echo src/bruteforce-wallet.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"bruteforce_wallet\" -DPACKAGE_TARNAME=\"bruteforce_wallet\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"bruteforce_wallet\ 1.4.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bruteforce_wallet\" -DVERSION=\"1.4.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_CALLOC=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_FREE=1 -DHAVE_PERROR=1 -DHAVE_PRINTF=1 -DHAVE_FPRINTF=1 -DHAVE_FOPEN=1 -DHAVE_FGETC=1 -DHAVE_ATOI=1 -DHAVE_MEMCMP=1 -DHAVE_MEMSET=1 -DHAVE_SETLOCALE=1 -DHAVE_MBSTOWCS=1 -DHAVE_WCSNCPY=1 -DHAVE_WCSTOMBS=1 -DHAVE_GETOPT=1 -DHAVE_SIGNAL=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DHAVE_PTHREAD_H=1 -DHAVE_LIBCRYPTO=1 -DHAVE_OPENSSL_EC_H=1 -DHAVE_OPENSSL_EVP_H=1 -DHAVE_OPENSSL_OBJ_MAC_H=1 -DHAVE_LIBDB=1 -DHAVE_DB_H=1 -I.     -g -O2 -MT src/bruteforce-wallet.o -MD -MP -MF $depbase.Tpo -c -o src/bruteforce-wallet.o src/bruteforce-wallet.c &&\
mv -f $depbase.Tpo $depbase.Po
src/bruteforce-wallet.c: In function ‘sha256’:
src/bruteforce-wallet.c:89:14: error: storage size of ‘ctx’ isn’t known
   EVP_MD_CTX ctx;
              ^~~
src/bruteforce-wallet.c:94:3: warning: implicit declaration of function ‘EVP_MD_CTX_cleanup’ [-Wimplicit-function-declaration]
   EVP_MD_CTX_cleanup(&ctx);
   ^~~~~~~~~~~~~~~~~~
src/bruteforce-wallet.c: In function ‘sha256d’:
src/bruteforce-wallet.c:100:14: error: storage size of ‘ctx’ isn’t known
   EVP_MD_CTX ctx;
              ^~~
src/bruteforce-wallet.c: In function ‘decryption_func_bruteforce’:
src/bruteforce-wallet.c:130:18: error: storage size of ‘ctx’ isn’t known
   EVP_CIPHER_CTX ctx;
                  ^~~
src/bruteforce-wallet.c: In function ‘decryption_func_dictionary’:
src/bruteforce-wallet.c:305:18: error: storage size of ‘ctx’ isn’t known
   EVP_CIPHER_CTX ctx;
                  ^~~
Makefile:379: recipe for target 'src/bruteforce-wallet.o' failed
make: *** [src/bruteforce-wallet.o] Error 1

This is the configure


root@kali:~/Downloads/bruteforce-wallet# ./autogen.sh 
root@kali:~/Downloads/bruteforce-wallet# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for calloc... yes
checking for malloc... yes
checking for realloc... yes
checking for free... yes
checking for perror... yes
checking for printf... yes
checking for fprintf... yes
checking for fopen... yes
checking for fgetc... yes
checking for atoi... yes
checking for memcmp... yes
checking for memset... yes
checking for setlocale... yes
checking for mbstowcs... yes
checking for wcsncpy... yes
checking for wcstombs... yes
checking for getopt... yes
checking for signal... yes
checking for pow in -lm... yes
checking for pthread_create in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for EVP_get_cipherbyname in -lcrypto... yes
checking openssl/ec.h usability... yes
checking openssl/ec.h presence... yes
checking for openssl/ec.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/obj_mac.h usability... yes
checking openssl/obj_mac.h presence... yes
checking for openssl/obj_mac.h... yes
checking for db_create in -ldb... yes
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
@glv2
Copy link
Owner

glv2 commented Apr 8, 2017

Could you try to compile the latest master branch (commit 209d19d) to see if it fixes your issue?

@fbacker
Copy link
Author

fbacker commented Apr 10, 2017

Perfect, works like a charm.

@fbacker fbacker closed this as completed Apr 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants