D
DaMunky89
Guest
Alright, so I'm trying to compile the example projects from xapp1026,
following the instructions included in xapp1026.pdf:
www.xilinx.com/support/documentation/application.../xapp1026.pdf
I'm using the Xilinx SDK, and successfully managed to import the
Hardware Platform Specifications and four xapp1026 example projects.
My current setup is as follows:
OS: Windows 7 x64
SDK Release Version: 12.3 Build SDK_MS3.70d
When I try to "build all", I get the following error:
**** Build of configuration Debug for project sock_apps ****
make all
Building file: ../dispatch.c
Invoking: MicroBlaze gcc compiler
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -mxl-soft-mul -MMD -MP -
MF"dispatch.d" -MT"dispatch.d" -o"dispatch.o" "../dispatch.c"
.../dispatch.c:19:23: error: lwip/inet.h: No such file or directory
.../dispatch.c:20:26: error: lwip/ip_addr.h: No such file or directory
.../dispatch.c: In function print_headers:
.../dispatch.c:27: warning: implicit declaration of function
xil_printf
.../dispatch.c:32: warning: implicit declaration of function
print_echo_app_header
.../dispatch.c:35: warning: implicit declaration of function
print_rxperf_app_header
.../dispatch.c:38: warning: implicit declaration of function
print_txperf_app_header
.../dispatch.c:41: warning: implicit declaration of function
print_tftp_app_header
.../dispatch.c:44: warning: implicit declaration of function
print_web_app_header
.../dispatch.c: In function launch_app_threads:
.../dispatch.c:60: warning: implicit declaration of function
sys_thread_new
.../dispatch.c:62: error: DEFAULT_THREAD_PRIO undeclared (first use
in this function)
.../dispatch.c:62: error: (Each undeclared identifier is reported only
once
.../dispatch.c:62: error: for each function it appears in.)
make: *** [dispatch.o] Error 1
It looks like it's complaining that I haven't added lwip to the
include path. The xapp1026 instructions don't mention anything about
this, so I thought some kind of Xilinx distribution of lwip was
already included, but I guess not. Therefore, my question overall is,
how do I go about adding lwip to my Xilinx SDK in such a way that I
can get these projects to build? If that isn't the solution to these
errors, what is?
following the instructions included in xapp1026.pdf:
www.xilinx.com/support/documentation/application.../xapp1026.pdf
I'm using the Xilinx SDK, and successfully managed to import the
Hardware Platform Specifications and four xapp1026 example projects.
My current setup is as follows:
OS: Windows 7 x64
SDK Release Version: 12.3 Build SDK_MS3.70d
When I try to "build all", I get the following error:
**** Build of configuration Debug for project sock_apps ****
make all
Building file: ../dispatch.c
Invoking: MicroBlaze gcc compiler
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -mxl-soft-mul -MMD -MP -
MF"dispatch.d" -MT"dispatch.d" -o"dispatch.o" "../dispatch.c"
.../dispatch.c:19:23: error: lwip/inet.h: No such file or directory
.../dispatch.c:20:26: error: lwip/ip_addr.h: No such file or directory
.../dispatch.c: In function print_headers:
.../dispatch.c:27: warning: implicit declaration of function
xil_printf
.../dispatch.c:32: warning: implicit declaration of function
print_echo_app_header
.../dispatch.c:35: warning: implicit declaration of function
print_rxperf_app_header
.../dispatch.c:38: warning: implicit declaration of function
print_txperf_app_header
.../dispatch.c:41: warning: implicit declaration of function
print_tftp_app_header
.../dispatch.c:44: warning: implicit declaration of function
print_web_app_header
.../dispatch.c: In function launch_app_threads:
.../dispatch.c:60: warning: implicit declaration of function
sys_thread_new
.../dispatch.c:62: error: DEFAULT_THREAD_PRIO undeclared (first use
in this function)
.../dispatch.c:62: error: (Each undeclared identifier is reported only
once
.../dispatch.c:62: error: for each function it appears in.)
make: *** [dispatch.o] Error 1
It looks like it's complaining that I haven't added lwip to the
include path. The xapp1026 instructions don't mention anything about
this, so I thought some kind of Xilinx distribution of lwip was
already included, but I guess not. Therefore, my question overall is,
how do I go about adding lwip to my Xilinx SDK in such a way that I
can get these projects to build? If that isn't the solution to these
errors, what is?