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.jpg]

<packer> when i see martin-t's name my blood pressure increases

<[BOT]Hоtdоg> anyone here lives near martin?
<[BOT]Hоtdоg> will pay monies for shooting him
Reply

#3
That did it! Thanks!
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] How to create a (desktop) link to the autobuild game? (Fedora) NoClue 3 1,475 06-04-2023, 10:16 AM
Last Post: NoClue
Sad [SOLVED] Segmentation fault (HTTP error 422) at the end of the first map John 1 923 11-04-2022, 10:05 AM
Last Post: John
  [NEEDS INFO] Xonotic settings file on linux ArchBerrie 2 5,030 07-15-2021, 03:18 AM
Last Post: ArchBerrie
  USB Mouse input on Linux dagelf 1 2,294 10-07-2020, 06:14 PM
Last Post: BuddyFriendGuy
  [NEEDS INFO] Corsair Strafe input lag in Linux Mint? FAF 1 1,648 08-18-2019, 03:14 AM
Last Post: FAF
  [NEED HELP] Missclick on Linux Mint Mate 19 RanDoom 4 3,097 04-23-2019, 01:41 PM
Last Post: RanDoom
  [NEED HELP] NetRadiant doesn't compile on Mac nokko 3 2,732 03-29-2019, 11:19 AM
Last Post: Freddy
  [NEEDS INFO] Linux install Old_Geekdad 7 4,540 01-16-2019, 06:03 PM
Last Post: Zoommair
Exclamation [SOLVED] Graphics issues on Intel Kaby Lake (HD630) hardware on Linux cefiar 9 9,537 04-19-2018, 02:42 AM
Last Post: cefiar
  [BUG] xonotic-maps ebuild does not compile ZyX 0 2,199 05-01-2017, 10:10 PM
Last Post: ZyX

Forum Jump:


Users browsing this thread:
1 Guest(s)

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