Bitcoin Forum

Bitcoin => Mining support => Topic started by: enginehead on January 07, 2013, 04:03:22 PM



Title: problem compiling devcoind on ubuntu 11.04
Post by: enginehead on January 07, 2013, 04:03:22 PM
I've been trying to compile devoind to mine solo on ubuntu 11.04. I have followed install instructions but keep getting the same error

user@mining-server:~/old-devcoind-master/src$ make -f makefile.unix USE_UPNP=1 bitcoind

make: *** No rule to make target `bitcoind'. Stop.

I have tried the other linux makefiles but the error is the same.

Please help.


Title: Re: problem compiling devcoind on ubuntu 11.04
Post by: SAC on January 07, 2013, 06:08:19 PM
I've been trying to compile devoind to mine solo on ubuntu 11.04. I have followed install instructions but keep getting the same error

user@mining-server:~/old-devcoind-master/src$ make -f makefile.unix USE_UPNP=1 bitcoind

make: *** No rule to make target `bitcoind'. Stop.

I have tried the other linux makefiles but the error is the same.

Please help.

Look at the contents of the makefile near the bottom you will see what the targets are named like this.

Code:
bitcoind: $(OBJS:obj/%=obj/%)
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)

clean:
-rm -f bitcoind test_bitcoin
-rm -f obj/*.o
-rm -f obj-test/*.o
-rm -f obj/*.P
-rm -f obj-test/*.P
-rm -f obj/build.h

With a makefile containing these you have a clean and bitcoind target to use, see what they have named it in your copy. Oh and unless you have installed the miniupnp from source it will fail with the command you list above use USE_UPNP= to skip the check for it.



Title: Re: problem compiling devcoind on ubuntu 11.04
Post by: enginehead on January 07, 2013, 09:21:19 PM
 ;D
SAC you are a star! Many thanks for your help. Seems obvious now. Changed bitcoind to devcoind as per the makefile. Busy compiling now.


Title: Re: problem compiling devcoind on ubuntu 11.04
Post by: SAC on January 07, 2013, 10:09:46 PM
;D
SAC you are a star! Many thanks for your help. Seems obvious now. Changed bitcoind to devcoind as per the makefile. Busy compiling now.

Your welcome.