jackjack
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
August 09, 2011, 11:46:49 AM |
|
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/./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
Activity: 1680
Merit: 1035
|
|
August 09, 2011, 12:31:20 PM Last edit: August 09, 2011, 02:37:38 PM by Rassah |
|
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? 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
|
|
August 09, 2011, 02:57:26 PM |
|
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
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
August 09, 2011, 03:18:25 PM |
|
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): #!/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
Activity: 392
Merit: 252
|
|
August 09, 2011, 09:24:50 PM |
|
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): #!/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
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
August 09, 2011, 10:15:50 PM |
|
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): #!/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
|
|
August 09, 2011, 10:20:49 PM |
|
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
Activity: 392
Merit: 252
|
|
August 10, 2011, 05:43:41 AM |
|
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
|
|
August 10, 2011, 07:53:50 AM |
|
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
|
|
August 10, 2011, 10:27:12 AM |
|
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.
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: ? You should be able to do "./vanitygen -i 1bounty" after that ...
|
|
|
|
Jonathan Ryan Owens
Donator
Sr. Member
Offline
Activity: 392
Merit: 252
|
|
August 10, 2011, 12:21:55 PM |
|
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.
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: ? 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
|
|
August 10, 2011, 01:20:24 PM |
|
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
|
|
|
|
Jonathan Ryan Owens
Donator
Sr. Member
Offline
Activity: 392
Merit: 252
|
|
August 11, 2011, 12:42:08 AM |
|
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
Activity: 392
Merit: 252
|
|
August 11, 2011, 10:41:16 AM |
|
cd850efd221f8f18bd608c7f66de90fbdf77b607510bf08ed33eb35a4a229cb4
Thanks, JackJack!
8 Bitcoin sent!
|
|
|
|
RaTTuS
|
|
August 11, 2011, 10:42:04 AM |
|
pipped to the post ...
|
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
Activity: 392
Merit: 252
|
|
August 11, 2011, 12:40:49 PM |
|
pipped to the post ... 1 Btc sent for your usefulness! Regards, Jonathan p.s. don't forget to play a game at Bitcoinduit and take a look a the 'new game' coming down the pipe, called '1Bounty'
|
|
|
|
RaTTuS
|
|
August 11, 2011, 04:01:32 PM |
|
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
Activity: 4270
Merit: 1209
I support freedom of choice
|
|
August 12, 2011, 09:52:56 AM |
|
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 ... )
|
|
|
|
ctoon6
|
|
August 12, 2011, 10:03:19 AM |
|
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 ... )
test with like .001 bitcoins before you do anything major. make sure you are able to reclaim the coins you put in
|
|
|
|
jackjack
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
August 12, 2011, 04:07:10 PM |
|
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 ... )
Yes but keep the priv key somewhere
|
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.
|
|
|
|