Title: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: altcoiner- on December 08, 2015, 01:34:39 PM im trying to compile a few daemons for some testing purposes, i have run into these errors with certain coins i want to compile:
make: *** [obj/init.o] Error 1 make: *** [obj/net.o] Error 1 make: *** [obj/key.o] Error 1 make: *** [obj/wallet.o] Error 1 make: *** [obj/addressmap.o] Error 1 make: *** [obj/alert.o] Error 1 make: *** [obj/main.o] Error 1 make: *** [version.cpp.o] Error 1 All similar errors, I'm willing to pay .0025BTC bounty for a simple solution or command to run to fix this, and let the daemons compile normally. Mostly 'mkdir obj' did the trick, but in this case it seems it is a file that is missing, not a directory. Could one just copy from another coin into the appropriate location, and try compiling again? edit- tried that, didn't work Post your address with your response, if it works will send you .0025 and will provide txid on this thread Title: Re: [BOUNTY] small errors daemon compiling on linux vps Post by: altcoiner- on December 08, 2015, 02:04:47 PM note- all of these are bitcoin/litecoin forks
moved this to tech support maybe better place to look for help still .0025btc bounty Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: BaalMcKloud on December 08, 2015, 03:08:56 PM can you post the github links for the coins that dont compile?
Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: cr1776 on December 08, 2015, 03:22:49 PM im trying to compile a few daemons for some testing purposes, i have run into these errors with certain coins i want to compile: make: *** [obj/init.o] Error 1 make: *** [obj/net.o] Error 1 make: *** [obj/key.o] Error 1 make: *** [obj/wallet.o] Error 1 make: *** [obj/addressmap.o] Error 1 make: *** [obj/alert.o] Error 1 make: *** [obj/main.o] Error 1 make: *** [version.cpp.o] Error 1 All similar errors, I'm willing to pay .0025BTC bounty for a simple solution or command to run to fix this, and let the daemons compile normally. Mostly 'mkdir obj' did the trick, but in this case it seems it is a file that is missing, not a directory. Could one just copy from another coin into the appropriate location, and try compiling again? edit- tried that, didn't work Post your address with your response, if it works will send you .0025 and will provide txid on this thread Is your obj directory in your src directory? (Where is your make file?) Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: altcoiner- on December 08, 2015, 03:24:39 PM can you post the github links for the coins that dont compile? there's quite a fewim trying to compile a few daemons for some testing purposes, i have run into these errors with certain coins i want to compile: make: *** [obj/init.o] Error 1 make: *** [obj/net.o] Error 1 make: *** [obj/key.o] Error 1 make: *** [obj/wallet.o] Error 1 make: *** [obj/addressmap.o] Error 1 make: *** [obj/alert.o] Error 1 make: *** [obj/main.o] Error 1 make: *** [version.cpp.o] Error 1 All similar errors, I'm willing to pay .0025BTC bounty for a simple solution or command to run to fix this, and let the daemons compile normally. Mostly 'mkdir obj' did the trick, but in this case it seems it is a file that is missing, not a directory. Could one just copy from another coin into the appropriate location, and try compiling again? edit- tried that, didn't work Post your address with your response, if it works will send you .0025 and will provide txid on this thread Is your obj directory in your src directory? (Where is your make file?) tried everything, i am sure it's file related Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: BaalMcKloud on December 08, 2015, 03:40:50 PM post 2 links and i will test compile it
Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: cr1776 on December 08, 2015, 03:44:11 PM can you post the github links for the coins that dont compile? there's quite a fewim trying to compile a few daemons for some testing purposes, i have run into these errors with certain coins i want to compile: make: *** [obj/init.o] Error 1 make: *** [obj/net.o] Error 1 make: *** [obj/key.o] Error 1 make: *** [obj/wallet.o] Error 1 make: *** [obj/addressmap.o] Error 1 make: *** [obj/alert.o] Error 1 make: *** [obj/main.o] Error 1 make: *** [version.cpp.o] Error 1 All similar errors, I'm willing to pay .0025BTC bounty for a simple solution or command to run to fix this, and let the daemons compile normally. Mostly 'mkdir obj' did the trick, but in this case it seems it is a file that is missing, not a directory. Could one just copy from another coin into the appropriate location, and try compiling again? edit- tried that, didn't work Post your address with your response, if it works will send you .0025 and will provide txid on this thread Is your obj directory in your src directory? (Where is your make file?) tried everything, i am sure it's file related Yes, but did you do the mkdir obj inside the source directory? Where is the make file? Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: altcoiner- on December 08, 2015, 10:09:09 PM can you post the github links for the coins that dont compile? there's quite a fewim trying to compile a few daemons for some testing purposes, i have run into these errors with certain coins i want to compile: make: *** [obj/init.o] Error 1 make: *** [obj/net.o] Error 1 make: *** [obj/key.o] Error 1 make: *** [obj/wallet.o] Error 1 make: *** [obj/addressmap.o] Error 1 make: *** [obj/alert.o] Error 1 make: *** [obj/main.o] Error 1 make: *** [version.cpp.o] Error 1 All similar errors, I'm willing to pay .0025BTC bounty for a simple solution or command to run to fix this, and let the daemons compile normally. Mostly 'mkdir obj' did the trick, but in this case it seems it is a file that is missing, not a directory. Could one just copy from another coin into the appropriate location, and try compiling again? edit- tried that, didn't work Post your address with your response, if it works will send you .0025 and will provide txid on this thread Is your obj directory in your src directory? (Where is your make file?) tried everything, i am sure it's file related Yes, but did you do the mkdir obj inside the source directory? Where is the make file? makefile is also in /src Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: tspacepilot on December 08, 2015, 11:04:59 PM I'm curious what compiler you're using. My C compiler (gcc) usually gives text errors along with error codes. You've just posted "error 1", but that's not terribly informative unless you can find the index of what kind of error "error 1" is. Maybe if you pastebin you're entire build terminal session we'd have more info to help you.
Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: cr1776 on December 09, 2015, 01:01:31 AM Do you have a more verbose error log then? :-)
Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: tspacepilot on December 09, 2015, 01:12:29 AM Do you have a more verbose error log then? :-) Me? No. I'm not the OP. That's the same thing I was asking of the OP. (Maybe you were just emphasizing?) Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: cr1776 on December 09, 2015, 01:41:52 AM Do you have a more verbose error log then? :-) Me? No. I'm not the OP. That's the same thing I was asking of the OP. (Maybe you were just emphasizing?) That was to OP. I had just cut out all the replies between the two of us. :-) Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: altcoiner- on December 09, 2015, 05:48:28 AM Do you have a more verbose error log then? :-) As requested, not an error log but here is the whole copmilation for the coin Nubits (https://bitbucket.org/JordanLeePeershares/nubit.git) Code: *********:~/*****/nubit/src# make -f makefile.unix same type of thing as other coins, except it stops at other parts such as key.o, net.o, addressmap.o etc any ideas? Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: cr1776 on December 09, 2015, 06:02:04 AM Do you have libcurl-dev installed?
Which linux are you running btw? Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: altcoiner- on December 09, 2015, 06:08:58 AM Do you have libcurl-dev installed? unbuntu 4.8Which linux are you running btw? yes, i got it installed as i've compiled other coins no problem ... unless it is outdated... how would i find this out? Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: tspacepilot on December 09, 2015, 08:34:00 AM Do you have libcurl-dev installed? unbuntu 4.8Which linux are you running btw? yes, i got it installed as i've compiled other coins no problem ... unless it is outdated... how would i find this out? Normally you say: apt-cache policy PACKAGE_NAME You can use apt-cache search SEARCHSTRING to find available packages. On my system (debian testing) Code: tsp@computer:~$ apt-cache search curl-dev So, anyway, from your error log posted above (good job!), we can see that your compiler isn't finding curl/curl.h in the standard include directories (that's what the < > means). So, you need to double check some location like /usr/include/ to see if there's a curl/curl.h in there. Most likely, you need to install one of those libcurl4-*-dev packages. Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: altcoiner- on December 09, 2015, 10:25:14 AM Do you have libcurl-dev installed? unbuntu 4.8Which linux are you running btw? yes, i got it installed as i've compiled other coins no problem ... unless it is outdated... how would i find this out? Normally you say: apt-cache policy PACKAGE_NAME You can use apt-cache search SEARCHSTRING to find available packages. On my system (debian testing) Code: tsp@computer:~$ apt-cache search curl-dev So, anyway, from your error log posted above (good job!), we can see that your compiler isn't finding curl/curl.h in the standard include directories (that's what the < > means). So, you need to double check some location like /usr/include/ to see if there's a curl/curl.h in there. Most likely, you need to install one of those libcurl4-*-dev packages. I'm sort of confused how I can kill all these birds with one stone (the whole lot of errors) since there is multiple files missing, i've actually installed a few packages now with no luck. Title: Re: [BOUNTY] Compiling coins: small errors when daemon compiling on linux vps Post by: tspacepilot on December 09, 2015, 04:40:46 PM Do you have libcurl-dev installed? unbuntu 4.8Which linux are you running btw? yes, i got it installed as i've compiled other coins no problem ... unless it is outdated... how would i find this out? Normally you say: apt-cache policy PACKAGE_NAME You can use apt-cache search SEARCHSTRING to find available packages. On my system (debian testing) Code: tsp@computer:~$ apt-cache search curl-dev So, anyway, from your error log posted above (good job!), we can see that your compiler isn't finding curl/curl.h in the standard include directories (that's what the < > means). So, you need to double check some location like /usr/include/ to see if there's a curl/curl.h in there. Most likely, you need to install one of those libcurl4-*-dev packages. Well, what is your current package? If you post the result of "apt-cache search curl-dev" and then "apt-cache policy PACKAGE-NAME" for the relevant name of the curl-dev package on your distro then we'd at least know if you've got something installed. At the worst case, you can just get a tarball of the curl source and stick the .h file in the relevant location, but it's nicer to let your system's distro do the work for you. Quote I'm sort of confused how I can kill all these birds with one stone (the whole lot of errors) since there is multiple files missing, i've actually installed a few packages now with no luck. You may need multiple stones, so to speak. The only thing I know to do with compiler errors is to address them one by one. Often, though, there are fewer problems than error messages. In any case, getting the curl headers going is your first task. |