DNS commands in lwip in FPGA

Status
Not open for further replies.

aminpix

Full Member level 2
Joined
Sep 30, 2008
Messages
120
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
2,474
I am trying to develop a code for Zynq using lwip in vivado/vitis.
I use the vitis sample code TCP_Client_Perf and modify it (I could compile and execute the sample code).
When I want to use dns_setserver command, I will get this error: undefined reference to `dns_setserver'
the only code I added to the sample code is:

C++:
#include "lwip/dns.h"


    struct in_addr* dnsserver;
    inet_aton("8.8.8.8", dnsserver);
    dns_setserver(0,dnsserver);
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…