Skip to contentSkip to conversation

Re gmfsk compile

DISCUSSION David 2 participants 2 messages Jan 7, 2006 – Jan 8, 2006 Arm MediaTek

lore
Share & tools
lore

David

author
#0 lore raw

Hi All.......Tomi has stolen some of my thunder.......with Mandriva Linux 2006...you should use 0.7pre1......BUT make sure you have all the DEVEL packages loaded.....i struck some problems trying to compile it and found the problem was the DEVEL packages....these can be found at http://rpm.pbone.net just put in the search the lib package that you are looking for and set Mandriva in the search setup and you will get the list with the 2006 version plus the earlier ones....eg 'libgnomeprint-devel' ...there may be several lib packages that you need.....a cd of devel packages may be available from the Mandriva site for d/l if you are a member..... Have and use regulary gMFSK-0.7pre1 and find its real good for PSK31 which is my prime mode and if i see RTTY or other modes can swap to it real easy.....even can copy CW with it....

Best 73's
David
VK4BDJ

#1 lore raw
Quoted 2 lines · David

Hi All.......Tomi has stolen some of my thunder.......with Mandriva Linux 2006...you should use 0.7pre1......BUT make sure you have all the

I'll go you one better; here's a patch you can apply to 0.6 to make it compile on gcc 4.0. We use this on Debian.

src/mt63/dsp.h renamed from tmp-orig/gmfsk-0.6/src/mt63/dsp.h +3 -3
diff -urN ../tmp-orig/gmfsk-0.6/src/mt63/dsp.h ./src/mt63/dsp.h
@@ -555,15 +555,15 @@
  inline void LowPass2(typeInp Inp, LowPass2elem &Elem,
 		typeW W1, typeW W2, typeW W5)
 { double Sum, Diff;
-  Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Out+=W5*Diff; }
+  Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Elem.Out+=W5*Diff; }
 
 template <class typeInp>
  inline void LowPass2(typeInp Inp, LowPass2elem &Elem, LowPass2weight &Weight)
 { double Sum, Diff;
   Sum=Elem.Mid+Elem.Out;
   Diff=Elem.Mid-Elem.Out;
-  Elem.Mid+=Weight.W2*Inp-Weigth.W1*Sum;
-  Out+=Weight.W5*Diff; }
+  Elem.Mid+=Weight.W2*Inp-Weight.W1*Sum;
+  Elem.Out+=Weight.W5*Diff; }
 
 /*
 inline void LowPass2(float Inp, double &Mid, double &Out,

Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>