Describe the bug
When compiling the code using https://aur.archlinux.org/libindi_3rdparty.git in order to make a package for Arch with the code modification for 2.0.10 I am getting the error shown in the Log Files section
To Reproduce
Running the script included in PKGBUILD
Log Files/usr/bin/ld: /tmp/ccRYeByL.ltrans1.ltrans.o: warning: relocation against `unix_fli_trylock' in read-only section `.text' /usr/bin/ld: /tmp/ccRYeByL.ltrans1.ltrans.o: relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [libfli/CMakeFiles/fli.dir/build.make:290: libfli/libfli.so.2.0] Error 1 make[1]: *** [CMakeFiles/Makefile2:2007: libfli/CMakeFiles/fli.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
Describe the bug When compiling the code using https://aur.archlinux.org/libindi_3rdparty.git in order to make a package for Arch with the code modification for 2.0.10 I am getting the error shown in the
Log Files
sectionTo Reproduce Running the script included in PKGBUILD
Expected behavior Successful compilation
Desktop (please complete the following information):
Log Files
/usr/bin/ld: /tmp/ccRYeByL.ltrans1.ltrans.o: warning: relocation against `unix_fli_trylock' in read-only section `.text' /usr/bin/ld: /tmp/ccRYeByL.ltrans1.ltrans.o: relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [libfli/CMakeFiles/fli.dir/build.make:290: libfli/libfli.so.2.0] Error 1 make[1]: *** [CMakeFiles/Makefile2:2007: libfli/CMakeFiles/fli.dir/all] Error 2 make: *** [Makefile:156: all] Error 2