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

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jun 27 22:48:20 UTC 2005


In message <ad9f7823050627154110a75d35 at mail.gmail.com>, Matt Ettus writes:

>>
>> 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.

Yes, sorry, the thing is written on FreeBSD for my private use so
portability was not a major issue.

>[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?

Try substituing <ieeefp.h> instead.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.




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