Bitcoin Forum
November 09, 2024, 12:11:03 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why clone coin that compiled in ubuntu 16.04 cannot compile in ubuntu 18.04?  (Read 50 times)
linz (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 6


View Profile
December 13, 2020, 08:23:18 AM
 #1

I compiled and generate first block an cloned coin (POW/POS) on ubuntu 16.04.
For desktop wallet development .need to install mxe packages ( cross compile ).
it cannot be install by ubuntu 16.04 (gcc version low)
It need gcc version 9 .So I upgrade to ubuntu 18.04 and install gcc ver 9.2.0
install syccessfully cross compile packages but cannot compile cloned coin.
It show error 4 times
1st is error in obj directory
solve by sudo mkdir obj
2nd error is zerocoin directory
solve by #src sudo mkdir obj/zerocoin
3rd error is leveldb
solve by
cd leveldb
chmod 755 *
cd ..
and compile again

4th error is
  /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status makefile.unix:189: recipe for target 'mconnectd' failed make: *** [mconnectd] Error 1 

I checked src file .it missing mconnectd file that generated by compiling.

Why this happen in ubuntu 18.04.

How can solve it?

Can install cross compile window package by low gcc version?

Can I know compiling guide for POWPOS in ubuntu 18.04.

NotATether
Legendary
*
Offline Offline

Activity: 1778
Merit: 7372


Top Crypto Casino


View Profile WWW
December 13, 2020, 09:09:22 AM
 #2

If you are looking for support to compile an altcoin, you'll need to get in touch with the altcoin developers about this issue so they can help you. It's unlikely there's anyone here who is familiar with the coin you are trying to compile.

That ld error looks like a problem with the makefile process of the altcoin rather than something on your operating system.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
December 13, 2020, 08:12:11 PM
 #3

Does this altcoin not have any compilation instructions on their github (or similar) repository? Huh

Usually, any minimum system requirements and/or specific software version requirements are mentioned there. If they aren't, contact the altcoin dev's and ask them.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  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!