Hello. My problem is not an issue, but I don't know where I can write about it. I have a problem with the project's directory structure and I can't compile my program. Here is a whole environment structure:
All files are in /Volumes/esp8266 directory. Project which I would like to compile is in Projects/homekit directory. Here is a Makefile
PROGRAM=homekit
include /Volumes/esp8266/esp-open-rtos/common.mk
include /Volumes/esp8266/esp-open-rtos/extras/http-parser/component.mk
include components/common/wolfssl/component.mk
include components/esp-8266/cJSON/component.mk
include /Volumes/esp8266/libs/esp-homekit/component.mk
Now, while compiling there is an error:
...
CC /Volumes/esp8266/esp-open-rtos/core/esp_phy.c
CC /Volumes/esp8266/esp-open-rtos/core/esp_spi.c
CC /Volumes/esp8266/esp-open-rtos/core/esp_timer.c
CC /Volumes/esp8266/esp-open-rtos/core/newlib_syscalls.c
CC /Volumes/esp8266/esp-open-rtos/core/phy_info.c
CC /Volumes/esp8266/esp-open-rtos/core/sdk_compat.c
CC /Volumes/esp8266/esp-open-rtos/core/spiflash.c
CC /Volumes/esp8266/esp-open-rtos/core/sysparam.c
AS /Volumes/esp8266/esp-open-rtos/core/exception_vectors.S
AS /Volumes/esp8266/esp-open-rtos/core/spiflash-cache-enable.S
C++ /Volumes/esp8266/esp-open-rtos/core/cplusplus_operators.cpp
AR build/core.a
AR build/open_esplibs.a
Removing unwanted objects from /Volumes/esp8266/esp-open-rtos/lib/libgcc.a
Removing unwanted objects from /Volumes/esp8266/esp-open-rtos/libc/xtensa-lx106-elf/lib/libc.a
SDK processing stage 1: Removing unwanted objects from /Volumes/esp8266/esp-open-rtos/lib/libmain.a
SDK processing stage 2: Renaming symbols in SDK library build/sdklib/libmain_stage1.a -> build/sdklib/libmain.a
SDK processing stage 1: Removing unwanted objects from /Volumes/esp8266/esp-open-rtos/lib/libnet80211.a
SDK processing stage 2: Renaming symbols in SDK library build/sdklib/libnet80211_stage1.a -> build/sdklib/libnet80211.a
SDK processing stage 1: Removing unwanted objects from /Volumes/esp8266/esp-open-rtos/lib/libphy.a
SDK processing stage 2: Renaming symbols in SDK library build/sdklib/libphy_stage1.a -> build/sdklib/libphy.a
SDK processing stage 1: Removing unwanted objects from /Volumes/esp8266/esp-open-rtos/lib/libpp.a
SDK processing stage 2: Renaming symbols in SDK library build/sdklib/libpp_stage1.a -> build/sdklib/libpp.a
SDK processing stage 1: Removing unwanted objects from /Volumes/esp8266/esp-open-rtos/lib/libwpa.a
SDK processing stage 2: Renaming symbols in SDK library build/sdklib/libwpa_stage1.a -> build/sdklib/libwpa.a
LD build/homekit.out
xtensa-lx106-elf-gcc: error: ./build/http-parser.a: No such file or directory
xtensa-lx106-elf-gcc: error: ./build/wolfssl.a: No such file or directory
xtensa-lx106-elf-gcc: error: ./build/cjson.a: No such file or directory
xtensa-lx106-elf-gcc: error: ./build/homekit.a: No such file or directory
make: *** [build/homekit.out] Error 1
mati@MBP-mati homekit %
Hello. My problem is not an issue, but I don't know where I can write about it. I have a problem with the project's directory structure and I can't compile my program. Here is a whole environment structure:
All files are in /Volumes/esp8266 directory. Project which I would like to compile is in Projects/homekit directory. Here is a Makefile
Now, while compiling there is an error:
What am I doing wrong?