[Top][All Lists]

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

Re: Whats the purpose of having sizeof_time_t in the SConstruct?

From: Gary E. Miller
Subject: Re: Whats the purpose of having sizeof_time_t in the SConstruct?
Date: Sat, 13 Jun 2020 22:16:06 -0700

Yo raaj!

On Sun, 14 Jun 2020 13:12:48 +0800
raaj lokanathan <> wrote:

> I am trying to cross-compile my gpsd-3.20 for my ARM-based device.
> When I try to compile for ARM, it shows an error when it tries to
> check sizeof_time_t. However, if I didn't cross-compile then it
> doesn't show me the error message.

That is fixed in git head.

> I tried the same with the gpsd-3.19, and I was able to compile
> normally and cross-compile. When I compared the SConstruct file I
> found out that in gpsd-3.19 there isn't the checking for the
> sizeof_time_t.


> Is it ok if I removed this code in the latest gpsd code? Some people
> say that if I remove this code it will crash my gpsd when it tries to
> get the time? How can I solve this error?

Change the code to manually set the correct sizeof time_t.

Or get the fix from git head for cross compiling.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgplG4k3f5M9g.pgp
Description: OpenPGP digital signature

reply via email to

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