Menu

#218 Compilation error on Fedora (linux)

Unverified
closed-accepted
nobody
None
5
2016-08-06
2016-07-27
No

I keep getting this compilation error when I try to build vbam Beta 2 (got the release code from github), I'm using Fedora 23 and 24:

/usr/bin/ld: CMakeFiles/visualboyadvance-m.dir/wxvbam.cpp.o: relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC

It seems to happen on the linking step ("[100%] Linking CXX executable"). I don't see any other errors, and the warnings seem unrelated.

How to reproduce:

1) Install dependencies:

sudo dnf install

2) Compile:

cmake .
make

Discussion

  • wowzaman12

    wowzaman12 - 2016-08-06
    • status: open --> closed-accepted
     
  • wowzaman12

    wowzaman12 - 2016-08-06

    moving to new tracker, you can view the progress here http://dev.vba-m.com/T3

     
MongoDB Logo MongoDB