You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you to the original creator and those that have taken a crack at up-keeping this optional program.
I've given it a strong go, and was able to troubleshoot enough to get the main gui to run, but I have been having issues with the SDR Play plugin compiling. I am using the latest kali linux, downloaded all the official SDR APIs and drivers, and went to https://github.com/JvanKatwijk/rtlsdr-emulator-sdrplay/tree/master to get the mirsdrapi-rsp driver since it's no longer included in the official API. Now when I go to make the plugin, I get the error below. I edited the main file to include CFLAGS+=-fPIC which doesn't give me an error but also doesn't make the plugin. I am willing to do more troubleshooting myself, but I don't program often and would appreciate help figuring out where to begin looking for the problem because my google-fu isn't strong enough.
make all
mkdir -p bin/LINUX/X64
mkdir -p obj
cc -Wall -O3 -m64 -c src/TSDRPlugin_SDRPlay.c -o obj/TSDRPlugin_SDRPlay.o
cc -Wall -shared -m64 -o bin/LINUX/X64/TSDRPlugin_SDRPlay.so -lmirsdrapi-rsp obj/TSDRPlugin_SDRPlay.o
/usr/bin/ld: obj/TSDRPlugin_SDRPlay.o: warning: relocation against errormsg_code' in read-only section .text'
/usr/bin/ld: obj/TSDRPlugin_SDRPlay.o: relocation R_X86_64_PC32 against symbol `errormsg_code' 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: *** [makefile:129: bin/LINUX/X64/TSDRPlugin_SDRPlay.so] Error 1
The text was updated successfully, but these errors were encountered:
First off, thank you to the original creator and those that have taken a crack at up-keeping this optional program.
I've given it a strong go, and was able to troubleshoot enough to get the main gui to run, but I have been having issues with the SDR Play plugin compiling. I am using the latest kali linux, downloaded all the official SDR APIs and drivers, and went to https://github.com/JvanKatwijk/rtlsdr-emulator-sdrplay/tree/master to get the mirsdrapi-rsp driver since it's no longer included in the official API. Now when I go to make the plugin, I get the error below. I edited the main file to include CFLAGS+=-fPIC which doesn't give me an error but also doesn't make the plugin. I am willing to do more troubleshooting myself, but I don't program often and would appreciate help figuring out where to begin looking for the problem because my google-fu isn't strong enough.
make all
mkdir -p bin/LINUX/X64
mkdir -p obj
cc -Wall -O3 -m64 -c src/TSDRPlugin_SDRPlay.c -o obj/TSDRPlugin_SDRPlay.o
cc -Wall -shared -m64 -o bin/LINUX/X64/TSDRPlugin_SDRPlay.so -lmirsdrapi-rsp obj/TSDRPlugin_SDRPlay.o
/usr/bin/ld: obj/TSDRPlugin_SDRPlay.o: warning: relocation against
errormsg_code' in read-only section
.text'/usr/bin/ld: obj/TSDRPlugin_SDRPlay.o: relocation R_X86_64_PC32 against symbol `errormsg_code' 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: *** [makefile:129: bin/LINUX/X64/TSDRPlugin_SDRPlay.so] Error 1
The text was updated successfully, but these errors were encountered: