Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile esphome for generic-rtl8720cf-2mb-992k #125

Closed
Nold360 opened this issue May 10, 2023 · 1 comment
Closed

Can't compile esphome for generic-rtl8720cf-2mb-992k #125

Nold360 opened this issue May 10, 2023 · 1 comment

Comments

@Nold360
Copy link

Nold360 commented May 10, 2023

Hi,

I'm trying to build your esphome fork using the generic-rtl8720cf-2mb-992k board, but i get these errors:

src/esphome/components/socket/lwip_sockets_impl.cpp: In function 'std::string esphome::socket::format_sockaddr(const sockaddr_storage&)':
src/esphome/components/socket/lwip_sockets_impl.cpp:16:23: error: 'lwip_inet_ntop' was not declared in this scope
const char *ret = lwip_inet_ntop(AF_INET, &addr->sin_addr, buf, sizeof(buf));
                              ^~~~~~~~~~~~~~
*** [.pioenvs/ep2/src/esphome/components/socket/socket.cpp.o] Error 1
src/esphome/components/socket/lwip_sockets_impl.cpp: In member function 'virtual ssize_t esphome::socket::LwIPSocketImpl::readv(const iovec*, int)':
src/esphome/components/socket/lwip_sockets_impl.cpp:82:72: error: 'lwip_readv' was not declared in this scope; did you mean 'lwip_read'?

src/esphome/components/socket/headers.h:141:7: error: conflicting declaration 'using socklen_t = uint32_t'

Full log: https://dpaste.com/7B8AT7L9G

Tested with vscode & on cli with clean python venv.

@kuba2k2
Copy link
Member

kuba2k2 commented May 10, 2023

RTL8720CF is not implemented yet, and won't work for now.

See #36, #37 and #44.

@kuba2k2 kuba2k2 closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants