undefined reference to _gettimeofday #9413
Labels
Component: Compilation
Related to compilation of Arduino sketches
Type: Bug
Type: Invalid
Off topic for this repository, or a bug report determined to not actually represent a bug
OS: Ubuntu 18.04 64-bit
When building the same source code, 1.8.9 works fine. But 1.8.10 and hourly both fail at the link step with
gettimeofdayr.c:(.text._gettimeofday_r+0xe): undefined reference to '_gettimeofday'
.Defining the function in the sketch keeps the linker happy.
Build log: https://gist.github.com/gdsports/d0046f9f91b2bed66f0a0a2608064485
The text was updated successfully, but these errors were encountered: