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

Parents
  • I also have another question:

    when I compile http_demo.uvpj, when web.inp is processed, showing:

    Build target 'STM3210C'
    custom translating Web.inp...
    Custom: C:\Keil\ARM\bin\fcarm @Web\Web.inp
    Target not created

    in fact, keil mdk is install at another directory:

    C:\keilMDK411\ARM\bin....

    I don't know why the MDK still use default install dir(c:\keil\ARM\bin\fcam), how to fix this problem?

Reply
  • I also have another question:

    when I compile http_demo.uvpj, when web.inp is processed, showing:

    Build target 'STM3210C'
    custom translating Web.inp...
    Custom: C:\Keil\ARM\bin\fcarm @Web\Web.inp
    Target not created

    in fact, keil mdk is install at another directory:

    C:\keilMDK411\ARM\bin....

    I don't know why the MDK still use default install dir(c:\keil\ARM\bin\fcam), how to fix this problem?

Children
No data