Any tips for buildingunder ARM64?

General discussions
Post Reply
corq
Posts: 12
Joined: Sat Jan 30, 2016 2:21 am

Any tips for buildingunder ARM64?

Post by corq » Fri Dec 30, 2016 5:41 am

Was going to attempt to build the SoapySDR SDRPlay server on the Pine64: https://www.pine64.org/?page_id=1194 which I'd previously done with the Banana Pro M3, successfully.

Just on a whim I tried to build, and surprisingly cmake works fine:

Code: Select all

root@pine64:/opt/SoapySDRPlay/build# cmake ../
-- The CXX compiler identification is GNU 4.9.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Build type not specified: defaulting to release.
-- Found libsdrplay: /usr/local/include, /usr/local/lib/libmirsdrapi-rsp.so
-- LIBSDRPLAY_INCLUDE_DIRS - /usr/local/include
-- LIBSDRPLAY_LIBRARIES - /usr/local/lib/libmirsdrapi-rsp.so
-- Performing Test HAS_STD_CXX11
-- Performing Test HAS_STD_CXX11 - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/SoapySDRPlay/build
But fails on make::

Code: Select all

make[2]: *** No rule to make target '/usr/local/lib/libmirsdrapi-rsp.so', needed by 'libsdrPlaySupport.so'.  Stop.
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/sdrPlaySupport.dir/all' failed
make[1]: *** [CMakeFiles/sdrPlaySupport.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Having contacted the Soapy author, he mentioned checking here to see if SDRPlay 64 bit libs would be available or what I might need to make this work. Realizing this is completely different architecture but thought to submit to see if there was a chance?

Thanks

Any ideas?

Reason: No reason

RichardG
Posts: 11
Joined: Sat Jun 11, 2016 5:19 pm

Re: Any tips for buildingunder ARM64?

Post by RichardG » Fri Dec 30, 2016 4:23 pm

I believe you will be reliant on Mirics releasing a 64 bit library for your processor with the correct endian etc. Not sure if sdrplay can do this? I wanted to build for an Odroid C2 but chose a Raspberry Pi3 because of this likely driver problem. Trouble with the Pi3 is the 100Mbps Ethernet port, the Pine or Odroid has a 1Gbps which would be much better.

Look forward to a answer from the sdrplay team as well.

Reason: No reason

corq
Posts: 12
Joined: Sat Jan 30, 2016 2:21 am

Re: Any tips for buildingunder ARM64?

Post by corq » Sun Jan 01, 2017 2:19 am

Thanks, it seemed weird that everything else built *almost* perfectly, here's hoping!

Reason: No reason

Post Reply