Help ! Unresolved symbol link error
| Fri, 2006-01-06 15:05 | |
|
Iam gettng the following error while compiling a code to get te imie number & cell id from te phone.I have sdk fp2 installed.I have included the gsmbas.lib in te epoc32/include directory and etelbgsm.h,etel.h are also present....Still am getting te following error ...Kindly help...
Sreejith -------------------------------------------------------------------------- Compiling... Getimei.cpp Linking... Getimei.obj : error LNK2019: unresolved external symbol "public: __thiscall MBasicGsmPhoneNetwork::TNetworkInfo::TNetworkInfo(void)" (??0TNetworkInfo@MBasicGsmPhoneNetwork@@QAE@XZ) referenced in function "public: __thiscall MBasicGsmPhoneNetwork::TCurrentNetworkInfo::TCurrentNetworkInfo(void)" (??0TCurrentNetworkInfo@MBasicGsmPhoneNetwork@@QAE@XZ) Getimei.obj : error LNK2019: unresolved external symbol "public: virtual int __thiscall RBasicGsmPhone::GetSignalStrength(long &)const " (?GetSignalStrength@RBasicGsmPhone@@UBEHAAJ@Z) referenced in function "void __cdecl doExampleL(void)" (?doExampleL@@YAXXZ) Getimei.obj : error LNK2019: unresolved external symbol "public: virtual int __thiscall RBasicGsmPhone::GetCurrentNetworkInfo(struct MBasicGsmPhoneNetwork::TCurrentNetworkInfo &)const " (?GetCurrentNetworkInfo@RBasicGsmPhone@@UBEHAAUTCurrentNetworkInfo@MBasicGsmPhoneNetwork@@@Z) referenced in function "void __cdecl doExampleL(void)" (?doExampleL@@YAXXZ) Getimei.obj : error LNK2019: unresolved external symbol "public: __thiscall RBasicGsmPhone::RBasicGsmPhone(void)" (??0RBasicGsmPhone@@QAE@XZ) referenced in function "void __cdecl doExampleL(void)" (?doExampleL@@YAXXZ) \Symbian\8.0a\S60_2nd_FP2\EPOC32\RELEASE\WINS\UREL\GETIMEI.EXE : fatal error LNK1120: 4 unresolved externals -------------------------------------------------------------------------- |
|






Forum posts: 364
Forum posts: 3
Forum posts: 3
-------------------------------------------------------------------------------------
..\..\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\GEIMEI\GETIMEI\ARMI\UREL\GETIMEI.in(../../EPOC32/BUILD/SYMBIAN/8.0A/S60_2ND_FP2/SERIES60EX/GEIMEI/GETIMEI/ARMI/UREL/GETIMEI.o)(.text+0x150):Getimei.cpp: undefined reference to `RBasicGsmPhone::RBasicGsmPhone(void)'
..\..\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\GEIMEI\GETIMEI\ARMI\UREL\GETIMEI.in(../../EPOC32/BUILD/SYMBIAN/8.0A/S60_2ND_FP2/SERIES60EX/GEIMEI/GETIMEI/ARMI/UREL/GETIMEI.o)(.text+0x1a0):Getimei.cpp: undefined reference to `MBasicGsmPhoneNetwork::TNetworkInfo::TNetworkInfo(void)'
..\..\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\GEIMEI\GETIMEI\ARMI\UREL\GETIMEI.in(../../EPOC32/BUILD/SYMBIAN/8.0A/S60_2ND_FP2/SERIES60EX/GEIMEI/GETIMEI/ARMI/UREL/GETIMEI.o)(.text+0x1ac):Getimei.cpp: undefined reference to `RBasicGsmPhone::GetCurrentNetworkInfo(MBasicGsmPhoneNetwork::TCurrentNetworkInfo &) const'
..\..\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\GEIMEI\GETIMEI\ARMI\UREL\GETIMEI.in(../../EPOC32/BUILD/SYMBIAN/8.0A/S60_2ND_FP2/SERIES60EX/GEIMEI/GETIMEI/ARMI/UREL/GETIMEI.o)(.text+0x1cc):Getimei.cpp: undefined reference to `RBasicGsmPhone::SignalStrengthNotification(TRequestStatus &, long &)'
make[1]: *** [..\..\EPOC32\RELEASE\ARMI\UREL\GETIMEI.EXE] Error 1
make: *** [TARGETGETIMEI] Error 2
make -s -r -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\GEIMEI\GETIMEI\ARMI\GETIMEI.ARMI" UREL
make -r -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\GEIMEI\ARMI.make" FINAL CFG=UREL VERBOSE=-s
Build log was saved at "file://d:\Symbian\8.0a\S60_2nd_FP2\Series60Ex\geimei\Release\BuildLog.htm"
GETIMEI - 0 error(s), 0 warning(s)
Forum posts: 18
r u using any external dll in your project bcoz i used to get this errors when i used third party dll and i have fixed it. if ur using the third party dll let me know..
Forum posts: 10
From the Series 60 2nd Edition SDK (FP2) docs:
Etel multimode is described in the Developer Library in Using Multimode ETel and product documentation at common\generic\telephony\etelmm\Documentation\.
Migration advice is available in generic\telephony\etelmm\Documentation\How To Upgrade to Multimode ETel.doc
I guess your problem is occuring because the APIs you're referencing are being phased out.
You'll probably have to look at the ETel framework.
Good luck.
Regards,
Bob Andrews