Search found 3 matches

by twtxgd
Tue Jun 07, 2022 2:55 am
Forum: Report Bugs
Topic: esp32 can not use sigaction function
Replies: 2
Views: 4072

Re: esp32 can not use sigaction function

Got it, thank you !
by twtxgd
Mon Jun 06, 2022 3:34 pm
Forum: Report Bugs
Topic: esp32 can not use sigaction function
Replies: 2
Views: 4072

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 "sign...
by twtxgd
Tue Jan 26, 2021 9:18 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32 使用idf.py build 后,提示 undefined reference to `app_main'
Replies: 1
Views: 3873

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-esp...