gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Build of gpsd fails


From: Gary E. Miller
Subject: Re: [gpsd-dev] Build of gpsd fails
Date: Mon, 30 Apr 2012 14:12:39 -0700

Yo address@hidden

On Mon, 30 Apr 2012 17:13:18 +0200
"address@hidden" <address@hidden> wrote:

>       gpsutils.c:(.text+0x3b3): undefined reference to
> `clock_gettime' 

That is protected by:

    #ifdef HAVE_CLOCK_GETTIME

So scons must think that is available.  It should be in glibc.  Checking
the man page it looks like time.h should be included.

BTW, I notice the return cvalue of clock_getting() is not checked.  That
is a bad practice that has burned us before.

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]