Bitcoin Forum
December 09, 2016, 06:16:41 AM *
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 »
  Print  
Author Topic: [ANNOUNCE] Tenebrix, a CPU-friendly, GPU-hostile cryptocurrency  (Read 104716 times)
3phase
Sr. Member
****
Offline Offline

Activity: 313


Third score


View Profile
October 18, 2011, 03:56:04 PM
 #781

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
Code:
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:
Code:
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)

Fiat no more.
Δοκιμάστε το http://multibit.org - Bitcoin client τώρα και στα Ελληνικά
1481264201
Hero Member
*
Offline Offline

Posts: 1481264201

View Profile Personal Message (Offline)

Ignore
1481264201
Reply with quote  #2

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

Activity: 168


View Profile
October 18, 2011, 04:33:49 PM
 #782

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
Code:
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:
Code:
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 Offline

Activity: 313


Third score


View Profile
October 18, 2011, 04:46:41 PM
 #783

I think also libssl-dev.

No, this is only required (along with some other stuff) for compiling the *coin client.

Fiat no more.
Δοκιμάστε το http://multibit.org - Bitcoin client τώρα και στα Ελληνικά
Spacy
Full Member
***
Offline Offline

Activity: 168


View Profile
October 18, 2011, 04:48:28 PM
 #784

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 Smiley
MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
October 18, 2011, 04:58:46 PM
 #785

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
Code:
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:
Code:
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"   Grin


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) Smiley
Intention
Full Member
***
Offline Offline

Activity: 128


View Profile
October 18, 2011, 06:03:20 PM
 #786

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.

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://bitcointalk.org/index.php?topic=623937
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1526

Reverse engineer from time to time


View Profile
October 18, 2011, 11:19:07 PM
 #787

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
Full Member
***
Offline Offline

Activity: 128


View Profile
October 19, 2011, 12:45:14 AM
 #788

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:
Code:
minerd_LDADD = -lcurl
minerd_CPPFLAGS = -lcurl
(Lines 240/241?)

I end up getting when I use make
Code:
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 -_-

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://bitcointalk.org/index.php?topic=623937
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1526

Reverse engineer from time to time


View Profile
October 20, 2011, 06:16:29 PM
 #789

Are you sure you installed libcurl?

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
rTech
Sr. Member
****
Offline Offline

Activity: 305


Trust but confirm!


View Profile
October 24, 2011, 11:47:55 AM
 #790

Top Secret material, short video of LoLcUst inventing Tenebrix,
its captured moment when he got it to work properly. Nice job!

MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
October 24, 2011, 07:09:50 PM
 #791

Wow Shocked TBX is low at http://www.btc-e.com

Already moving some BTC over there to buy cheap Grin
Spacy
Full Member
***
Offline Offline

Activity: 168


View Profile
October 24, 2011, 07:19:39 PM
 #792

Wow Shocked TBX is low at http://www.btc-e.com

Already moving some BTC over there to buy cheap Grin

Will you use the "GG lowest buy+profit strategy"?  Grin
MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
October 24, 2011, 07:34:32 PM
 #793

Wow Shocked TBX is low at http://www.btc-e.com

Already moving some BTC over there to buy cheap Grin

Will you use the "GG lowest buy+profit strategy"?  Grin

Just buy 'em cheap  Grin
Intention
Full Member
***
Offline Offline

Activity: 128


View Profile
October 27, 2011, 10:12:54 PM
 #794

Well got slightly further and going very crazy in the process, make now gives:
Code:
[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

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://bitcointalk.org/index.php?topic=623937
Frodek
Member
**
Offline Offline

Activity: 70


View Profile
October 29, 2011, 09:49:37 PM
 #795

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
Hero Member
*****
Offline Offline

Activity: 560



View Profile
October 29, 2011, 09:58:18 PM
 #796

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
Hero Member
*****
Offline Offline

Activity: 616


Firstbits.com/1fg4i                :Ƀ


View Profile
October 29, 2011, 10:02:26 PM
 #797

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 for any or no reason? 1FmvtS66LFh6ycrXDwKRQTexGJw4UWiqDX Smiley

The more you believe in Bitcoin, and the more you show you do to other people, the faster the real value will soar!

Do you like mmmBananas?!
johnj
Full Member
***
Offline Offline

Activity: 154


View Profile
October 29, 2011, 10:04:37 PM
 #798

Anyone heard from Lolcust?  He still workin on that laundry?

1AeW7QK59HvEJwiyMztFH1ubWPSLLKx5ym
TradeHill Referral TH-R120549
wknight
Legendary
*
Offline Offline

Activity: 889


Bitcoin calls me an Orphan


View Profile WWW
October 29, 2011, 10:27:57 PM
 #799

I am sure if TBX grows Lolcust is still working on the laundry

Mining Both Bitcoin and Litecoin.
racerguy
Sr. Member
****
Offline Offline

Activity: 271


View Profile
October 30, 2011, 12:02:04 AM
 #800

he's still in #tenebrix so i'm sure he's still working on the laundry and messaging service.
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 »
  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!