Reply To: How to use my RSPduo w/ Rpi-3 & command line?

SDRPlay Independent Community Forum Forums General How to use my RSPduo w/ Rpi-3 & command line? Reply To: How to use my RSPduo w/ Rpi-3 & command line?

#1718
alanmalk
Participant

    This should work to correctly load sdrTest even with the old libraries there, but I cannot test it on the PI.

    Sigh…

    pi@macpi:~/Downloads/SdrGlut/sdrTest $ g++ -O2 -std=c++11 -Wno-deprecated -I/usr/local/include -o sdrTest ./src/sdrTest.cpp ./src/mThread.cpp ./src/cMalloc.cpp ./src/Clisten.cpp -L/usr/local/bin -lrtaudio -lliquid /usr/local/lib/libSoapySDR.so.0.8
    /usr/bin/ld: /tmp/ccw4FIcx.o: undefined reference to symbol ‘pthread_create@@GLIBC_2.4’
    /usr/bin/ld: //lib/arm-linux-gnueabihf/libpthread.so.0: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status

    With my limited knowledge I couldn’t even begin to guess what might be needed to fix this error.

    With nothing to loose at this point, I think I will use the wrecking ball of “sudo rm …”.
    What could go wrong!!! (?)