Post
Topic
Board Announcements (Altcoins)
Re: ★[ANN] [NAV] NAV COIN - NAVTECH NOW DECENTRALIZED!
by
gwaur
on 22/05/2017, 09:58:01 UTC
Hello,

I get this error when trying to compile the latest Nav Coin Core.

error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE." # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\

I have tried to find a solution but still no luck... any ideas?

Thanks!

edit configure.ac, search for CXXFLAGS (with latest v4.0.3 it's line 871) and change it to
CXXFLAGS="$CXXFLAGS_TEMP -fPIC -O2"