On 01/03/2020 16:44, Sergio Pascual wrote:
The package build in all arches except in arm an the error is:
/builddir/build/BUILD/libindi-1.8.1/libs/indibase/inditelescope.cpp: In
member function 'bool INDI::Telescope::processTimeInfo(const char*,
const char*)':
/builddir/build/BUILD/libindi-1.8.1/libs/indibase/inditelescope.cpp:1647:17:
error: 'stime' was not declared in this scope; did you mean 'ctime'?
1647 | stime(&raw_time);
| ^~~~~
| ctime
make[2]: *** [CMakeFiles/indidriverstatic.dir/build.make:352:
CMakeFiles/indidriverstatic.dir/libs/indibase/inditelescope.cpp.o] Error 1
For some reason, stime works in all arches except in arm. Any hint?
I'm not sure why as stime as been deprecated in glibc so shouldn't
be available to use on any architecture.
The code needs to be updated to use clock_settime instead.
Tom
--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx