[Top][All Lists]

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

Re: [gpsd-dev] 100% cpu usage?

From: Eric S. Raymond
Subject: Re: [gpsd-dev] 100% cpu usage?
Date: Wed, 30 Oct 2013 11:23:32 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Greg Troxel <address@hidden>:
> I then tried to build with ntpshm=no, but:
>   gcc -o gpsd.o -c -D_GNU_SOURCE -pthread -Wmissing-prototypes 
> -Wmissing-declarations -O2 -I/usr/pkg/include/libusb-1.0 gpsd.c
>   gpsd.c: In function 'main':
>   gpsd.c:1787:12: error: 'struct gps_context_t' has no member named 'pps_hook'
>   scons: *** [gpsd.o] Error 1
> so it seems the ifdefing is off.

Fixed in git head.  This broke because I just pried the pps and ntpshm code
apart, but didn't catch that some #ifdefs in gpsd.h needed to move.
> Also, scons -h did not explain how to disbla ntpd and chrony support
> separately (which I only want to do for debugging).

At the moment that isn't possible.  ntpshm=no disables both.  I really
ought to change that name, it's no longer appropriate.

> scons man page says to set CCFLAGS, but passing that as -g in the
> environment did not work, and neither did passing it on the scons
> command line.

                <a href="";>Eric S. Raymond</a>

reply via email to

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