gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] Error while compiling NAN undeclared in gpsdclient.c


From: Gary E. Miller
Subject: Re: [gpsd-users] Error while compiling NAN undeclared in gpsdclient.c
Date: Tue, 1 May 2012 11:28:01 -0700

Yo Bas!

On Tue, 01 May 2012 19:50:32 +0200
Bas van Duijnhoven <address@hidden> wrote:

> Im trying to compile gpsd 3.5 on my QNAP NAS (ARM CPU)

That should work.

> After running the scons command i get the following error:
>  > gpsdclient.c: In function 'true2magnetic':
>  > gpsdclient.c:323: error: 'NAN' undeclared (first use in this
>  > function) gpsdclient.c:323: error: (Each undeclared identifier is
>  > reported only once

Is that the FIRST error you get?

gpsdclient.c pull in math.h, which (at least on Linux) pulls in bits/nan.h
which defines NAN.  So check those files to be sure they are working.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]