seredat / karbowanec

Karbo (Karbovanets) - Digital Exchange Medium - cryptocurrency made in Ukraine, CryptoNote protocol implementation.
https://karbo.io/
Other
104 stars 66 forks source link

Build Error #40

Closed luxifr closed 6 years ago

luxifr commented 6 years ago

Hi,

I'm trying to build from source on Ubuntu 18.04 but hit below error. I've checked out the v.1.5.1 Tag

[ 70%] Building CXX object src/CMakeFiles/Wallet.dir/WalletLegacy/WalletTransactionSender.cpp.o
In function ‘T CryptoNote::{anonymous}::popRandomValue(URNG&, std::vector<T>&) [with URNG = std::linear_congruential_engine<long unsigned int, 16807, 0, 2147483647>; T = long unsigned int]’:
cc1plus: error: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
cc1plus: all warnings being treated as errors
src/CMakeFiles/Wallet.dir/build.make:374: recipe for target 'src/CMakeFiles/Wallet.dir/WalletLegacy/WalletTransactionSender.cpp.o' failed