Bitcoin Forum
December 03, 2016, 10:04:11 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 ... 155 »
  Print  
Author Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22]  (Read 808157 times)
defxor
Hero Member
*****
Offline Offline

Activity: 530


View Profile
August 09, 2011, 11:09:02 AM
 #261

root@linuxcoin:/home/user/vanitygen# make vanitygen oclvanitygen
cc -ggdb -O3 -Wall   -c -o pattern.o pattern.c
cc -ggdb -O3 -Wall   -c -o util.o util.c
cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread
cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c
oclvanitygen.c:37:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
make: *** [oclvanitygen.o] Error 1


Ok, so while I could probably guess as to what you need to do (install OpenCL) I'm on a Mac and it's better if someone on Linux helps you. On the other hand, that's only needed for oclvanitygen (the one that runs on your GPU). For the addresses you want you could probably find them in a short enough amount of time on your CPUs (50% in 1 hour on my laptop), and vanitygen compiles fine without OpenCL.

Either it's already there (try "./vanitygen") or you need to do "make vanitygen" without oclvanitygen.

If so;

Code:
./vanitygen -i 1bounty
1480802651
Hero Member
*
Offline Offline

Posts: 1480802651

View Profile Personal Message (Offline)

Ignore
1480802651
Reply with quote  #2

1480802651
Report to moderator
1480802651
Hero Member
*
Offline Offline

Posts: 1480802651

View Profile Personal Message (Offline)

Ignore
1480802651
Reply with quote  #2

1480802651
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
ctoon6
Sr. Member
****
Offline Offline

Activity: 350



View Profile
August 09, 2011, 11:34:37 AM
 #262

The cpu i used

jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
August 09, 2011, 11:46:49 AM
 #263

user@linuxcoin:~/vanitygen$ make vanitygen oclvanitygen
cc -ggdb -O3 -Wall   -c -o pattern.o pattern.c
pattern.c:32:18: fatal error: pcre.h: No such file or directory
compilation terminated.
make: *** [pattern.o] Error 1


Right, you need the PCRE lib installed. Download from http://pcre.org/

Code:
./configure; make; make install




root@linuxcoin:/home/user/vanitygen# make vanitygen oclvanitygen
cc -ggdb -O3 -Wall   -c -o pattern.o pattern.c
cc -ggdb -O3 -Wall   -c -o util.o util.c
cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread
cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c
oclvanitygen.c:37:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
make: *** [oclvanitygen.o] Error 1

Nvidia or Amd?

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Rassah
Legendary
*
Offline Offline

Activity: 1624


Director of Bitcoin100


View Profile
August 09, 2011, 12:31:20 PM
 #264

Safe mode does the same ting (never finds anything)
Running oclvanitygen -d0 1 finds something instantly
Running oclvanitygen -d0 -vkr -w128 "^1B" returns
...
followed by more GPU idles. Not sure if that CPU matcher is right. Maybe that -r isn't working for me?  Undecided

Ah!  Perhaps it's repeating the same address indefinitely, or maybe for all results of a particular batch.  Try:

-d0 -vkr -w128 "^1"

Interesting. "^1" comes back with a whole slew of adresses instantly, but as soon as I add a B, or anything else after that 1, it just sits there :/

RaTTuS
Hero Member
*****
Offline Offline

Activity: 792


Bite me


View Profile
August 09, 2011, 02:57:26 PM
 #265


root@linuxcoin:/home/user/vanitygen# make vanitygen oclvanitygen
cc -ggdb -O3 -Wall   -c -o pattern.o pattern.c
cc -ggdb -O3 -Wall   -c -o util.o util.c
cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread
cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c
oclvanitygen.c:37:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
make: *** [oclvanitygen.o] Error 1


edit Makefile and change the line
CFLAGS to be like
CFLAGS=-ggdb -O3 -Wall -I/opt/ati-stream-sdk-v2.1-lnx64/include/
^ or where ever your included path is for opencl
see 2.3 or if using nvidia then somewhere else
to find where try
locate /cl.h


In the Beginning there was CPU , then GPU , then FPGA then ASIC, what next I hear to ask ....

1RaTTuSEN7jJUDiW1EGogHwtek7g9BiEn
jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
August 09, 2011, 03:18:25 PM
 #266

cc -ggdb -O3 -Wall   -c -o pattern.o pattern.c
cc -ggdb -O3 -Wall   -c -o util.o util.c
cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread
cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c
oclvanitygen.c:37:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
make: *** [oclvanitygen.o] Error 1


If RaTTuS' solution doesn't work (which was the case for me), put that in a sh file, make it executable and run it with arguments (1:the folder containing the CL directory, 2: the folder containing libOpenCL.so):
Code:
#!/bin/sh
if [ $# -lt 2 ]
then
echo 'arg1 = sdk/include'
echo 'arg2 = sdk/lib/x86(_64?)'
exit
fi
mkdir CL -p
cp $1'/CL/cl.h' CL
sed -i 's#<CL/cl.h>#"CL/cl.h"#' oclvanitygen.c
cp $1'/CL/cl_platform.h' CL
sed -i 's#<CL/cl_platform.h>#"cl_platform.h"#' CL/cl.h
sed -i 's#$(LIBS) -L.* -lOpenCL.*#$(LIBS) -L'$2' -lOpenCL#' Makefile
sed -i 's#$(LIBS) -lOpenCL.*#$(LIBS) -L'$2' -lOpenCL#' Makefile
make oclvanitygen
sed -i 's#"CL/cl.h"#<CL/cl.h>#' oclvanitygen.c
sed -i 's#$(LIBS) -L.* -lOpenCL.*#$(LIBS) -lOpenCL#' Makefile
rm CL -R
echo "Run: \n   export LD_LIBRARY_PATH=$2:\$LD_LIBRARY_PATH"

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Jonathan Ryan Owens
Donator
Sr. Member
*
Offline Offline

Activity: 392



View Profile WWW
August 09, 2011, 09:24:50 PM
 #267

cc -ggdb -O3 -Wall   -c -o pattern.o pattern.c
cc -ggdb -O3 -Wall   -c -o util.o util.c
cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread
cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c
oclvanitygen.c:37:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
make: *** [oclvanitygen.o] Error 1


If RaTTuS' solution doesn't work (which was the case for me), put that in a sh file, make it executable and run it with arguments (1:the folder containing the CL directory, 2: the folder containing libOpenCL.so):
Code:
#!/bin/sh
if [ $# -lt 2 ]
then
echo 'arg1 = sdk/include'
echo 'arg2 = sdk/lib/x86(_64?)'
exit
fi
mkdir CL -p
cp $1'/CL/cl.h' CL
sed -i 's#<CL/cl.h>#"CL/cl.h"#' oclvanitygen.c
cp $1'/CL/cl_platform.h' CL
sed -i 's#<CL/cl_platform.h>#"cl_platform.h"#' CL/cl.h
sed -i 's#$(LIBS) -L.* -lOpenCL.*#$(LIBS) -L'$2' -lOpenCL#' Makefile
sed -i 's#$(LIBS) -lOpenCL.*#$(LIBS) -L'$2' -lOpenCL#' Makefile
make oclvanitygen
sed -i 's#"CL/cl.h"#<CL/cl.h>#' oclvanitygen.c
sed -i 's#$(LIBS) -L.* -lOpenCL.*#$(LIBS) -lOpenCL#' Makefile
rm CL -R
echo "Run: \n   export LD_LIBRARY_PATH=$2:\$LD_LIBRARY_PATH"


cc oclvanitygen.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -I/opt/AMD-APP-SDK-v2.4-lnx64/include/CL/ -lpcre -lcrypto -lm -lpthread -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
make: *** [oclvanitygen] Error 1

jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
August 09, 2011, 10:15:50 PM
 #268

cc -ggdb -O3 -Wall   -c -o pattern.o pattern.c
cc -ggdb -O3 -Wall   -c -o util.o util.c
cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread
cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c
oclvanitygen.c:37:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
make: *** [oclvanitygen.o] Error 1


If RaTTuS' solution doesn't work (which was the case for me), put that in a sh file, make it executable and run it with arguments (1:the folder containing the CL directory, 2: the folder containing libOpenCL.so):
Code:
#!/bin/sh
if [ $# -lt 2 ]
then
echo 'arg1 = sdk/include'
echo 'arg2 = sdk/lib/x86(_64?)'
exit
fi
mkdir CL -p
cp $1'/CL/cl.h' CL
sed -i 's#<CL/cl.h>#"CL/cl.h"#' oclvanitygen.c
cp $1'/CL/cl_platform.h' CL
sed -i 's#<CL/cl_platform.h>#"cl_platform.h"#' CL/cl.h
sed -i 's#$(LIBS) -L.* -lOpenCL.*#$(LIBS) -L'$2' -lOpenCL#' Makefile
sed -i 's#$(LIBS) -lOpenCL.*#$(LIBS) -L'$2' -lOpenCL#' Makefile
make oclvanitygen
sed -i 's#"CL/cl.h"#<CL/cl.h>#' oclvanitygen.c
sed -i 's#$(LIBS) -L.* -lOpenCL.*#$(LIBS) -lOpenCL#' Makefile
rm CL -R
echo "Run: \n   export LD_LIBRARY_PATH=$2:\$LD_LIBRARY_PATH"


cc oclvanitygen.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -I/opt/AMD-APP-SDK-v2.4-lnx64/include/CL/ -lpcre -lcrypto -lm -lpthread -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
make: *** [oclvanitygen] Error 1

Are you sure libOpenCL.so is in the second directory you provided?

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
defxor
Hero Member
*****
Offline Offline

Activity: 530


View Profile
August 09, 2011, 10:20:49 PM
 #269

make: *** [oclvanitygen] Error 1

Did you get vanitygen working at least? For your usage that'll work just fine until you can sort oclvanitygen out.

Jonathan Ryan Owens
Donator
Sr. Member
*
Offline Offline

Activity: 392



View Profile WWW
August 10, 2011, 05:43:41 AM
 #270

Back to my original post..

I haven't been successful in implementing either vanitygen or oclvanitygen on my linux server. 2 Bitcoin reward for anyone who can.

PM me for login details.

Regards,
Jonathan

RaTTuS
Hero Member
*****
Offline Offline

Activity: 792


Bite me


View Profile
August 10, 2011, 07:53:50 AM
 #271


cc oclvanitygen.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -I/opt/AMD-APP-SDK-v2.4-lnx64/include/CL/ -lpcre -lcrypto -lm -lpthread -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
make: *** [oclvanitygen] Error 1

this is the linker failing you need

export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/:/opt/ati-stream-sdk-v2.4-lnx64/lib/x86_64/:
in either your
.bashrc file [relog the terminal afterwards]
or
to test
on a command line
export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/:/opt/ati-stream-sdk-v2.4-lnx64/lib/x86_64/:
then try the make


In the Beginning there was CPU , then GPU , then FPGA then ASIC, what next I hear to ask ....

1RaTTuSEN7jJUDiW1EGogHwtek7g9BiEn
defxor
Hero Member
*****
Offline Offline

Activity: 530


View Profile
August 10, 2011, 10:27:12 AM
 #272

Back to my original post..

I haven't been successful in implementing either vanitygen or oclvanitygen on my linux server. 2 Bitcoin reward for anyone who can.

Sad

As far as I could see your vanitygen should indeed have linked fine - the linking error you posted was for oclvanitygen alone and the library it didn't find is also used by oclvanitygen alone.

Sorry for asking again, but didn't you get a "vanitygen" executable? Do you, if you do:

Code:
make clean
make vanitygen

?

You should be able to do "./vanitygen -i 1bounty" after that ...

Jonathan Ryan Owens
Donator
Sr. Member
*
Offline Offline

Activity: 392



View Profile WWW
August 10, 2011, 12:21:55 PM
 #273

Back to my original post..

I haven't been successful in implementing either vanitygen or oclvanitygen on my linux server. 2 Bitcoin reward for anyone who can.

Sad

As far as I could see your vanitygen should indeed have linked fine - the linking error you posted was for oclvanitygen alone and the library it didn't find is also used by oclvanitygen alone.

Sorry for asking again, but didn't you get a "vanitygen" executable? Do you, if you do:

Code:
make clean
make vanitygen

?

You should be able to do "./vanitygen -i 1bounty" after that ...




root@linuxcoin:/home/user/vanitygen# make clean
rm -f vanitygen.o oclvanitygen.o pattern.o util.o vanitygen
root@linuxcoin:/home/user/vanitygen# make vanitygen
cc -ggdb -O3 -Wall -I/opt/AMD-APP-SDK-v2.4-lnx64/include/CL/   -c -o vanitygen.o           vanitygen.c
cc -ggdb -O3 -Wall -I/opt/AMD-APP-SDK-v2.4-lnx64/include/CL/   -c -o pattern.o p          attern.c
cc -ggdb -O3 -Wall -I/opt/AMD-APP-SDK-v2.4-lnx64/include/CL/   -c -o util.o util          .c
cc vanitygen.o pattern.o util.o -o vanitygen -ggdb -O3 -Wall -I/opt/AMD-APP-SDK-          v2.4-lnx64/include/CL/ -lpcre -lcrypto -lm -lpthread
root@linuxcoin:/home/user/vanitygen# vanitygen
bash: vanitygen: command not found
root@linuxcoin:/home/user/vanitygen# ./vanitygen
./vanitygen: error while loading shared libraries: libpcre.so.0: cannot open sha          red object file: No such file or directory

defxor
Hero Member
*****
Offline Offline

Activity: 530


View Profile
August 10, 2011, 01:20:24 PM
 #274

root@linuxcoin:/home/user/vanitygen# ./vanitygen
./vanitygen: error while loading shared libraries: libpcre.so.0: cannot open sha          red object file: No such file or directory

Now solved. Sorry I can't help out with the Linux OpenCL specifics, but others seem to be on that Smiley

Jonathan Ryan Owens
Donator
Sr. Member
*
Offline Offline

Activity: 392



View Profile WWW
August 11, 2011, 12:42:08 AM
 #275

Bounty:

8 Bitcoins and some free rolls on Birtcoinduit to the first person to give basic documentation, and who is able to get oclvanity gen compiled and running on the rig.

If you're up for the challenge, you can PM me, and I'll give you the credentials. I'm not too concerned about security, as the worst that can happen is that someone messes with the miner scripts. You'd have access to 1.1 GH/s, but there's no private keys anywhere on the thing. It's just a persistent install.

Anyways, if someone is interested, I have a lot of other projects underway right now, but I really do think it's worth the cost to get this piece working, as I am NOT a linux guy at the core, and dependencies / syntax are not where I should be putting my headspace right now. Instead, let me pay back someone, or multiple people on this forum for their help and assistance.

Regards,
Jonathan

p.s. you can get in touch more directly by emailing me directly at zulu@pigki.com

Jonathan Ryan Owens
Donator
Sr. Member
*
Offline Offline

Activity: 392



View Profile WWW
August 11, 2011, 10:41:16 AM
 #276

cd850efd221f8f18bd608c7f66de90fbdf77b607510bf08ed33eb35a4a229cb4

Thanks, JackJack!

8 Bitcoin sent!

RaTTuS
Hero Member
*****
Offline Offline

Activity: 792


Bite me


View Profile
August 11, 2011, 10:42:04 AM
 #277

pipped to the post ...  Smiley

In the Beginning there was CPU , then GPU , then FPGA then ASIC, what next I hear to ask ....

1RaTTuSEN7jJUDiW1EGogHwtek7g9BiEn
Jonathan Ryan Owens
Donator
Sr. Member
*
Offline Offline

Activity: 392



View Profile WWW
August 11, 2011, 12:40:49 PM
 #278

pipped to the post ...  Smiley

1 Btc sent for your usefulness!

Regards,
Jonathan

p.s. don't forget to play a game at Bitcoinduit Wink and take a look a the 'new game' coming down the pipe, called '1Bounty'

RaTTuS
Hero Member
*****
Offline Offline

Activity: 792


Bite me


View Profile
August 11, 2011, 04:01:32 PM
 #279

Thanks and +1
Will check them out when I have some free time .... [yeah right !]

In the Beginning there was CPU , then GPU , then FPGA then ASIC, what next I hear to ask ....

1RaTTuSEN7jJUDiW1EGogHwtek7g9BiEn
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2282


I support freedom of choice


View Profile WWW
August 12, 2011, 09:52:56 AM
 #280

I have found a bitcoin address, can I use it just for "receive" coins even if I didn't added it on my wallet/client? ( I'll add it later ... )

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 ... 155 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!