gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] 3.13 does not compile on OS X 10.10


From: Frank Nicholas
Subject: Re: [gpsd-dev] 3.13 does not compile on OS X 10.10
Date: Fri, 27 Feb 2015 10:06:57 -0500

On Fri, Feb 27, 2015 at 9:58 AM, Frank Nicholas <address@hidden> wrote:

git clone git://git.sv.gnu.org/gpsd.git

scons check

.

.

ntpshmread.c:75:5: warning: implicit declaration of function 'clock_gettime' is

      invalid in C99 [-Wimplicit-function-declaration]

    clock_gettime(CLOCK_REALTIME, &shm_stat->tvc);

    ^

ntpshmread.c:75:19: error: use of undeclared identifier 'CLOCK_REALTIME'

    clock_gettime(CLOCK_REALTIME, &shm_stat->tvc);

                  ^

1 warning and 1 error generated.

scons: *** [ntpshmread.os] Error 1

scons: building terminated because of errors.


This is using Apple's developer tools that come with Xcode.  This is the same toolchain I've always used.

Any other info I can provide?

Sorry - I sent too quickly.

I tried with the 4 x combinations of "ntpshm" & "shm_export" set to True/False.  Prior to 3.13, I did not need to manually flags to get it to compile, install & work.

reply via email to

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