gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] New GPSD release is ready to ship


From: Eric S. Raymond
Subject: Re: [gpsd-dev] New GPSD release is ready to ship
Date: Wed, 6 Jan 2016 20:16:35 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

Gary E. Miller <address@hidden>:
> Yo Eric!
> 
> On Wed,  6 Jan 2016 19:27:38 -0500 (EST)
> address@hidden (Eric S. Raymond) wrote:
> 
> > I've almost completely cleared out the backlog on both the Savannah
> > tracker and in my mailbox.  Unless someone raises an issue I don't
> > currently know about, I'll ship tomorrow morning (7 Jan).
> 
> Not so fast, the recent changes to clock_gettime() broke the OS X port.
> 
> See below.
> 
> gcc -o gpsutils.os -c -Wmissing-prototypes -Wextra -Wall -Wno-uninitialized 
> -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
> -Wstrict-prototypes -Wpointer-arith -Wreturn-type -pthread 
> -Wmissing-declarations -O2 -fPIC gpsutils.c
> gpsutils.c:301:12: warning: implicit declaration of function 'clock_gettime' 
> is invalid in C99 [-Wimplicit-function-declaration]
>      (void)clock_gettime(CLOCK_REALTIME, &ts);
>            ^
> gpsutils.c:301:26: error: use of undeclared identifier 'CLOCK_REALTIME'
>      (void)clock_gettime(CLOCK_REALTIME, &ts);
>                          ^
> 1 warning and 1 error generated.
> scons: *** [gpsutils.os] Error 1
> scons: building terminated because of errors.

Well, fsck.  I'm betting that's from this commit:

commit 1911f151959d01c92322fef44c6f5c8d5138c456
Author: Eric S. Raymond <address@hidden>
Date:   Mon Jan 4 20:41:41 2016 -0500

    Condition clock_gettime() on _POSIX_TIMERS...
    
    ...rather than requiring the build system to test for it.
    
    Generalized from an idea by Jon Schleuter.

Temporarily back that bad boy out and see if doing so fixes the
problem.  If it does, revert that permanently.  If that happens, put a
better message in than the default - lose the SHA1 hash and explain
the Apple port breakage.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

Attachment: signature.asc
Description: Digital signature


reply via email to

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