Use of signal.h in third-party library
Posted: Sun Jan 20, 2019 10:53 am
Hi,
A third party library that we are planning to use has a dependency to signal.h.
I have found that the ESP-IDF has this header file,
https://github.com/espressif/esp-idf/bl ... e/signal.h
https://github.com/espressif/esp-idf/bl ... s/signal.h
During compilation we get this error,
undefined reference to `signal'
The header file is included as: #include <signal.h>
Code snippet:
We are using the release/v3.2 branch of ESP-IDF.
A third party library that we are planning to use has a dependency to signal.h.
I have found that the ESP-IDF has this header file,
https://github.com/espressif/esp-idf/bl ... e/signal.h
https://github.com/espressif/esp-idf/bl ... s/signal.h
During compilation we get this error,
undefined reference to `signal'
The header file is included as: #include <signal.h>
Code snippet:
Code: Select all
signal(SIGPIPE, SIG_IGN);