Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

DNS commands in lwip in FPGA

Status
Not open for further replies.

aminpix

Full Member level 2
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top