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

Advanced Member level 4
Joined
Sep 30, 2008
Messages
108
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
2,337
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top