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

Error: ETH.cpp: In member function 'IPAddress ETHClass::dnsIP(uint8_t)': #5

Open
gmarcc opened this issue Jul 9, 2022 · 0 comments

Comments

@gmarcc
Copy link

gmarcc commented Jul 9, 2022

I'm receiving the error below using the Arduino Web Editor. Any thoughts as to what could be causing this one?

/mnt/create-efs/webide/75/09/75095d7ba0376d8e96b1ab1c7e84996e:/libraries_v2/WiFi/src/ETH.cpp: In member function 'IPAddress ETHClass::dnsIP(uint8_t)':

/mnt/create-efs/webide/75/09/75095d7ba0376d8e96b1ab1c7e84996e:/libraries_v2/WiFi/src/ETH.cpp:196:37: error: conversion from 'const ip_addr_t* {aka const ip_addr*}' to non-scalar type 'ip_addr_t {aka ip_addr}' requested

ip_addr_t dns_ip = dns_getserver(dns_no);

^

/mnt/create-efs/webide/75/09/75095d7ba0376d8e96b1ab1c7e84996e:/libraries_v2/WiFi/src/WiFiSTA.cpp: In member function 'IPAddress WiFiSTAClass::dnsIP(uint8_t)':

/mnt/create-efs/webide/75/09/75095d7ba0376d8e96b1ab1c7e84996e:/libraries_v2/WiFi/src/WiFiSTA.cpp:491:37: error: conversion from 'const ip_addr_t* {aka const ip_addr*}' to non-scalar type 'ip_addr_t {aka ip_addr}' requested

ip_addr_t dns_ip = dns_getserver(dns_no);

^

Error during build: exit status 1

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

1 participant