Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

esp8266编译报错:error: 'multiple definition of `os_htole16'' #202

Open
@frPhoenix

Description

一、环境

  • esp-aliyun 版本(git rev-parse --short HEAD commit id):8b8eeada3

  • ESP8266_RTOS_SDK 版本(git rev-parse --short HEAD commit id): a768f1ce9

二、问题

App "smart_light" version: v2.0-85-g8b8eead LD build/smart_light.elf /Users/phoenix/esp2/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/8.4.0/../../../../xtensa-lx106-elf/bin/ld: /Users/phoenix/esp2/ESP8266_RTOS_SDK/components/esp8266/lib/libsmartconfig.a(sc_ieee80211.o): in function os_htole16':
(.text.os_htole16+0x0): multiple definition of os_htole16'; /Users/phoenix/esp2/ESP8266_RTOS_SDK/AliyunProject/esp-aliyun/examples/solutions/smart_light/build/esp-aliyun/libesp-aliyun.a(os_misc.o):/Users/phoenix/esp2/ESP8266_RTOS_SDK/AliyunProject/esp-aliyun/iotkit-embedded/dev_bind/impl/os/os_misc.c:26: first defined here

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions