rethaw (OP)
|
|
July 11, 2013, 01:27:42 AM |
|
I always get this when I try compiling. Any tips?
URCE=2 -MMD -MF obj/init.d -o obj/init.o init.cpp g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make: *** [obj/init.o] Error 4
Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix.
|
|
|
|
BTC-Market
Member
Offline
Activity: 229
Merit: 10
|
|
July 11, 2013, 01:35:27 AM |
|
Yes I believe so (to both), what linux distribution did you pick? I'll try again on a new instance
It's the 13.04x64 instance. You should be able to see the file in the src if make finished successfully. Ok it's working now, I guess the make didn't complete last time. Thanks!
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 01:37:18 AM |
|
Yes I believe so (to both), what linux distribution did you pick? I'll try again on a new instance
It's the 13.04x64 instance. You should be able to see the file in the src if make finished successfully. Ok it's working now, I guess the make didn't complete last time. Thanks! Let us know what speed you get, I'll add it to the OP.
|
|
|
|
Cyberclones
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 11, 2013, 01:40:55 AM |
|
I always get this when I try compiling. Any tips?
URCE=2 -MMD -MF obj/init.d -o obj/init.o init.cpp g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make: *** [obj/init.o] Error 4
Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix. How do you remove the -O2 flag? Sorry complete Linux noob here.
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 01:57:55 AM |
|
I always get this when I try compiling. Any tips?
URCE=2 -MMD -MF obj/init.d -o obj/init.o init.cpp g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make: *** [obj/init.o] Error 4
Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix. How do you remove the -O2 flag? Sorry complete Linux noob here. Try this, I haven't tried it yet. sed "s/\-O2//" makefile.unix > makefile.unix.new make -f makefile.unix.new USE_UPNP=- Mind you this removes some optimizations, its better to use an instance with more memory... and it looks like the new code can take advantage of more headroom!
|
|
|
|
Zalfrin
|
|
July 11, 2013, 01:59:40 AM |
|
I always get this when I try compiling. Any tips?
URCE=2 -MMD -MF obj/init.d -o obj/init.o init.cpp g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make: *** [obj/init.o] Error 4
Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix. I deleted -O2, but run into the same error still. Anyone want to put up a dropbox link to a primecoind? The direct link to a precompiled binary in a previous post is no longer working.
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 02:01:03 AM |
|
Its a bad idea to grab someone else's precompiled binary. I'm sure you can find one, but my guess is Sunny will upload one soon.
|
|
|
|
|
notlist3d
Legendary
Offline
Activity: 1456
Merit: 1000
|
|
July 11, 2013, 02:02:09 AM |
|
I always get this when I try compiling. Any tips?
URCE=2 -MMD -MF obj/init.d -o obj/init.o init.cpp g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make: *** [obj/init.o] Error 4
Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix. When you say larger instance are u refering to " 1GB / 1 CPU 30GB SSD Disk 2TB Transfer" or which droplet are u making?
|
|
|
|
OnlyC
|
|
July 11, 2013, 02:02:15 AM |
|
Today's update vastly improves mining. I'm getting up to 200 on the smallest instance, the large instance gets 1500+, I built it like this on the large instance. apt-get install git git clone https://github.com/primecoin/primecoin.git apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y cd ~/primecoin/src make -f makefile.unix USE_UPNP=- mkdir ~/.primecoin echo "rpcuser=ARPCUserName rpcpassword=SomethingReallyLongOK gen=1" > ~/.primecoin/primecoin.conf sudo mv primecoind /usr/local/bin/. primecoind --daemon watch 'primecoind listtransactions & primecoind getmininginfo'
Couldn't find any package by regex 'libdb5.3++-dev' I'm using 13.4 64bit droplets too
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 02:05:01 AM |
|
Today's update vastly improves mining. I'm getting up to 200 on the smallest instance, the large instance gets 1500+, I built it like this on the large instance. apt-get install git git clone https://github.com/primecoin/primecoin.git apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y cd ~/primecoin/src make -f makefile.unix USE_UPNP=- mkdir ~/.primecoin echo "rpcuser=ARPCUserName rpcpassword=SomethingReallyLongOK gen=1" > ~/.primecoin/primecoin.conf sudo mv primecoind /usr/local/bin/. primecoind --daemon watch 'primecoind listtransactions & primecoind getmininginfo'
Couldn't find any package by regex 'libdb5.3++-dev' I'm using 13.4 64bit droplets too Try apt-get update? libdb5.3++-dev - Berkeley v5.3 Database Libraries for C++ [development] Otherwise you can use another version libdb5.1++-dev or libdb4.8++-dev
|
|
|
|
Zalfrin
|
|
July 11, 2013, 02:05:36 AM |
|
Its a bad idea to grab someone else's precompiled binary.
Yeah I'm aware of that. I suppose I could fire up a droplet with 2GB of RAM temporarily, it's only 0.03 an hour. So it's definitely an out-of-memory issue?
|
|
|
|
Cyberclones
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 11, 2013, 02:12:16 AM |
|
Its a bad idea to grab someone else's precompiled binary.
Yeah I'm aware of that. I suppose I could fire up a droplet with 2GB of RAM temporarily, it's only 0.03 an hour. So it's definitely an out-of-memory issue? I'm thinking of going this route too as I can't get it to work either.
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 02:22:17 AM |
|
Its a bad idea to grab someone else's precompiled binary.
Yeah I'm aware of that. I suppose I could fire up a droplet with 2GB of RAM temporarily, it's only 0.03 an hour. So it's definitely an out-of-memory issue? I'm thinking of going this route too as I can't get it to work either. So far, this is the only tested way to get the optimized miner in this thread. And since it scales with core count you can get huge pps on an 8 core instance...
|
|
|
|
notlist3d
Legendary
Offline
Activity: 1456
Merit: 1000
|
|
July 11, 2013, 02:25:34 AM |
|
Do you have to pay the monthly and hourly cost? What are the two costs?
|
|
|
|
Zalfrin
|
|
July 11, 2013, 02:25:47 AM |
|
I went ahead add set up a 2GB unit and it's compiling happily. Thanks.
|
|
|
|
MagicSata
Newbie
Offline
Activity: 17
Merit: 0
|
|
July 11, 2013, 02:31:07 AM |
|
For anyone not wanting to give out creditcard details or if you simply don't have one: 1. go to https://bancore.com/2. sign up 3. generate a card 4. use your new virtual credit card info for registering your droplets AUrXSodpcj5LKio1v5jWfu6ZXNAZbveU1h
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 02:36:38 AM |
|
Do you have to pay the monthly and hourly cost? What are the two costs?
The monthly cost is just the sum of the hourly costs, i.e. .007 / hour * 24 hours / day * 30 days / month = $5.04 / month
|
|
|
|
OnlyC
|
|
July 11, 2013, 02:36:50 AM |
|
Today's update vastly improves mining. I'm getting up to 200 on the smallest instance, the large instance gets 1500+, I built it like this on the large instance. apt-get install git git clone https://github.com/primecoin/primecoin.git apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y cd ~/primecoin/src make -f makefile.unix USE_UPNP=- mkdir ~/.primecoin echo "rpcuser=ARPCUserName rpcpassword=SomethingReallyLongOK gen=1" > ~/.primecoin/primecoin.conf sudo mv primecoind /usr/local/bin/. primecoind --daemon watch 'primecoind listtransactions & primecoind getmininginfo'
Couldn't find any package by regex 'libdb5.3++-dev' I'm using 13.4 64bit droplets too Try apt-get update? libdb5.3++-dev - Berkeley v5.3 Database Libraries for C++ [development] Otherwise you can use another version libdb5.1++-dev or libdb4.8++-dev Yeah, it worked with 5.1. Thanks. But my second droplet, 5.3 is ok, after that makefile failed. Don't know why >"<
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 02:39:10 AM |
|
Yeah, it worked with 5.1. Thanks. But my second droplet, 5.3 is ok, after that makefile failed. Don't know why >"<
Me neither, but glad its working now! Anyone care to post their pps? I'm getting around 150 on the smalls and 1500 on the 8-core. EDIT: I should mention you will end up charging your card sooner if you use a larger instance.
|
|
|
|
|