gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Error while building


From: Sanjeev Gupta
Subject: Re: [gpsd-dev] Error while building
Date: Fri, 3 Apr 2015 23:25:22 +0800


On Fri, Apr 3, 2015 at 6:52 PM, Jason Azze <address@hidden> wrote:
I am able to reproduce Sanjeev's build failure.

Thanks, Jason, much appreciated :-)

I think I have identified the problem cause.

A fresh clone builds.

There is a file gpsd_config.h in my build directory.  This is created by scons, but not cleaned by:
  scons -c
  scons sconsclean

Comparing the files after running scons in OLD (problem) and NEW (fresh clone) directories:

address@hidden:~/SRC/gpsd$ diff gpsd_config.h /tmp/NEW//gpsd/
39c39
< /* #undef HAVE_DAEMON */
---
> #define HAVE_DAEMON 1
45c45
< /* #undef HAVE_CLOCK_GETTIME */
---
> #define HAVE_CLOCK_GETTIME 1
72c72
< /* #undef DBUS_EXPORT_ENABLE */
---
> #define DBUS_EXPORT_ENABLE 1

I can understand now why the error, but shouldn't gpsd_config.h be deleted with an "scons -c"?

I am sending a patch.
--
Sanjeev Gupta
+65 98551208     http://www.linkedin.com/in/ghane

reply via email to

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