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

Adding debug to the network stack not working

I'm developing a new WiFi driver, and I'm having a failure during netInitialize() (I have the error NET_ERROR_CONFIG) so I need to add debug to the network to try to have more details of the failure that is occurring. To enable the network debug I have changed the following parameters in the Manage Run-Time environment window:

Network / Core - Changed to IPv4/IPv6 Debug

Compiler / Event Recorder - I have activated it

After these changes, building the project generates 3 errors:

.\Objects\xxxx.axf: Error: L6218E: Undefined symbol net_dbg_proc (referred from net_debug.o).
.\Objects\xxxx.axf: Error: L6218E: Undefined symbol net_dbg_time (referred from net_debug.o).
.\Objects\xxxx.axf: Error: L6218E: Undefined symbol net_evr_init (referred from net_sys.o).

Is it necessary to do other changes to activate the network debug? What could be the cause for these errors? 

Thanks!

Fernando

Parents
  • I was able to change to the Net_Dbg_CM3_L.lib using the "Options for component class"Network" in the project explorer, getting these project files:

    So now I see the correct lib (Net_Dbg_CM3_L.lib), but I still get the same linking errors:

    Linking...

    .\Objects\xxxx.axf: Error: L6218E: Undefined symbol net_dbg_proc (referred from net_debug.o).
    .\Objects\xxxx.axf: Error: L6218E: Undefined symbol net_dbg_time (referred from net_debug.o).
    .\Objects\xxxx.axf: Error: L6218E: Undefined symbol net_evr_init (referred from net_sys.o).

    Any other idea for the cause?

    Fernando

Reply
  • I was able to change to the Net_Dbg_CM3_L.lib using the "Options for component class"Network" in the project explorer, getting these project files:

    So now I see the correct lib (Net_Dbg_CM3_L.lib), but I still get the same linking errors:

    Linking...

    .\Objects\xxxx.axf: Error: L6218E: Undefined symbol net_dbg_proc (referred from net_debug.o).
    .\Objects\xxxx.axf: Error: L6218E: Undefined symbol net_dbg_time (referred from net_debug.o).
    .\Objects\xxxx.axf: Error: L6218E: Undefined symbol net_evr_init (referred from net_sys.o).

    Any other idea for the cause?

    Fernando

Children
No data