[time-nuts] Code for phase noise and allan variance

Matt Ettus boyscout at gmail.com
Mon Jun 27 22:41:13 UTC 2005


On 6/27/05, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
> In message <ad9f7823050627152273d400cd at mail.gmail.com>, Matt Ettus writes:
> 
> >Does anyone have code which will take an amplitude vs. time input
> >stream and output phase noise and/or allan variance?
> 
> http://phk.freebsd.dk/misc/Allan.tgz
> 
> will do allan, modified allan and FFT.


Thanks!

I tried to compile on Linux, got this:

[matt at localhost Allan]$ make
Makefile:9: *** missing separator.  Stop.


I removed the last line in the Make file and got this:

[matt at localhost Allan]$ make
cc -g -Wall -static    allan.c   -o allan
allan.c:19:27: floatingpoint.h: No such file or directory
allan.c: In function `main':
allan.c:722: warning: implicit declaration of function `fpsetmask'
allan.c:722: error: `FP_X_UFL' undeclared (first use in this function)
allan.c:722: error: (Each undeclared identifier is reported only once
allan.c:722: error: for each function it appears in.)
make: *** [allan] Error 1


Looks like I'm missing floatingpoint.h.  A BSD thing?

Matt




More information about the Time-nuts_lists.febo.com mailing list