Because right now I am downloading the src code from the gpsd website as the tarball.
How to get the fix from the git head?
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