Post
Topic
Board Announcements (Altcoins)
Re: [ANN][♔] Britcoin 3 [BRIT] | 5% annual PoS | Always on TOR
by
leigh2k14
on 02/12/2016, 04:20:26 UTC
I got this error:

Code:
build/compat_libevent.o: In function `tor_gettimeofday_cache_clear':
/home/leigh/build-britcoin-qt-Qt_4_8_6_in_PATH_qt4-Debug/../britcoin3.3/src/tor/compat_libevent.c:638: undefined reference to `event_base_update_cache_time'
collect2: error: ld returned 1 exit status
make: *** [britcoin3.3.0.2] Error 1
21:10:13: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project britcoin-qt (kit: Qt 4.8.6 in PATH (qt4))
When executing step "Make"

So you're compiling the GUI then?  Try just the britcoind (in the src folder) first; see how that goes.

QT 4.8.6, that's strange.  You want to be using something between QT 5.2 and 5.5.

For the GUI, you might need:

sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools


EDIT: You may also need libevent for either daemon or GUI, though that was already in the instructions:

sudo apt-get install libevent-dev

Now I get this:

Code:
build/compat_libevent.o: In function `tor_gettimeofday_cache_clear':
compat_libevent.c:(.text+0x909): undefined reference to `event_base_update_cache_time'
collect2: error: ld returned 1 exit status
make: *** [britcoin3.3.0.2] Error 1
00:07:56: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project britcoin-qt (kit: Desktop Qt 5.2.1 GCC 32bit)
When executing step "Make"

 I tried to install libvent and it said I already have the newest version?

Code:
leigh@mintBox ~/britcoin3.3/src $ sudo apt-get install libevent-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libevent-dev is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 176 not to upgrade.



I get the same error when I try to run britcoind too.

Code:
/home/leigh/britcoin3.3/src/tor/compat_libevent.c:638: undefined reference to `event_base_update_cache_time'
collect2: error: ld returned 1 exit status
make: *** [britcoind] Error 1