Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] linux compile/link error

#1
Hi all,
I'm getting this from
$ ./all compile -r
(or "SDL_CONFIG=sdl2-config ./all compile -r")
Code:
......... similar errors omit ........
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(bdiv_q.o): relocation R_X86_64_32S against symbol `__gmp_binvert_limb_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(redc_2.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(redc_n.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(randdef.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a(mu_bdiv_q.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a(libd0_rijndael_la-d0_rijndael.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [makefile.inc:524: darkplaces-dedicated] Error 1
make[2]: Leaving directory '/home/me/xonotic/work/xonotic/xonotic-official/darkplaces/build-obj/release/darkplaces-dedicated'
make[1]: *** [makefile.inc:455: bin-release] Error 2
make[1]: Leaving directory '/home/me/xonotic/work/xonotic/xonotic-official/darkplaces'
make: *** [makefile.inc:391: sv-release] Error 2
Ideas?
Reply

#2
Known issue. Try `./all clean && ./all compile -r -0`
[Image: 30381.png]
Reply

#3
That did it! Thanks!
Reply

#4
Wow, div didn't merge it yet. We're gonna celebrate a year of this bug!
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
Exclamation [NEED HELP] Graphics issues on Intel Kaby Lake (HD630) hardware on Linux cefiar 5 1,649 09-30-2017, 07:11 PM
Last Post: cefiar
  [BUG] xonotic-maps ebuild does not compile ZyX 0 486 05-01-2017, 10:10 PM
Last Post: ZyX
  [NEEDS INFO] Custom map - Host Error: Mod_MAP_Mode: not yet implemented teratorn 6 1,426 03-07-2017, 04:29 AM
Last Post: SpiKe
  [NEEDS INFO] W key are not working in fedora24 linux akillah 2 1,203 03-06-2017, 08:35 PM
Last Post: -z-
  [SOLVED] Ubuntu 16.0.4 Compile RedScale12 8 1,723 09-06-2016, 08:40 PM
Last Post: RedScale12
  [SOLVED] cannot compile git code dingus 5 1,670 07-27-2016, 05:13 PM
Last Post: sev
  [SOLVED] How do you open dat files on linux? Beagle 10 2,466 04-21-2016, 11:54 PM
Last Post: Beagle
  [SOLVED] Running Xonotic on Linux Mint 666 5 2,557 09-09-2015, 02:24 PM
Last Post: Beagle
  [SOLVED] Im to stupid to run NetRadiant under Linux HirnloserHering 3 1,624 08-13-2015, 11:51 AM
Last Post: SpiKe
  [SOLVED] Can't compile my map machine! 1 1,358 05-09-2015, 08:47 AM
Last Post: Mirio

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-