Closed lock042 closed 7 years ago
Hello,
looks like something I already had in the past.
I added an option to add -fPIC to the build, could you try rerunning cmake adding the option -Dcflags_fpic=On
?
Writing
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -Dcflags_fpic=On
gives same error
mmmh... I'm afraid it might be some compilation problem on the qhyccd side, since the error is only there. You might try to remove the build directory, just to avoid some caching problem, and rerun the build with that flag set to On.
If it doesn't work, it might be useful to raise an issue to QHYCCD.
Which camera do you have? It should also be possible to entirely disable the qhy driver with -Denable_qhy=Off
.
Oh thanks. I have a Zwo, so I've disabled the qhy driver ! Thank you :)
Thank you so much for your help. I've seen: Color cameras untested, they might not work
I have a ASI 224 color, so I will test and report you all the bugs I could find.
Thank you for the testing :)
No problem, by the way I did see you used Siril, I'm one of the developers ;).
Oh, cool! Yes, I've been using it quite a lot, particularly with the spectroscopy shots :)
Nice !!!
I've sent you an email with some feedbacks.
I think you can close it. Apparently your last commit fixed it.
I'll mark this as closed, yes. It's actually still partially an issue, if one wants to use QHY, but that's another story...
Hello. While trying to compile PlanetaryImager stable, I have:
[ 96%] Linking CXX executable planetary_imager /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhyccd.o): relocation R_X86_64_32S against symbol
cydev' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhycam.o): relocation R_X86_64_32 against.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhybase.o): relocation R_X86_64_32 against
.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5lii_c.o): relocation R_X86_64_32 against symbol_ZTV9QHY5LII_C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(ic8300.o): relocation R_X86_64_32 against symbol
_ZTV6IC8300' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy21.o): relocation R_X86_64_32 against symbol_ZTV5QHY21' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy22.o): relocation R_X86_64_32 against symbol
_ZTV5QHY22' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy8l.o): relocation R_X86_64_32 against symbol_ZTV5QHY8L' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy10.o): relocation R_X86_64_32 against symbol
_ZTV5QHY10' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy12.o): relocation R_X86_64_32 against symbol_ZTV5QHY12' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy9s.o): relocation R_X86_64_32 against symbol
_ZTV5QHY9S' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy8pro.o): relocation R_X86_64_32 against symbol_ZTV7QHY8PRO' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy11.o): relocation R_X86_64_32 against symbol
_ZTV5QHY11' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy23.o): relocation R_X86_64_32 against symbol_ZTV5QHY23' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(img2p.o): relocation R_X86_64_32 against symbol
_ZTV5IMG2P' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy6.o): relocation R_X86_64_32 against symbol_ZTV4QHY6' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5ii.o): relocation R_X86_64_32 against symbol
_ZTV6QHY5II' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5lii_m.o): relocation R_X86_64_32 against symbol_ZTV9QHY5LII_M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5hii.o): relocation R_X86_64_32 against symbol
_ZTV7QHY5HII' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5pii_c.o): relocation R_X86_64_32 against symbol_ZTV9QHY5PII_C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy8.o): relocation R_X86_64_32 against symbol
_ZTV4QHY8' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(minicam5s_m.o): relocation R_X86_64_32 against symbol_ZTV11MINICAM5S_M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(minicam5s_c.o): relocation R_X86_64_32 against symbol
_ZTV11MINICAM5S_C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(solar800g.o): relocation R_X86_64_32 against symbol_ZTV9SOLAR800G' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy16000.o): relocation R_X86_64_32 against symbol
_ZTV8QHY16000' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5.o): relocation R_X86_64_32 against symbol_ZTV4QHY5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy7.o): relocation R_X86_64_32 against symbol
_ZTV4QHY7' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy2pro.o): relocation R_X86_64_32 against symbol_ZTV7QHY2PRO' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(img0h.o): relocation R_X86_64_32 against symbol
_ZTV5IMG0H' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(log4z.o): relocation R_X86_64_32 against.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy15.o): relocation R_X86_64_32 against symbol
_ZTV5QHY15' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy27.o): relocation R_X86_64_32 against symbol_ZTV5QHY27' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy90a.o): relocation R_X86_64_32 against symbol
_ZTV6QHY90A' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy16200a.o): relocation R_X86_64_32 against symbol_ZTV9QHY16200A' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy28.o): relocation R_X86_64_32 against symbol
_ZTV5QHY28' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5rii_m.o): relocation R_X86_64_32 against symbol_ZTV9QHY5RII_M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(minicam5f_m.o): relocation R_X86_64_32 against symbol
_ZTV11MINICAM5F_M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy9t.o): relocation R_X86_64_32 against symbol_ZTV5QHY9T' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(ic16803.o): relocation R_X86_64_32 against symbol
_ZTV7IC16803' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy29.o): relocation R_X86_64_32 against symbol_ZTV5QHY29' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(solar1600.o): relocation R_X86_64_32 against symbol
_ZTV9SOLAR1600' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(unlockimagequeue.o): relocation R_X86_64_32 against symbol_ZTV16UnlockImageQueue' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5pii_m.o): relocation R_X86_64_32 against symbol
_ZTV9QHY5PII_M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5tii_c.o): relocation R_X86_64_32 against symbol_ZTV9QHY5TII_C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(polemaster.o): relocation R_X86_64_32 against symbol
_ZTV10POLEMASTER' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy08050g.o): relocation R_X86_64_32 against symbol_ZTV9QHY08050G' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii174m.o): relocation R_X86_64_32 against symbol
_ZTV11QHY5III174M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii178c.o): relocation R_X86_64_32 against symbol_ZTV11QHY5III178C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy16000g.o): relocation R_X86_64_32 against symbol
_ZTV9QHY16000G' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii236c.o): relocation R_X86_64_32 against symbol_ZTV11QHY5III236C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy695a.o): relocation R_X86_64_32 against symbol
_ZTV7QHY695A' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy160002ad.o): relocation R_X86_64_32 against symbol_ZTV11QHY160002AD' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii224c.o): relocation R_X86_64_32 against symbol
_ZTV11QHY5III224C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iiig400m.o): relocation R_X86_64_32 against symbol_ZTV12QHY5IIIG400M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy16.o): relocation R_X86_64_32 against symbol
_ZTV5QHY16' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy174m.o): relocation R_X86_64_32 against symbol_ZTV7QHY174M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii185c.o): relocation R_X86_64_32 against symbol
_ZTV11QHY5III185C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii290c.o): relocation R_X86_64_32 against symbol_ZTV11QHY5III290C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii178m.o): relocation R_X86_64_32 against symbol
_ZTV11QHY5III178M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy814g.o): relocation R_X86_64_32 against symbol_ZTV7QHY814G' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(download_fx3.o): relocation R_X86_64_32 against
.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(download_fx2.o): relocation R_X86_64_32 against.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii174c.o): relocation R_X86_64_32 against symbol
_ZTV11QHY5III174C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy174c.o): relocation R_X86_64_32 against symbol_ZTV7QHY174C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy178m.o): relocation R_X86_64_32 against symbol
_ZTV7QHY178M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy178c.o): relocation R_X86_64_32 against symbol_ZTV7QHY178C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy224c.o): relocation R_X86_64_32 against symbol
_ZTV7QHY224C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy290c.o): relocation R_X86_64_32 against symbol_ZTV7QHY290C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy45gx.o): relocation R_X86_64_32 against symbol
_ZTV7QHY45GX' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhyabase.o): relocation R_X86_64_32 against symbol_ZTV8QHYABASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(img132e.o): relocation R_X86_64_32 against symbol
_ZTV7IMG132E' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iibase.o): relocation R_X86_64_32 against symbol_ZTV10QHY5IIBASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iiibase.o): relocation R_X86_64_32 against
.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iiicoolbase.o): relocation R_X86_64_32 against.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii290m.o): relocation R_X86_64_32 against symbol
_ZTV11QHY5III290M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy290m.o): relocation R_X86_64_32 against symbol_ZTV7QHY290M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy163c.o): relocation R_X86_64_32 against symbol
_ZTV7QHY163C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy163m.o): relocation R_X86_64_32 against symbol_ZTV7QHY163M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy165c.o): relocation R_X86_64_32 against symbol
_ZTV7QHY165C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii163base.o): relocation R_X86_64_32 against symbol_ZTV14QHY5III163BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii165base.o): relocation R_X86_64_32 against symbol
_ZTV14QHY5III165BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii174base.o): relocation R_X86_64_32 against symbol_ZTV14QHY5III174BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii178base.o): relocation R_X86_64_32 against symbol
_ZTV14QHY5III178BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii185base.o): relocation R_X86_64_32 against symbol_ZTV14QHY5III185BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii224base.o): relocation R_X86_64_32 against symbol
_ZTV14QHY5III224BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii290base.o): relocation R_X86_64_32 against symbol_ZTV14QHY5III290BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhyccdimgprocess.o): relocation R_X86_64_32 against
.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy367c.o): relocation R_X86_64_32 against symbol_ZTV7QHY367C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy183c.o): relocation R_X86_64_32 against symbol
_ZTV7QHY183C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5liibase.o): relocation R_X86_64_32 against symbol_ZTV11QHY5LIIBASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(cmosdll.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii367base.o): relocation R_X86_64_32 against symbol_ZTV14QHY5III367BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii183base.o): relocation R_X86_64_32 against symbol
_ZTV14QHY5III183BASE' 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 src/CMakeFiles/planetary_imager.dir/build.make:209: recipe for target 'src/planetary_imager' failed make[2]: [src/planetary_imager] Error 1 CMakeFiles/Makefile2:285: recipe for target 'src/CMakeFiles/planetary_imager.dir/all' failed make[1]: [src/CMakeFiles/planetary_imager.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 `