Comments (5)
Hi again
I am still stuck on the make embedded part. Some help would be appreciated.
The output for make embedded after generating the libiio.a file is
g++ -O3 -I.. -DVERSION="leansdr-1.2.0-27-ge6416aa" -Wall -Wno-sign-compare -Wno-array-bounds -Wno-unused-variable -Ilibiio leaniiorx.cc -lfftw3f -lpthread -Llibiio -L. -liio -lpthread -lxml2 -lz -llzma -static -o leaniiorx.x86_64
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol strcmp' with pointer equality in
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie
collect2: error: ld returned 1 exit status
Makefile:83: recipe for target 'leaniiorx.x86_64' failed
make: *** [leaniiorx.x86_64] Error 1
from leansdr.
It looks like you are running "make embedded" on a x86_64 machine, so the Makefile is trying to generate a binary for x86_64. If this is really what you want, try the same command without "-static".
But leaniiorx is intended to run on-board the plutosdr. The Makefile can generate a portable (static) plutosdr binary if you run it on another arm-linux board (e.g. raspberry pi with some versions of the OS) with libiio already compiled, but that was a quick hack. The proper approach is documented at https://wiki.analog.com/university/tools/pluto/devs/embedded_code , but that's a lot more work.
You can also test leansdr binaries from leantrx to decide whether you really want to recompile the latest version. Download from https://www.pabr.org/radio/leantrx/leantrx.en.html#plutosdr_net_install
from leansdr.
Hi
I solved it. I removed the previous installation and did a new clean install and everything worked.
Thanks.
I have another question though, I want to use leandvb to offline decode the dvb-s2 I have pre-recorded. Now the data type I have is from Matlab using AD936x and its in double complex IQ.
How can I convert it to the data type supported by leandvb.
I have the following formats I can receive the dvb-s2 in Matlab:
-
int16 — Integer values are the raw 16-bit I and Q samples from the board. The 12-bit value from the ADC of the AD9361 RF chip is sign-extended to 16 bits.
-
single — Single-precision floating point values are scaled to the range of [–0.0625, 0.0625]. The block derives this value from the sign-extended 16 bits received from the board.
-
double — Double-precision floating point values are scaled to the range of [–0.0625, 0.0625]. The block derives this value from the sign-extended 16 bits received from the board.
I have been trying to convert using typecast but its not working.
Thanks !
from leansdr.
Also, is there a way I can integrate leandvb in my Matlab code? I am looking for a dvb s2 decoder.
from leansdr.
Hopefully a Matlab expert will be able to answer your question. There's probably a way to write IQ data to a file in binary mode using "single" format ("Single-precision floating point values"), then execute leandvb from Matlab with a system() command, then read the resulting MPEG TS file.
from leansdr.
Related Issues (20)
- leandvb closes unexpectedly after loosing sync HOT 5
- Compile: libiio and X11 not found HOT 2
- Inefficiencies with variable MODCOD (VCM) HOT 3
- libiio -- not found openSSE -- it is installed HOT 4
- Which SDR transmitter works with the leandvb receiver? HOT 6
- Does lenadvb support CRC for DVB-S2 reception? HOT 5
- Which tool can you use with LimeSDR and leandvb as a pipe? HOT 2
- Some Questions about leansdr in processing IQ file HOT 8
- DVB-C implementation HOT 2
- leandvd: Treat --help and -h identically
- leandvb: Make columns consistent in help HOT 1
- Cannot compile ldpc HOT 3
- receive dvbs2 from usrp b210 HOT 1
- Some Questions about leansdr in processing DVB-S2 Signal HOT 5
- Issues transmitting DVB-S2 with leandvbtx HOT 4
- Leandvb integration HOT 4
- Leandvb output UDP HOT 5
- ISS Ham-TV Sample I/Q File?
- Processing IQ file to completion with nhelpers > 1 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leansdr.