Skip to content

Fixing C Internal Compile Error when building in Ubuntu 16.04

Jared Odulio edited this page Mar 20, 2018 · 3 revisions

This was a trial and error attempt to build Tamadcoin for Ubuntu 16.04 second seed node which is not a dedicated server but a cheaper VPS compared to the main seed node. What I did:

  1. Update GCC compiler to 7.2 or the latest stable build
  2. Update Boost to 1.58
  3. Update physical memory to 8GB
  4. Allocated swap space using the following commands

free dd if=/dev/zero of=/var/swap.img bs=1024k count=8370176 mkswap /var/swap.img swapon /var/swap.img free

  1. fix the crypto.cpp file replacing the line

return sizeof(rs_comm) + pubs_count * sizeof(((rs_comm*)0)->ab[0]); thanks to the genius from bytecoin repo

  1. build the source with make -j 3, only maximum of 3 jobs instead of make -j which will cause out of memory error

2 Seed Nodes are running now, waiting for something to happen overnight

======= Update: 2 nodes successfully mined it's initial tokens and has distributed some amount to other users.

Clone this wiki locally