3phase
Sr. Member
Offline
Activity: 313
Merit: 251
Third score
|
|
October 18, 2011, 03:56:04 PM |
|
So I tried my hand at compiling the cpu-miner on Ubuntu 11.10 and ran into a little problem. I'm a complete Linux noob however I have libcurl installed curl 7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
And I created Jansson from the source provided on their website. Using ./autogen.sh on the cpuminer returns no errors Using CFLAGS etc works Make throws a few errors: make[2]: Entering directory `/home/darren/Desktop/cpu' gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing @LIBCURL_CPPFLAGS@ -O3 -Wall -msse2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c gcc: error: @LIBCURL_CPPFLAGS@: No such file or directory make[2]: *** [minerd-cpu-miner.o] Error 1 make[2]: Leaving directory `/home/darren/Desktop/cpu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/darren/Desktop/cpu' make: *** [all] Error 2
You need libcurl4-dev (or any of the packages it suggests) I'm not entirely sure what this means, if someone could help I'd appreciate it. You need package libcurl4-dev (or any of the packages it suggests)
|
|
|
|
Spacy
|
|
October 18, 2011, 04:33:49 PM |
|
So I tried my hand at compiling the cpu-miner on Ubuntu 11.10 and ran into a little problem. I'm a complete Linux noob however I have libcurl installed curl 7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
And I created Jansson from the source provided on their website. Using ./autogen.sh on the cpuminer returns no errors Using CFLAGS etc works Make throws a few errors: make[2]: Entering directory `/home/darren/Desktop/cpu' gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing @LIBCURL_CPPFLAGS@ -O3 -Wall -msse2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c gcc: error: @LIBCURL_CPPFLAGS@: No such file or directory make[2]: *** [minerd-cpu-miner.o] Error 1 make[2]: Leaving directory `/home/darren/Desktop/cpu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/darren/Desktop/cpu' make: *** [all] Error 2
You need libcurl4-dev (or any of the packages it suggests) I'm not entirely sure what this means, if someone could help I'd appreciate it. You need package libcurl4-dev (or any of the packages it suggests) I think also libssl-dev.
|
|
|
|
3phase
Sr. Member
Offline
Activity: 313
Merit: 251
Third score
|
|
October 18, 2011, 04:46:41 PM |
|
I think also libssl-dev.
No, this is only required (along with some other stuff) for compiling the *coin client.
|
|
|
|
Spacy
|
|
October 18, 2011, 04:48:28 PM |
|
I think also libssl-dev.
No, this is only required (along with some other stuff) for compiling the *coin client. Ah ok right. But better to have it written here somewhere in the thread just in case someone looks for it
|
|
|
|
MaGNeT
Legendary
Offline
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
|
|
October 18, 2011, 04:58:46 PM |
|
So I tried my hand at compiling the cpu-miner on Ubuntu 11.10 and ran into a little problem. I'm a complete Linux noob however I have libcurl installed curl 7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
And I created Jansson from the source provided on their website. Using ./autogen.sh on the cpuminer returns no errors Using CFLAGS etc works Make throws a few errors: make[2]: Entering directory `/home/darren/Desktop/cpu' gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing @LIBCURL_CPPFLAGS@ -O3 -Wall -msse2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c gcc: error: @LIBCURL_CPPFLAGS@: No such file or directory make[2]: *** [minerd-cpu-miner.o] Error 1 make[2]: Leaving directory `/home/darren/Desktop/cpu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/darren/Desktop/cpu' make: *** [all] Error 2
I'm not entirely sure what this means, if someone could help I'd appreciate it. What I remember / wrote: I finally got minerd compiled (ArtForz version)... First I did an " sudo apt-get install libcurl4-openssl-dev" but I couldn't find the libcurl.so file. After a search I found it was in /usr/lib I changed both the @LIBCURL lines in makefile to /usr/lib/libcurl.so Then I did "make" and suddenly I had " minerd" Another noob question: How do I make a " batch" file so I don't have to enter all the commands for minerd, every time I want to run it? In DOS / Windows I know all this shit but in Linux? Learning... Hashrate on my 1055T (@3.2Ghz) = 3.37 khash/s (x6 cores)
|
|
|
|
Intention
|
|
October 18, 2011, 06:03:20 PM |
|
So I took a look for the libcurl file and found it in /usr/lib/libcurl.so.
I opened up the Makefile and replaced the two @LIBCURL@ and @LIBCURL_CPPFLAGS@ on the next line to both /usr/lib/libcurl.so however I'm still throwing up the same error.
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
October 18, 2011, 11:19:07 PM |
|
So I took a look for the libcurl file and found it in /usr/lib/libcurl.so.
I opened up the Makefile and replaced the two @LIBCURL@ and @LIBCURL_CPPFLAGS@ on the next line to both /usr/lib/libcurl.so however I'm still throwing up the same error.
Try replacing them with -lcurl
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
Intention
|
|
October 19, 2011, 12:45:14 AM |
|
So I took a look for the libcurl file and found it in /usr/lib/libcurl.so.
I opened up the Makefile and replaced the two @LIBCURL@ and @LIBCURL_CPPFLAGS@ on the next line to both /usr/lib/libcurl.so however I'm still throwing up the same error.
Try replacing them with -lcurl Little bit more success, close but no cigar. In the Makefile: minerd_LDADD = -lcurl minerd_CPPFLAGS = -lcurl (Lines 240/241?) I end up getting when I use make darren@File-Server:~/Desktop/cpu$ make make all-recursive make[1]: Entering directory `/home/darren/Desktop/cpu' Making all in compat make[2]: Entering directory `/home/darren/Desktop/cpu/compat' make[3]: Entering directory `/home/darren/Desktop/cpu/compat' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/darren/Desktop/cpu/compat' make[2]: Leaving directory `/home/darren/Desktop/cpu/compat' make[2]: Entering directory `/home/darren/Desktop/cpu' gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -lcurl -O3 -Wall -msse2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c mv -f .deps/minerd-cpu-miner.Tpo .deps/minerd-cpu-miner.Po gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -lcurl -O3 -Wall -msse2 -MT minerd-util.o -MD -MP -MF .deps/minerd-util.Tpo -c -o minerd-util.o `test -f 'util.c' || echo './'`util.c mv -f .deps/minerd-util.Tpo .deps/minerd-util.Po gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -lcurl -O3 -Wall -msse2 -MT minerd-scrypt.o -MD -MP -MF .deps/minerd-scrypt.Tpo -c -o minerd-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c scrypt.c: In function ‘scanhash_scrypt’: scrypt.c:427:3: warning: pointer targets in passing argument 2 of ‘scrypt_1024_1_1_256_sp’ differ in signedness [-Wpointer-sign] scrypt.c:364:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ scrypt.c:418:6: warning: unused variable ‘i’ [-Wunused-variable] mv -f .deps/minerd-scrypt.Tpo .deps/minerd-scrypt.Po make[2]: *** No rule to make target `/usr/lib/libcurl.so', needed by `minerd'. Stop. make[2]: Leaving directory `/home/darren/Desktop/cpu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/darren/Desktop/cpu' make: *** [all] Error 2
I wonder if I'm perpetually doomed for failure, in the mean time I found a precompiled one but it would be nice to know how to get these things going myself -_-
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
October 20, 2011, 06:16:29 PM |
|
Are you sure you installed libcurl?
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
rTech
Sr. Member
Offline
Activity: 305
Merit: 250
Trust but confirm!
|
|
October 24, 2011, 11:47:55 AM |
|
Top Secret material, short video of LoLcUst inventing Tenebrix, its captured moment when he got it to work properly. Nice job!
|
|
|
|
MaGNeT
Legendary
Offline
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
|
|
October 24, 2011, 07:09:50 PM |
|
Wow TBX is low at http://www.btc-e.comAlready moving some BTC over there to buy cheap
|
|
|
|
Spacy
|
|
October 24, 2011, 07:19:39 PM |
|
Will you use the "GG lowest buy+profit strategy"?
|
|
|
|
MaGNeT
Legendary
Offline
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
|
|
October 24, 2011, 07:34:32 PM |
|
Will you use the "GG lowest buy+profit strategy"? Just buy 'em cheap
|
|
|
|
Intention
|
|
October 27, 2011, 10:12:54 PM |
|
Well got slightly further and going very crazy in the process, make now gives: [root@localhost cpu]# make make all-recursive make[1]: Entering directory `/home/darren/Desktop/cpu' Making all in compat make[2]: Entering directory `/home/darren/Desktop/cpu/compat' Making all in jansson make[3]: Entering directory `/home/darren/Desktop/cpu/compat/jansson' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/darren/Desktop/cpu/compat/jansson' make[3]: Entering directory `/home/darren/Desktop/cpu/compat' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/darren/Desktop/cpu/compat' make[2]: Leaving directory `/home/darren/Desktop/cpu/compat' make[2]: Entering directory `/home/darren/Desktop/cpu' i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -fno-strict-aliasing -I./compat/jansson /usr/bin/curl -march=native -O3 -Wall -msse2 -msse3 -msse4.1 -msse4 -mavx -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c In file included from ./curl/curl.h:34:0, from cpu-miner.c:27: ./curl/curlbuild.h:1:27: fatal error: bits/wordsize.h: No such file or directory
|
|
|
|
Frodek
Member
Offline
Activity: 138
Merit: 25
|
|
October 29, 2011, 09:49:37 PM |
|
1) PoW will be updated as hardware grows bigger...cache.
2) The point is not to make implementation of hardware-accelerated solution impossible (You can implement TBX miner in OpenCL, ArtForz already tested it, see the "Tenebrix scaling questions" thread), but to make it uneconomical (If your wonderful hardware-cruncher costs 700$ and only marginally outperforms a cpu which costs $100, you loose the race)
Scrypt was specifically designed to be uneconomical and painful in GPU and FPGA and, amazingly, it really is
Sorry, I am not native English. What they mean here words "PoW" and "Scrypt" (not "script") ?
|
|
|
|
terrytibbs
|
|
October 29, 2011, 09:58:18 PM |
|
1) PoW will be updated as hardware grows bigger...cache.
2) The point is not to make implementation of hardware-accelerated solution impossible (You can implement TBX miner in OpenCL, ArtForz already tested it, see the "Tenebrix scaling questions" thread), but to make it uneconomical (If your wonderful hardware-cruncher costs 700$ and only marginally outperforms a cpu which costs $100, you loose the race)
Scrypt was specifically designed to be uneconomical and painful in GPU and FPGA and, amazingly, it really is
Sorry, I am not native English. What they mean here words "PoW" and "Scrypt" (not "script") ? PoW - Proof of Work Scrypt - The cryptographic algorithm that powers Tenebrix.
|
|
|
|
TiagoTiago
|
|
October 29, 2011, 10:02:26 PM |
|
1) PoW will be updated as hardware grows bigger...cache.
2) The point is not to make implementation of hardware-accelerated solution impossible (You can implement TBX miner in OpenCL, ArtForz already tested it, see the "Tenebrix scaling questions" thread), but to make it uneconomical (If your wonderful hardware-cruncher costs 700$ and only marginally outperforms a cpu which costs $100, you loose the race)
Scrypt was specifically designed to be uneconomical and painful in GPU and FPGA and, amazingly, it really is
Sorry, I am not native English. What they mean here words "PoW" and "Scrypt" (not "script") ? Scrypt is a type of cryptography. And in this context, PoW means Proof of Work (more commonly though, it means Prisoner of War, like a soldier that is captured by the enemy during an attack).
|
(I dont always get new reply notifications, pls send a pm when you think it has happened) Wanna gimme some BTC/BCH for any or no reason? 1FmvtS66LFh6ycrXDwKRQTexGJw4UWiqDX The more you believe in Bitcoin, and the more you show you do to other people, the faster the real value will soar!
|
|
|
johnj
|
|
October 29, 2011, 10:04:37 PM |
|
Anyone heard from Lolcust? He still workin on that laundry?
|
1AeW7QK59HvEJwiyMztFH1ubWPSLLKx5ym TradeHill Referral TH-R120549
|
|
|
wknight
Legendary
Offline
Activity: 889
Merit: 1000
Bitcoin calls me an Orphan
|
|
October 29, 2011, 10:27:57 PM |
|
I am sure if TBX grows Lolcust is still working on the laundry
|
Mining Both Bitcoin and Litecoin.
|
|
|
racerguy
|
|
October 30, 2011, 12:02:04 AM |
|
he's still in #tenebrix so i'm sure he's still working on the laundry and messaging service.
|
|
|
|
|