Problem with IP-Connectivity


#1

I would use some basic function of IP-Connectivity such as sending ping at a known host.
For doing that I include this headers:

#include "adl_global.h"
#include "ed_ping.h"
#include "ed_common.h"

but during linking I have tis error from Visual Studio 2003:

... Link gcc_proveIPConnectivity.bin ...
 
make: *** [make_single_bin] Error 1
/cygdrive/c/ProveOpenAT/proveIPConnectivity/gcc/out/appli.c:501: undefined reference to `ed_PINGSetConfig'
/cygdrive/c/ProveOpenAT/proveIPConnectivity/gcc/out/appli.c:480: undefined reference to `ed_Init'

where “ed_Init” and “ed_PINGSetConfig” are declared function in the header above.

There something simple thing that I forgot?
(The core code is from hello world sample aplication)

Thank you very much!
Lorenzo


#2

Note that these are Linker errors

You forgot to include the Libraries in the Project?


#3

Yes, I think it was a problem like that but how I can include library (.lib) in Visual Studio 2003 with WISMO target? And which library?

excuse me for the basic question.


#4

I have done a carefully research on the forum and I found tha for resolv my problem I have to write

-otherlib TCPIP

in “wmnew script additional options” on Project Wizard.

But when I click on “OK” is displayed the error message

[wmnew error #25] Unknown plug-in (TCPIP) in root directory (C:/OpenAT/Plug-ins)

And if I try to change the path where I think it is the lybrary I have:

[wmnew error #25] Unknown plug-in (TCPIP) in root directory (C:/OpenAT/V310/TgtGen/Add-ons/TCPIP)

Please help me…


#5

Hy daimoniro,

Try this:

-otherlib Tcpip/v3.10

in “wmnew script additional options” on Project Wizard.

Please check correct version of your’s tcpip add-on.