Bitcoin Forum
November 04, 2024, 04:56:11 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 [143] 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 »
  Print  
Author Topic: [ANN][YAC] yacoin: yet another altcoin. START is now.  (Read 346705 times)
bitdwarf
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250


The cryptocoin watcher


View Profile
May 10, 2013, 01:25:09 AM
 #2841

util.h:27:25: fatal error: openssl/sha.h: No such file or directory
compilation terminated.
make: *** [obj/alert.o] Error 1"

How would a Linux noob like me continue? Thanks in advance

Do: sudo apt-get install libssl-dev

𝖄𝖆𝖈: YF3feU4PNLHrjwa1zV63BcCdWVk5z6DAh5 · 𝕭𝖙𝖈: 12F78M4oaNmyGE5C25ZixarG2Nk6UBEqme
Ɏ: "the altcoin for the everyman, where the sweat on one's brow can be used to cool one's overheating CPU" -- theprofileth
kalgecin
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1000


View Profile
May 10, 2013, 01:25:25 AM
 #2842

I am not sure if it was just me or my computer running Ubuntu 12.10, but this is the route I took thanks to all of the support I received here.
Below is the instructions step by step that I used.

# sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev

libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb5.3++-

dev


# sudo apt-get install git

# sudo apt-get install bitcoind


# sudo git clone https://github.com/pocopoco/yacoin

# cd yacoin/src

# Edit net.cpp in yacoin/src on line 28 and change
static const int MAX_OUTBOUND_CONNECTIONS = 8;
to
static const int MAX_OUTBOUND_CONNECTIONS = 1000; <--- or whatever you want 200 is probably a

bit more conservative  

# sudo apt-get install libminiupnpc-dev

# make -f makefile.unix

# Then run the client in daemon mode.   ./yacoind -daemon -gen -addnode=82.211.30.212

# Once compiled run the client and set the yacoin.conf  

# to do that run   editor /home/"YOURUSERNAME"/.yacoin/yacoin.conf and copy the rpcuser and pass

  that is generated on the screen

# Then run the client in daemon mode.   ./yacoind -daemon -gen -addnode=82.211.30.212




Then you can run the commands from here https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
to check the state.   The only one you really need is ./yacoind getstatus  

P.S. since 82.211.30.212 is in the EU, it would help to run a VPN etc that is in or near Germany...

If you found this useful  

YJoLsK17Z78C5dndqhh5os1mKnXcnUR2qM



I got stuck at the makefile:
"me@ubuntu:~/yacoin/src$ make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/harry/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
In file included from alert.h:13:0,
                 from alert.cpp:8:
util.h:27:25: fatal error: openssl/sha.h: No such file or directory
compilation terminated.
make: *** [obj/alert.o] Error 1"

How would a Linux noob like me continue? Thanks in advance

first
sudo apt-get install libcurl4-openssl-dev






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






Neverest
Newbie
*
Offline Offline

Activity: 70
Merit: 0



View Profile
May 10, 2013, 01:28:03 AM
 #2843

Thanks! I added:
sudo apt-get install libssl-dev

But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"

Any tips. Sorry, but still Linux noob here, but learning fast.
kobaya74
Full Member
***
Offline Offline

Activity: 130
Merit: 100


View Profile
May 10, 2013, 01:28:47 AM
 #2844

Any way to see hashing power of all PC connected to my wallet?
kalgecin
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1000


View Profile
May 10, 2013, 01:29:34 AM
 #2845

Thanks! I added:
sudo apt-get install libssl-dev

But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"

Any tips. Sorry, but still Linux noob here, but learning fast.

sudo chown yourusername:yourusername * -R






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






Neverest
Newbie
*
Offline Offline

Activity: 70
Merit: 0



View Profile
May 10, 2013, 01:32:15 AM
 #2846

Thanks! I added:
sudo apt-get install libssl-dev

But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"

Any tips. Sorry, but still Linux noob here, but learning fast.

sudo chown yourusername:yourusername * -R

Thanks. One step further:

make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/harry/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:10:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory

What next?
turtle83
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


Supersonic


View Profile WWW
May 10, 2013, 01:34:19 AM
 #2847

Thanks! I added:
sudo apt-get install libssl-dev

But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"

Any tips. Sorry, but still Linux noob here, but learning fast.

sudo chown yourusername:yourusername * -R

Thanks. One step further:

make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/harry/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:10:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory

What next?

Code:
sudo apt-get install libdb-dev libdb++-dev
Maybe your release has different versions

kalgecin
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1000


View Profile
May 10, 2013, 01:34:42 AM
 #2848

Thanks! I added:
sudo apt-get install libssl-dev

But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"

Any tips. Sorry, but still Linux noob here, but learning fast.

sudo chown yourusername:yourusername * -R

Thanks. One step further:

make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/harry/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:10:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory

What next?
sudo apt-get install libdb++-dev






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






markm
Legendary
*
Offline Offline

Activity: 2996
Merit: 1121



View Profile WWW
May 10, 2013, 01:35:12 AM
 #2849

Miner shows some pretty strange numbers occasionally so you would need to do that command multiple time during some longer period to find out what the hash really could be.

Number hovers around 350-425 KH/s

As I said above, all I did was compile with those flags in Linux

Trying this now. I'm still downloading the blockchain in ubuntu so I'm assuming that my gethashespersec of 0 will change once that is done?

Here are the instructions

Edit the qt .pro

Code:
QMAKE_CXXFLAGS += -O3 -march=core-avx-i
QMAKE_CFLAGS += -O3 -march=core-avx-i

Compile, run
Code:
./yacoin-qt -gen -genproclimit=8

I welcome tips if this helps!
YH1q1wuVyznBAzKJN19akXgFaBSdbgbQih



Does anyone understand the proper file to edit?

My pwd is ~/yacoin/src/qt
but I am not sure which file to edit or if a just compile a new one.

Perhaps I should just give up and go back to the GPU mining for pennies a day.


If anyone has any answers, I do have a somewhat working knowledge of Linux and also have books to help me.

No wait, WTF dir is that really? The src dir in the repo? A qt subdir of the src dir in the repo?

Or is ~/yacoin not the repo and the src/qt is where you put the repo?

Doesn't the repo have in its top dir the file that guy said to edit? Mine does.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
bitdwarf
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250


The cryptocoin watcher


View Profile
May 10, 2013, 01:36:16 AM
 #2850

Code:
sudo apt-get install libdb-dev libdb++-dev
Maybe your release has different versions

Ubuntu 12.10 has libdb5.3++-dev (and libdb5.1++-dev, but I guess the latest one will do)

𝖄𝖆𝖈: YF3feU4PNLHrjwa1zV63BcCdWVk5z6DAh5 · 𝕭𝖙𝖈: 12F78M4oaNmyGE5C25ZixarG2Nk6UBEqme
Ɏ: "the altcoin for the everyman, where the sweat on one's brow can be used to cool one's overheating CPU" -- theprofileth
kalgecin
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1000


View Profile
May 10, 2013, 01:37:57 AM
 #2851

Code:
sudo apt-get install libdb-dev libdb++-dev
Maybe your release has different versions

Ubuntu 12.10 has libdb5.3++-dev (and libdb5.1++-dev, but I guess the latest one will do)

sudo apt-get install libdb++-dev

will install the latest






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






markm
Legendary
*
Offline Offline

Activity: 2996
Merit: 1121



View Profile WWW
May 10, 2013, 01:38:17 AM
 #2852

Code:
sudo apt-get install libdb-dev libdb++-dev
Maybe your release has different versions

Ubuntu 12.10 has libdb5.3++-dev (and libdb5.1++-dev, but I guess the latest one will do)

In Fedora the old BDB is some different name, like db4 or something.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
kalgecin
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1000


View Profile
May 10, 2013, 01:39:32 AM
 #2853

has anyone noticed that about 5 to 6 blocks are generated a minute? it seems to slow down faster Smiley






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






obermensch
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile
May 10, 2013, 01:39:49 AM
 #2854

Yacointalk.com is now online, and ready for discussion.

running smf, and classic design. some people may have to wait before they can see the page, since i just config name severs.

if you feel like it, make a yacoin donation here : Y9z3yMkzA7MQG8de1Kv6VwQxebqJQPVhUd

PS, i will need Admins to help maintain, just shoot me a PM to apply
Neverest
Newbie
*
Offline Offline

Activity: 70
Merit: 0



View Profile
May 10, 2013, 01:43:52 AM
 #2855

Thanks! I added:
sudo apt-get install libssl-dev

But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"

Any tips. Sorry, but still Linux noob here, but learning fast.

sudo chown yourusername:yourusername * -R

Thanks. One step further:

make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/harry/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:10:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory

What next?
sudo apt-get install libdb++-dev

Thanks a lot guys, much appreciated. It made a lot of stuff, but still got an error at the end:
"/usr/bin/ld: cannot open output file yacoind: Permission denied
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1
"
I thought I already had all permissions needed?
kalgecin
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1000


View Profile
May 10, 2013, 01:45:37 AM
 #2856

Thanks! I added:
sudo apt-get install libssl-dev

But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"

Any tips. Sorry, but still Linux noob here, but learning fast.

sudo chown yourusername:yourusername * -R

Thanks. One step further:

make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/harry/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:10:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory

What next?
sudo apt-get install libdb++-dev

Thanks a lot guys, much appreciated. It made a lot of stuff, but still got an error at the end:
"/usr/bin/ld: cannot open output file yacoind: Permission denied
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1
"
I thought I already had all permissions needed?
run
sudo chown yourusername:yourusername * -R
again. seems you misused sudo once Smiley (or several times) ;-)






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






tallbikeguy
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
May 10, 2013, 01:49:03 AM
 #2857

Tried to compile cpuminer for windows from alex_fun source, but failed at make step.

gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing -I./compat/jansson -I/u
sr/local/include -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME
  -g -O2 -MT minerd-scrypt-jane.o -MD -MP -MF .deps/minerd-scrypt-jane.Tpo -c -o
 minerd-scrypt-jane.o `test -f 'scrypt-jane.c' || echo './'`scrypt-jane.c
C:\Users\testuser\AppData\Local\Temp\cc4kfJms.s: Assembler messages:
C:\Users\testuser\AppData\Local\Temp\cc4kfJms.s:25: Warning: .type pseudo-op use
d outside of .def/.endef ignored.
C:\Users\testuser\AppData\Local\Temp\cc4kfJms.s:25: Error: junk at end of line,
first unrecognized character is `h'
C:\Users\testuser\AppData\Local\Temp\cc4kfJms.s:26: Warning: .size pseudo-op use
d outside of .def/.endef ignored.
C:\Users\testuser\AppData\Local\Temp\cc4kfJms.s:26: Error: junk at end of line,
first unrecognized character is `h'
make[2]: *** [minerd-scrypt-jane.o] Error 1
make[2]: Leaving directory `/home/testuser/cpuminer-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/testuser/cpuminer-master'
make: *** [all] Error 2

Does anyone have any ideas?

make -f makefile.BLAH clean Huh

Didn't help... tried even to delete everyone from make folder and compile from scratch - nothing helped. Also cleaned Temp directory, there's also number of files that cannot be deleted. Will reboot now, cannot understand what's the hell going on that compilation  Huh

Also looked into scrypt-jane.c files, I thought that there is some ASM part of code which can give this error, but no - plain C text. Seems like compiler/flags problem.
Does anyone have the same problem at make step?

I've had this same problem trying to compile on Windows under MingW.  Has anyone successfully compiled Yac on Windows?  If so, what's your trick??  And if not, what the heck did the OP release?
Neverest
Newbie
*
Offline Offline

Activity: 70
Merit: 0



View Profile
May 10, 2013, 01:51:02 AM
 #2858

Thanks! I added:
sudo apt-get install libssl-dev

But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"

Any tips. Sorry, but still Linux noob here, but learning fast.

sudo chown yourusername:yourusername * -R

Thanks. One step further:

make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/harry/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:10:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory

What next?
sudo apt-get install libdb++-dev

Thanks a lot guys, much appreciated. It made a lot of stuff, but still got an error at the end:
"/usr/bin/ld: cannot open output file yacoind: Permission denied
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1
"
I thought I already had all permissions needed?
run
sudo chown yourusername:yourusername * -R
again. seems you misused sudo once Smiley (or several times) ;-)

Hehe, I probably sudo'd myself to linux-hell.

Anyway, chown-ed again, same result:

me@ubuntu:~/yacoin/src$ make -f makefile.unix results in:
......................... boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread
/usr/bin/ld: cannot open output file yacoind: Permission denied
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1

When trying with
me@ubuntu:~/yacoin/src$ sudo chown me:me * -R

me@ubuntu:~/yacoin/src$ sudo make -f makefile.unix I get
/bin/sh ../share/genbuild.sh obj/build.h
..............................
boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread
/usr/bin/ld: cannot find -lboost_filesystem
/usr/bin/ld: cannot find -lboost_program_options
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1

This is getting annoying, appreciate your assistance.
kalgecin
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1000


View Profile
May 10, 2013, 01:52:57 AM
 #2859

Thanks! I added:
sudo apt-get install libssl-dev

But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"

Any tips. Sorry, but still Linux noob here, but learning fast.

sudo chown yourusername:yourusername * -R

Thanks. One step further:

make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/harry/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:10:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory

What next?
sudo apt-get install libdb++-dev

Thanks a lot guys, much appreciated. It made a lot of stuff, but still got an error at the end:
"/usr/bin/ld: cannot open output file yacoind: Permission denied
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1
"
I thought I already had all permissions needed?
run
sudo chown yourusername:yourusername * -R
again. seems you misused sudo once Smiley (or several times) ;-)

Hehe, I probably sudo'd myself to linux-hell.

Anyway, chown-ed again, same result:

me@ubuntu:~/yacoin/src$ make -f makefile.unix results in:
......................... boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread
/usr/bin/ld: cannot open output file yacoind: Permission denied
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1

When trying with
me@ubuntu:~/yacoin/src$ sudo chown me:me * -R

me@ubuntu:~/yacoin/src$ sudo make -f makefile.unix I get
/bin/sh ../share/genbuild.sh obj/build.h
..............................
boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread
/usr/bin/ld: cannot find -lboost_filesystem
/usr/bin/ld: cannot find -lboost_program_options
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1

This is getting annoying, appreciate your assistance.
try
sudo apt-get install libboost-all-dev






██████████████████████████████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████▄▄▄███████████████████████
███████████████████████████████████████████████████████████████████████▀▀▀████████████████████████
██████████████████████████████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████████████████████████████





...INTRODUCING WAVES........
...ULTIMATE ASSET/CUSTOM TOKEN BLOCKCHAIN PLATFORM...






svennand
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile
May 10, 2013, 02:08:29 AM
 #2860

Seems that my high system resources usage from running minerd is killing some of the hash rate from my graphics cards.
All in all it has shaved off around 1000khash total from all my rigs of gpu power.

Is it possible to control minerd to use like 90% of the system power? leaving 10% for the scrypt gpu mining?
Pages: « 1 ... 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 [143] 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!