Unable to link eDLib with VC6


#1

hi all !

I’m new to open at and i’ve to do an application for a Q2501B, so i need a little help from you…

I now need to use the eDLib TCP/IP add-on librairy, but i havent been able to link the librairy with VC++ 6.

As i read in the faq and in several posts in the forum, i’ve done this :

In project wizard :
-otherlib TCPIP

In make file :
EXTERNAL_LIB_LIST = gcc_eDLib_303.lib
OTHER_LIB_LIST = TCPIP \

In VC6 :
Project->Settings, under “link”, $(WMLIBHOME)/TCPIP/rte_eDLib_303.lib
Tools->Options, under “directories”, i put the .h and .lib path

But the result still is :

rte_wmadl_3.0.4.0.0.lib C:/OpenAT/V304/TgtGen/Add-ons/TCPIP/rte_eDLib_303.lib /nologo /subsystem:windows /dll /incremental:no /pdb:“rte/vc6/Debug/SGV_rte.pdb” /debug /machine:I386 /include:"_opecCustomerTaskInit" /out:“rte/vc6/Debug/SGV_rte.dll” /implib:“rte/vc6/Debug/SGV_rte.lib” /pdbtype:sept /libpath:“C:\OpenAT\V304\TgtGen\Library” /libpath:“C:\OpenAT\V304\TgtGen\Adl\Library” /libpath:“C:\OpenAT\V304\TgtGen\Rte_Lib”
“.\rte\vc6\Debug\appli.obj”
“.\rte\vc6\Debug\Timer.obj”
“.\rte\vc6\Debug\StringTools.obj”
“.\rte\vc6\Debug\SMS.obj”
“.\rte\vc6\Debug\Responses.obj”
“.\rte\vc6\Debug\Memory.obj”
“.\rte\vc6\Debug\Main.obj”
“.\rte\vc6\Debug\GPS.obj”
“.\rte\vc6\Debug\GPRS.obj”
“.\rte\vc6\Debug\Event.obj”
“.\rte\vc6\Debug\Error.obj”
“.\rte\vc6\Debug\DataFlow.obj”
“.\rte\vc6\Debug\Communications_Int.obj”
“.\rte\vc6\Debug\Communications_Ext.obj”
“.\rte\vc6\Debug\Commands.obj”

Output Window
Linking…
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
Creating library rte/vc6/Debug/SGV_rte.lib and object rte/vc6/Debug/SGV_rte.exp
LINK : warning LNK4098: defaultlib “MSVCRT” conflicts with use of other libs; use /NODEFAULTLIB:library
GPRS.obj : error LNK2001: unresolved external symbol _ed_GPRSSetConfig
rte/vc6/Debug/SGV_rte.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

If i use any ed_* function (of course including the corresponding .h file), it gives me an link error… Any suggestion ??


#2

Glogman,

The only thing that I do at Open AT 3.10 to add the TCP/IP is the -otherlib TCPIP line on project wizard.

I do not change anything else !!!

1 - Double check if you are using 3.10 version !!! Because this line changes for different version.

2 - Just add the line and try to compile !!!

Rgds,
Gus