cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
224 Views
Registered: ‎05-16-2018

Trouble getting txperf.c in XAPP1026 to compile.

I added 1026_14_3\zc702_GigE\repo to the repo in SDK, but I am still getting the following errors:

1. 'AF_INET' undeclared (first use in this function) txperf.c /tx_performance/src line 59 C/C++ Problem

2. 'SOCK_STREAM' undeclared (first use in this function) txperf.c /tx_performance/src line 59 C/C++ Problem

3. storage size of 'ipaddr' isn't known txperf.c /tx_performance/src line 49 C/C++ Problem

4. storage size of 'serv_addr' isn't known txperf.c /tx_performance/src line 51 C/C++ Problem

tx_errors.PNG

I changed the ip addres type from "struct ip_addr" to "ip_addr_t" (aparrently because lwip was updated since txperf.c was written) which solved error 3, but I am at a loss at what else I would need to change to fix errors 1, 2, and 4 and get the example to compile.

0 Kudos
1 Reply
Highlighted
Contributor
Contributor
136 Views
Registered: ‎05-16-2018

Re: Trouble getting txperf.c in XAPP1026 to compile.

Could a mod please move this to processor system design?
0 Kudos