Search found 3 matches
- Tue Jun 07, 2022 2:55 am
- Forum: Report Bugs
- Topic: esp32 can not use sigaction function
- Replies: 2
- Views: 5022
Re: esp32 can not use sigaction function
Got it, thank you !
- Mon Jun 06, 2022 3:34 pm
- Forum: Report Bugs
- Topic: esp32 can not use sigaction function
- Replies: 2
- Views: 5022
esp32 can not use sigaction function
the code is below ,but when I use sigaction function, the compile was failed, it said
"undefined reference to `sigaction", but I have already include the signal.h , so what's the problem? Thanks very much!
...
...
#include "esp_system.h"
#include <pthread.h>
#include "esp_spi_flash.h"
#include ...
"undefined reference to `sigaction", but I have already include the signal.h , so what's the problem? Thanks very much!
...
...
#include "esp_system.h"
#include <pthread.h>
#include "esp_spi_flash.h"
#include ...
- Tue Jan 26, 2021 9:18 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32 使用idf.py build 后,提示 undefined reference to `app_main'
- Replies: 1
- Views: 4285
ESP32 使用idf.py build 后,提示 undefined reference to `app_main'
/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/freertos/libfreertos.a(port_common.c.obj):(.literal.main_task+0x14): undefined reference to `app_main'
/home/rehu/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa ...
/home/rehu/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa ...