Closed N0YKG closed 2 years ago
Oh thank you some much man! I couldn't compile it on Ubuntu 20.04 or the newest Kali (two separate laptops). Manually adding those changes worked like a charm :)
+1 for PR approval! :)
Thanks Again
PRs welcomed
Just made a PR :)
Hi, is there a chance that some pro user will explain step by step which file has to be modified and how, for a mechanic that just started migrating from msw to linux and in addition exploring the interesting world of SDR? pretty plz :)
It's pretty much there in my first mail. In file include/dsd.h, change int exitflag; to extern int exitflag;
in file src/dsd_main.c b/src/dsd_main.c, add int exitflag = 0; after all the headers.
thank you very much. I guess there is to much everything in the first post. with your help all build as should :). the next issue is the bitrate. my laptop sound chip has 44100 what nuke whole project pairing rtl-sdr and dsd. pity but cannot jump over this issue
or else ?? looks like dsd started ! :) . tomorrow wil try to pipe something in to it from local digital repeater :) thank you again :+1:
Compiling dsd with GCC 10 results in a multiply defined symbol error, due to exitflag being defined as not-external in the header. The following change will correct this and allow it to link: diff --git a/include/dsd.h b/include/dsd.h index 22ef3e9..353b8de 100644 --- a/include/dsd.h +++ b/include/dsd.h @@ -61,7 +61,7 @@ /*
global variables */ -int exitflag; +extern int exitflag;
typedef struct diff --git a/src/dsd_main.c b/src/dsd_main.c index 4069ce0..996104d 100644 --- a/src/dsd_main.c +++ b/src/dsd_main.c @@ -27,8 +27,7 @@
include "git_ver.h"
include "p25p1_heuristics.h"
include "pa_devs.h"
-
+int exitflag = 0; int comp (const void a, const void b) {