gsmbas.LIB

Login to reply to this topic.
Sat, 2005-05-07 10:21
Joined: 2004-11-20
Forum posts: 67
Hi everyone,
I'm developing an application in C++ to be run on a Symbian OS smartphone (e.g. Nokia 3650); I need to use GSM related functions that are defined in a library file called gsmbas.lib, that can be found in Nokia's C++ SDKs.
When I tried to compile it for WINS platform I had no problems, but when I tried to do the same for ARM platforms it seemed that the DLL invoked by the library file failed or couldn't be found.
For instance, this couple of error messages appears on the command line when "abld build armi urel" is launched:

- undefined reference to 'RBasicGsmPhone::RBasicGsmPhone(void)'

- relocation truncated to fit: ARM_26 RBasicGsmPhone::RBasicGsmPhone(void)

A similar couple of error messages appears for each constructor and function available in gsmbas.lib, and recalled in etelbgsm.h header file by means of IMPORT_C: it seems that gsmbas.dll doesn't work properly.
Has anyone an idea about how to solve these problems?
Thank you all.
Regards.

Mon, 2005-05-09 07:21
Joined: 2004-11-20
Forum posts: 67
gsmbas.LIB
Isn't there any Idea?
Mon, 2005-05-09 09:17
Joined: 2004-06-11
Forum posts: 404
gsmbas.LIB
IF u don't mind can u send me the code and I will try to compile
at my palce.
Bye.
--Mayur.

Mon, 2005-05-09 10:31
Joined: 2004-11-20
Forum posts: 67
gsmbas.LIB
dear mayur_24

It can be compiled and run in my computer at home,
but it can't be compiled at work,
I uninstall and install the Symbian SDK, and Microsoft Visual C++ again, and did all settings at first, but same problem, It could be compiled before, I don't know the reason of the error !!!
Mon, 2005-05-09 11:29
Joined: 2004-06-11
Forum posts: 404
gsmbas.LIB
Do u have multiple SDK's installed at your work-place??
And by any chance are u trying to compile with some other version of the
SDK??
Check which is the default SDK using the devices command.
Bye.
--Mayur.

Mon, 2005-05-09 13:02
Joined: 2004-11-20
Forum posts: 67
gsmbas.LIB
I set this SDK as default but same error!!!
Mon, 2005-09-12 14:36
Joined: 2005-07-07
Forum posts: 34
Re: gsmbas.LIB
Hi NewLC Smiley

Did you found solution on this problem ? From 5 days I'm trying to solve this but... unseccessful Sad

Please post solution if you have it

Thanks!
Tue, 2005-09-13 08:12
Joined: 2005-03-04
Forum posts: 176
Re: gsmbas.LIB
I think you dont't have the right gsmbas.lib. Like Etelmm there is only a cut down version for 'normal' developer available. The complete libs can be found on the web.
I know there was a version of the Motorola A925-SDK with the complete headers and libs. They can be used on S60 too...
Maybe have a look at http://www.cs.helsinki.fi/u/mraento/symbian/

Bye;
CG
Thu, 2006-02-16 12:37
Joined: 2005-02-22
Forum posts: 39
Re: gsmbas.LIB
When i try to build the cellid application i get following linking error

I have include the etel.h etelbgsm.h
I have put the gsmbas.lib in release\wins\udeb of symbian root

CELLIDAPPUI.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall RBasicGsmPhone::GetDetectedNetworkInfo(int,class MBasicGsmPhoneNetwork::TNetworkInfo &)const " (?GetDetectedNetworkInfo@RBasicGsmPhone@@UBEHHAAVTNetworkInfo@
MBasicGsmPhoneNetwork@@@Z)
CELLIDAPPUI.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall RBasicGsmPhone::EnumerateDetectedNetworks(int &)const " (?EnumerateDetectedNetworks@RBasicGsmPhone@@UBEHAAH@Z)

I have checked almost all the basic things .. Please help me out
Please help
Sat, 2006-02-18 19:13
Joined: 2005-03-04
Forum posts: 176
Re: gsmbas.LIB
I'm not really sure in this point but if i will remember right, all of the 'full' libs are only for release and arm or thumb.
I don't know about a version for wins and debug.  Try to build a version for thumb release and try it on a real device... If there are further questions i will look for it at work on Monday   Cool.

Bye;
CG
  • Login to reply to this topic.