Comments (12)
This isn't making any attempt at the moment to keep up with current esp-idf. If you want to try it, read the README about what to do to esp-idf.
from lws-esp32-factory.
I have read about what to do with current esp-idf as it is mentioned to hard reset on last commit in which it is tested, I have did the same but not able to build.
from lws-esp32-factory.
From the errors, it looks like whatever defines accept() etc disagrees with esp-idf expectation of it... maybe newer toolchains provide those and are no longer able to build the old esp-idf commit... you can try an older version of the espressif toolchain.
from lws-esp32-factory.
you are right. I don't find old tool chain but I have removed the ASIO component because it is not needed. but still have following errors:
WARNING: esp-idf git submodule components/coap/libcoap may be out of date. Run 'git submodule update' in IDF_PATH dir to update.
WARNING: esp-idf git submodule components/json/cJSON may be out of date. Run 'git submodule update' in IDF_PATH dir to update.
WARNING: esp-idf git submodule components/lwip/lwip may be out of date. Run 'git submodule update' in IDF_PATH dir to update.
WARNING: esp-idf git submodule components/esptool_py/esptool may be out of date. Run 'git submodule update' in IDF_PATH dir to update.
WARNING: Failed to find Xtensa toolchain, may need to alter PATH or set one in the configuration menu
WARNING: esp-idf git submodule components/esptool_py/esptool may be out of date. Run 'git submodule update' in IDF_PATH dir to update.
WARNING: Failed to find Xtensa toolchain, may need to alter PATH or set one in the configuration menu
Python requirements from lws-esp32-factory/esp-idf/requirements.txt are satisfied.
CC build/coap/libcoap/src/async.o
In file included from lws-esp32-factory/esp-idf/components/coap/port/include/coap_config.h:22,
from lws-esp32-factory/esp-idf/components/coap/libcoap/src/async.c:16:
lws-esp32-factory/esp-idf/components/coap/port/include/coap_config_posix.h:29: warning: "IP_PKTINFO" redefined
#define IP_PKTINFO IP_MULTICAST_IF
In file included from /lws-esp32-factory/esp-idf/components/lwip/port/esp32/include/sys/socket.h:33,
from /lws-esp32-factory/esp-idf/components/coap/port/include/coap_config_posix.h:23,
from /lws-esp32-factory/esp-idf/components/coap/port/include/coap_config.h:22,
from /lws-esp32-factory/esp-idf/components/coap/libcoap/src/async.c:16:
/lws-esp32-factory/esp-idf/components/lwip/lwip/src/include/lwip/sockets.h:273: note: this is the location of the previous definition
#define IP_PKTINFO 8
In file included from /lws-esp32-factory/esp-idf/components/coap/libcoap/src/async.c:17:
lws-esp32-factory/esp-idf/components/coap/port/include/coap/coap.h:20:10: fatal error: libcoap.h: No such file or directory
#include "libcoap.h"
from lws-esp32-factory.
None of this is anything to do with lws... I guess you need to make clean, remove CMakeCache.txt, and start from scratch. But these are all esp-idf troubles and this isn't the right place.
from lws-esp32-factory.
There is no such file as CMakeCache.txt. I have tried with make clean but getting same error. yes it is esp-idf troubles but to get rid of it either back porting is required or lws-esp32-factory should be updated as per current esp-idf. I am trying to back port it but it is not good option, it would be appreciated if you can release lws-esp32-factory with current esp-idf.
from lws-esp32-factory.
it would be appreciated if you can release lws-esp32-factory with current esp-idf.
You're very welcome to contribute it.
from lws-esp32-factory.
Thank you, I am trying to build it with latest esp-idf.
from lws-esp32-factory.
Almost all errors related to esp-idf is resolved. there is only one issue and that is, In the commit 17ac4bad7381e579e5a7775755cc25480da47d97 there exist components/esp32/lib folder which is empty but in current esp-idf it has been removed, that's why getting below error:
WARNING: Missing submodule components/esp32/lib...
Attempting 'git submodule update --init components/esp32/lib' in esp-idf root directory...
error: pathspec 'components/esp32/lib' did not match any file(s) known to git
let me know how can I solve it.
from lws-esp32-factory.
AFAIK the dir itself isn't meaningful for git submodule... there's a file .gitmodules at the top level that knows what should be where.
It sounds like a big red flag though if that file is knowing about older commit situation and you think you are building against latest commit. It sounds like the state of the checkout is mixed with old and new.
from lws-esp32-factory.
what step I can take to overcome?
from lws-esp32-factory.
It's a condition that exists in your checkout afaik not the world at large.
Check your .submodules against the upstream esp-idf one
https://github.com/espressif/esp-idf/blob/master/.gitmodules
If you made changes in esp-idf save them some where with git diff > ~/mychanges.diff then git reset --hard 93a0603 (there should be no more directory in there that doesn't match upstream) and git submodule update --init --recursive
from lws-esp32-factory.
Related Issues (20)
- lws-esp32-factory/components/bootloader/Makefile.projbuild:37: *** multiple target patterns. Stop. HOT 3
- oto_choose_part will accept partition outside range HOT 2
- INFO: ota update of factory partition fails HOT 8
- lws-esp32-factory is always listed as dirty HOT 4
- Does it link on ESP32 HOT 2
- Connection terminates after approximetly 10 minutes HOT 3
- Minor: Missing "hard" for Git command in Readme HOT 1
- Lets Encrypt stops at first step
- tcp_connect: can only connect from state CLOSED
- Partition table too small for newer esp-idf HOT 4
- how to force enter app after first reboot HOT 7
- Updated alignment with esp-idf/mbedtls needed to build with latest esp-idf HOT 16
- websocket client example
- Error during make flash monitor HOT 2
- mbedtls_handshake: ssl ret -6900 state 8
- arduino-esp32 support ?
- multiple definition of api functions when using openssl api functions HOT 1
- Can this be used on esp8266 HOT 1
- Please give me an esp8266 program about LWS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lws-esp32-factory.