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

#4
Wow, div didn't merge it yet. We're gonna celebrate a year of this bug!
?️‍? <- that should be a rainbow flag emoji.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [NEEDS INFO] Corsair Strafe input lag in Linux Mint? FAF 1 256 08-18-2019, 03:14 AM
Last Post: FAF
  [NEED HELP] Missclick on Linux Mint Mate 19 RanDoom 6 540 04-23-2019, 01:41 PM
Last Post: RanDoom
  [NEED HELP] NetRadiant doesn't compile on Mac nokko 3 564 03-29-2019, 11:19 AM
Last Post: Freddy
  [NEEDS INFO] Linux install Old_Geekdad 7 772 01-16-2019, 06:03 PM
Last Post: Zoommair
Exclamation [SOLVED] Graphics issues on Intel Kaby Lake (HD630) hardware on Linux cefiar 9 4,370 04-19-2018, 02:42 AM
Last Post: cefiar
  [BUG] xonotic-maps ebuild does not compile ZyX 0 967 05-01-2017, 10:10 PM
Last Post: ZyX
  [NEEDS INFO] Custom map - Host Error: Mod_MAP_Mode: not yet implemented teratorn 6 2,361 03-07-2017, 04:29 AM
Last Post: SpiKe
  [NEEDS INFO] W key are not working in fedora24 linux akillah 2 1,743 03-06-2017, 08:35 PM
Last Post: -z-
  [SOLVED] Ubuntu 16.0.4 Compile RedScale12 8 2,895 09-06-2016, 08:40 PM
Last Post: RedScale12
  [SOLVED] cannot compile git code dingus 5 2,425 07-27-2016, 05:13 PM
Last Post: sev

Forum Jump:


Users browsing this thread:
1 Guest(s)

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