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

Fatal errors in Ubuntu #118

Closed
cvengler opened this issue May 11, 2018 · 4 comments
Closed

Fatal errors in Ubuntu #118

cvengler opened this issue May 11, 2018 · 4 comments

Comments

@cvengler
Copy link

cc -ggdb -O3 -Wall -c -o vanitygen.o vanitygen.c In file included from vanitygen.c:32:0: pattern.h:54:12: error: field ‘vxc_bntarg’ has incomplete type BIGNUM vxc_bntarg; ^~~~~~~~~~ pattern.h:55:12: error: field ‘vxc_bnbase’ has incomplete type BIGNUM vxc_bnbase; ^~~~~~~~~~ pattern.h:56:12: error: field ‘vxc_bntmp’ has incomplete type BIGNUM vxc_bntmp; ^~~~~~~~~ pattern.h:57:12: error: field ‘vxc_bntmp2’ has incomplete type BIGNUM vxc_bntmp2; ^~~~~~~~~~ vanitygen.c: In function ‘vg_thread_loop’: vanitygen.c:134:21: error: ‘BN_MASK2’ undeclared (first use in this function); did you mean ‘BN_BITS2’? if ((rekey_at == BN_MASK2) || (rekey_at > rekey_max)) ^~~~~~~~ BN_BITS2 vanitygen.c:134:21: note: each undeclared identifier is reported only once for each function it appears in <eingebaut>: recipe for target 'vanitygen.o' failed make: *** [vanitygen.o] Error 1

This happens when I run make in ubuntu 18.04 LTS

@DesWurstes
Copy link

Duplicate: #116

@Wikinaut
Copy link

Duplicate #106 (see #106 (comment) for a solution)

@ilovelinux
Copy link

See #116 (comment) for a workaround/solution

@anemol
Copy link

anemol commented May 12, 2019

Download an old version of OpenSSL
https://www.openssl.org/source/old/1.0.0/

For example the 1.0.0s: https://www.openssl.org/source/old/1.0.0/openssl-1.0.0s.tar.gz

  • Extract the tar.gz in a directory (/home/user/openssl-1.0.0s for example)
  • Go in this directory and launch "make"

Then modify the makefile of Vanitygen

CFLAGS=-ggdb -O3 -Wall -I/home/user/openssl-1.0.0s/include -L/home/user/openssl-1.0.0s/

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

5 participants