dueros编译失败
Posted: Fri Mar 20, 2020 2:59 am
CC build/wpa_supplicant/src/tls/bignum.o
CC build/wpa_supplicant/src/tls/tlsv1_record.o
CC build/wpa_supplicant/src/tls/pkcs5.o
CC build/wpa_supplicant/src/tls/pkcs1.o
CC build/wpa_supplicant/src/tls/tlsv1_client_write.o
CC build/wpa_supplicant/src/tls/tlsv1_server_read.o
CC build/wpa_supplicant/src/tls/asn1.o
CC build/wpa_supplicant/src/tls/pkcs8.o
CC build/wpa_supplicant/src/tls/rsa.o
CC build/wpa_supplicant/src/tls/tlsv1_client.o
CC build/wpa_supplicant/src/tls/tlsv1_client_read.o
CC build/wpa_supplicant/src/tls/tlsv1_cred.o
CC build/wpa_supplicant/src/tls/x509v3.o
CC build/wpa_supplicant/src/tls/tlsv1_server.o
CC build/wpa_supplicant/src/utils/uuid.o
CC build/wpa_supplicant/src/utils/wpabuf.o
CC build/wpa_supplicant/src/utils/ext_password.o
CC build/wpa_supplicant/src/utils/base64.o
CC build/wpa_supplicant/src/utils/common.o
CC build/wpa_supplicant/src/utils/wpa_debug.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpa_main.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpa2.o
CC build/wpa_supplicant/src/esp_supplicant/esp_hostap.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wps.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpas_glue.o
CC build/wpa_supplicant/src/wps/wps_enrollee.o
CC build/wpa_supplicant/src/wps/wps_attr_build.o
CC build/wpa_supplicant/src/wps/wps_registrar.o
CC build/wpa_supplicant/src/wps/wps_common.o
CC build/wpa_supplicant/src/wps/wps.o
CC build/wpa_supplicant/src/wps/wps_dev_attr.o
CC build/wpa_supplicant/src/wps/wps_attr_parse.o
CC build/wpa_supplicant/src/wps/wps_validate.o
CC build/wpa_supplicant/src/wps/wps_attr_process.o
AR build/wpa_supplicant/libwpa_supplicant.a
CC build/xtensa/trax.o
CC build/xtensa/debug_helpers.o
CC build/xtensa/eri.o
AS build/xtensa/debug_helpers_asm.o
AR build/xtensa/libxtensa.a
Generating esp32.project.ld
LD build/esp_dueros.elf
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o):(.literal+0x24): undefined reference to `lwip_connect_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o):(.literal+0x38): undefined reference to `lwip_send_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o):(.literal+0x40): undefined reference to `lwip_recv_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o): in function `connect':
/Users/maojianxin/duros/esp-adf-internal/esp-idf/components/lwip/include/lwip/lwip/sockets.h:577: undefined reference to `lwip_connect_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o): in function `socket_send':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/modules/HTTP/lightduer_http_client_ops.c:196: undefined reference to `lwip_send_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o): in function `socket_recv':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/modules/HTTP/lightduer_http_client_ops.c:177: undefined reference to `lwip_recv_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o):(.literal+0x58): undefined reference to `lwip_connect_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o):(.literal+0x60): undefined reference to `lwip_send_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o):(.literal+0x6c): undefined reference to `lwip_recv_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o): in function `bcasoc_parse_ip':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/platform/source-freertos/baidu_ca_socket_adp.c:126: undefined reference to `lwip_connect_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o): in function `bcasoc_send':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/platform/source-freertos/baidu_ca_socket_adp.c:345: undefined reference to `lwip_send_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o): in function `bcasoc_recv':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/platform/source-freertos/baidu_ca_socket_adp.c:380: undefined reference to `lwip_recv_r'
collect2.exe: error: ld returned 1 exit status
make: *** [E:/msys32/home/Administrator/esp/esp-idf/make/project.mk:529:/home/Administrator/esp/dueros/build/esp_dueros.elf] 错误 1
CC build/wpa_supplicant/src/tls/tlsv1_record.o
CC build/wpa_supplicant/src/tls/pkcs5.o
CC build/wpa_supplicant/src/tls/pkcs1.o
CC build/wpa_supplicant/src/tls/tlsv1_client_write.o
CC build/wpa_supplicant/src/tls/tlsv1_server_read.o
CC build/wpa_supplicant/src/tls/asn1.o
CC build/wpa_supplicant/src/tls/pkcs8.o
CC build/wpa_supplicant/src/tls/rsa.o
CC build/wpa_supplicant/src/tls/tlsv1_client.o
CC build/wpa_supplicant/src/tls/tlsv1_client_read.o
CC build/wpa_supplicant/src/tls/tlsv1_cred.o
CC build/wpa_supplicant/src/tls/x509v3.o
CC build/wpa_supplicant/src/tls/tlsv1_server.o
CC build/wpa_supplicant/src/utils/uuid.o
CC build/wpa_supplicant/src/utils/wpabuf.o
CC build/wpa_supplicant/src/utils/ext_password.o
CC build/wpa_supplicant/src/utils/base64.o
CC build/wpa_supplicant/src/utils/common.o
CC build/wpa_supplicant/src/utils/wpa_debug.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpa_main.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpa2.o
CC build/wpa_supplicant/src/esp_supplicant/esp_hostap.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wps.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpas_glue.o
CC build/wpa_supplicant/src/wps/wps_enrollee.o
CC build/wpa_supplicant/src/wps/wps_attr_build.o
CC build/wpa_supplicant/src/wps/wps_registrar.o
CC build/wpa_supplicant/src/wps/wps_common.o
CC build/wpa_supplicant/src/wps/wps.o
CC build/wpa_supplicant/src/wps/wps_dev_attr.o
CC build/wpa_supplicant/src/wps/wps_attr_parse.o
CC build/wpa_supplicant/src/wps/wps_validate.o
CC build/wpa_supplicant/src/wps/wps_attr_process.o
AR build/wpa_supplicant/libwpa_supplicant.a
CC build/xtensa/trax.o
CC build/xtensa/debug_helpers.o
CC build/xtensa/eri.o
AS build/xtensa/debug_helpers_asm.o
AR build/xtensa/libxtensa.a
Generating esp32.project.ld
LD build/esp_dueros.elf
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o):(.literal+0x24): undefined reference to `lwip_connect_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o):(.literal+0x38): undefined reference to `lwip_send_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o):(.literal+0x40): undefined reference to `lwip_recv_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o): in function `connect':
/Users/maojianxin/duros/esp-adf-internal/esp-idf/components/lwip/include/lwip/lwip/sockets.h:577: undefined reference to `lwip_connect_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o): in function `socket_send':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/modules/HTTP/lightduer_http_client_ops.c:196: undefined reference to `lwip_send_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(lightduer_http_client_ops.c.o): in function `socket_recv':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/modules/HTTP/lightduer_http_client_ops.c:177: undefined reference to `lwip_recv_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o):(.literal+0x58): undefined reference to `lwip_connect_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o):(.literal+0x60): undefined reference to `lwip_send_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o):(.literal+0x6c): undefined reference to `lwip_recv_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o): in function `bcasoc_parse_ip':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/platform/source-freertos/baidu_ca_socket_adp.c:126: undefined reference to `lwip_connect_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o): in function `bcasoc_send':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/platform/source-freertos/baidu_ca_socket_adp.c:345: undefined reference to `lwip_send_r'
e:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: E:/msys32/home/Administrator/esp/esp-adf/components/clouds/dueros/lightduer\libduer-device.a(baidu_ca_socket_adp.c.o): in function `bcasoc_recv':
/Users/maojianxin/duros/lightduer/libduer-device_3.0.7/platform/source-freertos/baidu_ca_socket_adp.c:380: undefined reference to `lwip_recv_r'
collect2.exe: error: ld returned 1 exit status
make: *** [E:/msys32/home/Administrator/esp/esp-idf/make/project.mk:529:/home/Administrator/esp/dueros/build/esp_dueros.elf] 错误 1