gpsd-users
[Top][All Lists]
Advanced

[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: Paul Theodoropoulos
Subject: Re: Whats the purpose of having sizeof_time_t in the SConstruct?
Date: Sat, 13 Jun 2020 22:43:51 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

git clone https://gitlab.com/gpsd/gpsd.git


On 6/13/2020 22:22 PM, raaj lokanathan wrote:
Because right now I am downloading the src code from the gpsd website as the tarball.

On Sun, 14 Jun 2020 at 13:21, raaj lokanathan <raaj5671.rl@gmail.com> wrote:
How to get the fix from the git head?

On Sun, 14 Jun 2020 at 13:16, Gary E. Miller <gem@rellim.com> wrote:
Yo raaj!

On Sun, 14 Jun 2020 13:12:48 +0800
raaj lokanathan <raaj5671.rl@gmail.com> 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.

Yup.

> 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.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

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


--
Thanks and regards,

Raaj Lokanathan


--
Thanks and regards,

Raaj Lokanathan

-- 
Paul Theodoropoulos
www.anastrophe.com


reply via email to

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