Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libm.a problem: missing __ieee754_remainder function? #62

Closed
minyk opened this issue Nov 21, 2016 · 2 comments
Closed

libm.a problem: missing __ieee754_remainder function? #62

minyk opened this issue Nov 21, 2016 · 2 comments

Comments

@minyk
Copy link
Contributor

minyk commented Nov 21, 2016

Like esp8266/Arduino#612, When I using Adafruit's Ultimate GPS library, I met below during complie:

/Users/minyk/Documents/Arduino/hardware/espressif/esp32/tools/sdk/lib/libm.a(lib_a-e_fmod.o):(.literal+0x0): undefined reference to `__ieee754_remainder'
/Users/minyk/Documents/Arduino/hardware/espressif/esp32/tools/sdk/lib/libm.a(lib_a-e_fmod.o): In function `__ieee754_fmod':
/home/ivan/freertos/smpemu/newlib/newlib_xtensa-2.2.0/xtensa-esp108-elf/newlib/libm/math/../../../.././newlib/libm/math/e_fmod.c:38: undefined reference to `__ieee754_remainder'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board ESP32 Dev Module.

When I comment out fmod from the GPS library code, it successfully compile.

Thanks.

@nkolban
Copy link

nkolban commented Nov 21, 2016

It is likely that this issue is not directly related to the Arduino functions built on top of ESP-IDF but rather with ESP-IDF itself. See:

espressif/esp-idf#83

@minyk
Copy link
Contributor Author

minyk commented Nov 21, 2016

@nkolban Thank you!

@minyk minyk closed this as completed Nov 21, 2016
Lzw655 pushed a commit to Lzw655/arduino-esp32 that referenced this issue Oct 12, 2023
Fixes: espressif#6187

Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants