* Re gmfsk compile
@ 2006-01-07 21:02 David
2006-01-08 2:15 ` Hamish Moffatt
0 siblings, 1 reply; 2+ messages in thread
From: David @ 2006-01-07 21:02 UTC (permalink / raw)
To: Linux-hams List
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Re gmfsk compile
2006-01-07 21:02 Re gmfsk compile David
@ 2006-01-08 2:15 ` Hamish Moffatt
0 siblings, 0 replies; 2+ messages in thread
From: Hamish Moffatt @ 2006-01-08 2:15 UTC (permalink / raw)
To: Linux-hams List
On Sun, Jan 08, 2006 at 07:02:00AM +1000, David wrote:
> 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.
diff -urN ../tmp-orig/gmfsk-0.6/src/mt63/dsp.h ./src/mt63/dsp.h
--- ../tmp-orig/gmfsk-0.6/src/mt63/dsp.h 2004-07-08 19:21:26.000000000 +0200
+++ ./src/mt63/dsp.h 2004-10-01 11:42:42.678361264 +0200
@@ -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
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-08 2:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-07 21:02 Re gmfsk compile David
2006-01-08 2:15 ` Hamish Moffatt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.