Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 215987

Forum Post: RE: compiling error with using lwip

$
0
0

First of all, thank you for reply. I have posted two threads. This is the only one got reply. thanks god

I checked the include path in the ARM compiler option. I missed "${workspace_loc:/${ProjName}}". However, after I include that path, it comes 30 errors says 

Description Resource Path Location Type


#148 declaration is incompatible with "struct ip_hdr __attribute__(<error-type>)" (declared at line 132 of "C:/ti/StellarisWare/third_party/lwip-1.3.2/src/include/ipv4/lwip/ip.h") lwiplib.c /project1/utils line 85, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\ipv4\lwip\icmp.h C/C++ Problem


#148 declaration is incompatible with "struct icmp_echo_hdr __attribute__(<error-type>)" (declared at line 85 of "C:/ti/StellarisWare/third_party/lwip-1.3.2/src/include/ipv4/lwip/icmp.h") lwiplib.c /project1/utils line 236, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\lwip\tcp.h C/C++ Problem


#148 declaration is incompatible with "struct ip_addr __attribute__(<error-type>)" (declared at line 49) lwiplib.c /project1/utils line 65, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\ipv4\lwip\ip_addr.h C/C++ Problem


#148 declaration is incompatible with "struct ip_addr2 __attribute__(<error-type>)" (declared at line 65 of "C:/ti/StellarisWare/third_party/lwip-1.3.2/src/include/ipv4/lwip/ip_addr.h") lwiplib.c /project1/utils line 132, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\ipv4\lwip\ip.h C/C++ Problem


#148 declaration is incompatible with "struct dhcp_msg __attribute__(<error-type>)" (declared at line 109 of "C:/ti/StellarisWare/third_party/lwip-1.3.2/src/include/lwip/dhcp.h") lwiplib.c /project1/utils line 65, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\netif\etharp.h C/C++ Problem


#148 declaration is incompatible with "struct eth_addr __attribute__(<error-type>)" (declared at line 65) lwiplib.c /project1/utils line 82, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\netif\etharp.h C/C++ Problem


#148 declaration is incompatible with "struct tcp_hdr __attribute__(<error-type>)" (declared at line 236 of "C:/ti/StellarisWare/third_party/lwip-1.3.2/src/include/lwip/tcp.h") lwiplib.c /project1/utils line 60, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\lwip\udp.h C/C++ Problem


#148 declaration is incompatible with "struct tcp_hdr __attribute__(<error-type>)" (declared at line 236 of "C:/ti/StellarisWare/third_party/lwip-1.3.2/src/include/lwip/tcp.h") main.c /project1 line 60, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\lwip\udp.h C/C++ Problem
#148 declaration is incompatible with "struct icmp_echo_hdr __attribute__(<error-type>)" (declared at line 85 of "C:/ti/StellarisWare/third_party/lwip-1.3.2/src/include/ipv4/lwip/icmp.h") main.c /project1 line 236, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\lwip\tcp.h C/C++ Problem
#148 declaration is incompatible with "struct ip_hdr __attribute__(<error-type>)" (declared at line 132 of "C:/ti/StellarisWare/third_party/lwip-1.3.2/src/include/ipv4/lwip/ip.h") main.c /project1 line 85, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\ipv4\lwip\icmp.h C/C++ Problem
#148 declaration is incompatible with "struct ip_addr2 __attribute__(<error-type>)" (declared at line 65 of "C:/ti/StellarisWare/third_party/lwip-1.3.2/src/include/ipv4/lwip/ip_addr.h") main.c /project1 line 132, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\ipv4\lwip\ip.h C/C++ Problem
#148 declaration is incompatible with "struct eth_hdr __attribute__(<error-type>)" (declared at line 82) lwiplib.c /project1/utils line 124, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\netif\etharp.h C/C++ Problem
#148 declaration is incompatible with "struct ip_addr __attribute__(<error-type>)" (declared at line 49) main.c /project1 line 65, external location: C:\ti\StellarisWare\third_party\lwip-1.3.2\src\include\ipv4\lwip\ip_addr.h C/C++ Problem

ideas?


Viewing all articles
Browse latest Browse all 215987

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>