-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Undefined reference to 'sysconf' and 'posix_memalign' (IDFGH-4268) #6119
Comments
Hi, Let me know if there is any workaround for this. With regards, |
I made some modifications to the original: https://github.com/GiovanniCmpaner/tiny-dnn Also, some additional unflags and flags are needed in the
For some insight, because of the high memory consumption of |
Thank you for sharing the repository and pointing in the right direction. I am trying to use the IRAM_DATA_ATTR and IRAM_BSS_ATTR macros, for template class variables. Have you come across similar problems? Many thanks, |
Probably there isnt enought memory in DRAM for your variable with IRAM macro, maybe you can use std::vector to allocate it in heap at runtime. |
Thank you! |
所以,这个问题是怎么回事,Undefined reference to 'sysconf' |
Environment
Problem Description
When trying to compile the MVCE below inside PlataformIO, I get undefined references to
sysconf
andposix_memalign
.I need those functions because of a third party library (tiny-dnn especifically).
Expected Behavior
Are those functions implemented?
What are the alternatives?
Code to reproduce this issue
Debug Logs
Error:
Other items
platformio.ini:
Terminal output infos:
The text was updated successfully, but these errors were encountered: