This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

rl-tcp compile error

hi,sir!

Some error is ocurring while compiling, I have to mark "//" in net_conf.c then compile is ok.

But these two const strings are defined in at_ip.c and at_ethernet.c, why?

/* Own and Broadcast Ethernet address */
#if ETH_ENABLE == 1 U8 own_hw_adr[ETH_ADRLEN] = { _MAC1, _MAC2, _MAC3, _MAC4, _MAC5, _MAC6 };
//U8 const MAC_Broadcast[ETH_ADRLEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
#endif
/* Broadcast IP address */
//U8 const IP_Broadcast[IP_ADRLEN] = { 255, 255, 255, 255 };


linking...
STM32_Net.axf: Error: L6200E: Symbol MAC_Broadcast multiply defined (by at_ethernet.o and net_config.o).
STM32_Net.axf: Error: L6200E: Symbol IP_Broadcast multiply defined (by at_ip.o and net_config.o).
Target not created

0