We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am getting error below while compiling http_demo example for mcbstr9. Tried defining these three variables again in Net_config.h as
extern const U8 IP_Broadcast[IP_ADRLEN]; extern const U8 MAC_Broadcast[ETH_ADRLEN]; But getting same error again. Kindly help.
.\Obj\Http_demo.axf: Error: L6200E: Symbol IP_Broadcast multiply defined (by at_ip.o and net_config.o). .\Obj\Http_demo.axf: Error: L6200E: Symbol MAC_Broadcast multiply defined (by at_ethernet.o and net_config.o). .\Obj\Http_demo.axf: Error: L6200E: Symbol igmp_is_member multiply defined (by at_igmp.o and net_config.o).
Following is the link of that example. It is from Keil
http://www.keil.com/download/docs/318.asp
Please make sure that your Net_Config.c version is consistent with your TCPnet library. It is not possible to mix newer configuration files with older TCPnet libraries without modifications.
You are probably using more than 6-year old TCPnet. Newer network configuration files are cleaned and contain mainly #define macro definitions such as those in the dual-stack version:
#define ETH0_MAC_ADDR "1E-30-6C-A2-45-5E" #define ETH0_IP4_ADDR "192.168.0.100" #define ETH0_IP4_MASK "255.255.255.0" #define ETH0_IP4_GATEWAY "192.168.0.254" #define ETH0_IP6_PRIMARY_DNS "2001:4860:4860::8888" #define ETH0_IP6_SECONDARY_DNS "2001:4860:4860::8844"