xorbit / LiFePO4wered-Pi

Access library, command line tool and daemon for the LiFePO4wered/Pi module
GNU General Public License v2.0
132 stars 31 forks source link

stime function removed from glibc 2.31 #34

Closed taaaaaad closed 3 years ago

taaaaaad commented 4 years ago

the stime function has been removed from glibc 2.31, and replaced with clock_settime.
https://wiki.gentoo.org/wiki/Glibc_2.31_porting_notes/stime_removal

This is apparently now the version shipping in Ubuntu for Pi 20.04, giving the following error: lifepo4wered-daemon.c:(.text+0x15a): undefined reference to `stime'

xorbit commented 3 years ago

Fixed by #46.