Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
  1. #16
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    if you want to use different SDK for building, then you must also modify your pkg file, so that it would fetch the source files from correct SDK.

  2. #17
    Registered User dilipsinh's Avatar
    Join Date
    Jan 2011
    Posts
    167
    So in the path of all files in .pkg file,
    i just have to change the name like this below :

    "8.0a\S60_2nd_FP2" -> "7.0s\Series60_v20"

  3. #18
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    that could help, thus do try it out.

  4. #19
    Registered User dilipsinh's Avatar
    Join Date
    Jan 2011
    Posts
    167
    On doing the change below:
    "8.0a\S60_2nd_FP2" -> "7.0s\Series60_v20"
    gives following error :
    -......\....\sis> makesis CellGuard_S60_2nd.pkg
    Processing CellGuard_S60_2nd.pkg....
    CellGuard_S60_2nd.pkg( 39 ) : error: file not found
    my line 39 is :
    "C:\Symbian\7.0s\Series60_v20\epoc32\wins\c\System\Bootdata\KERNSI.txt" - "c:\system\bootdata\KERNSI.txt"
    Now what should i do ?

  5. #20
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Try to learn what kind of file it could be. I do not know/care, but I would check if the project contains such file somewhere, and I would also check if there is such folder/file on the device too, perhaps also check on the ROM drive (z: ).
    Checking with a real S60 2nd FP2 SDK may be also a good approach.

  6. #21
    Registered User dilipsinh's Avatar
    Join Date
    Jan 2011
    Posts
    167
    Installed and test with S60 2nd FP2 SDK but after that it provides me many errors as below :-
    Can not find "etelbgsm.h"
    After including this file gives other four errors :-
    `iImsi' undeclared (first use this function)
    `TMobilePhoneSubscriberId' is not a member of type `RMobilePhone'
    confused by earlier errors, bailing out
    parse error before `;'
    in code
    RTelServer iServer;
    RMobilePhone iPhone;
    RMobilePhone::TMobilePhoneSubscriberId iImsi;
    TRequestStatus iImsiStatus;
    RTelServer::TPhoneInfo info;
    User::LeaveIfError(iServer.Connect());
    User::LeaveIfError(iServer.GetPhoneInfo(0, info));
    User::LeaveIfError(iPhone.Open(iServer, info.iName));
    iPhone.GetSubscriberId(iImsiStatus, iImsi);
    User::WaitForRequest(iImsiStatus);

    if(iImsiStatus == KErrNone)
    {
    IMSI.Copy(iImsi);
    IMSINum.Copy(iImsi);
    }
    and i m sure that it will provide me more errors if solve this.

    with "7.0s\Series60_v20" i was able to build but "8.0a\S60_2nd_FP2" m not.

  7. #22
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    etelbgsm.h is actually something from S60 1st edition, and should not really be used in 2nd edition anymore, instead the IMSI would be gotten with Etelmm APIs, unfortunately the header is incomplete in all S60 SDKs, thus with public SDK the task can not be done. also I'm unaware of any ways on still getting the required headers & libraries.

  8. #23
    Registered User dilipsinh's Avatar
    Join Date
    Jan 2011
    Posts
    167
    Hello symbianyucca,

    M working with Old application already created before, but the thing is that i do not have that old resources.
    And with new resource it is not working proper, ( The person who created this application is one of the nokia forum champion called "KIRAN")


    Coming to application, m trying to work "7.0s\Series60_v20".
    Atleast m able to build application( but problem with sis creation).

    As per wizard's advice in post #20, i m looking in the code for the files that i can omit from the .pkg file.

  9. #24
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    the sis creation could be fixed by changing the source paths in the pkg as mentioned earlier, thus try that one. for the compiling problems, you would need to find the missing stuff, and for that one I think I could not be on help really.

  10. #25
    Registered User dilipsinh's Avatar
    Join Date
    Jan 2011
    Posts
    167
    After omit some files from the .pkg, the sis is building properly.


    Thank you Symbianyucca & Wizard_hu_.


    Thanks & Regards
    -Bheda Dilipsinh

  11. #26
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    I did not ask for omitting, I asked on changing the paths to point to the actual SDK used, anyway, its your application, and if it works without the offending files, then I would still suggest on checking the codes and seeing where those files might have been used.

  12. #27
    Registered User dilipsinh's Avatar
    Join Date
    Jan 2011
    Posts
    167
    Hello symbianyucca,

    First of all, let me thank you for your help :- "THANK YOU"

    offcourse, i have seen my code again and again,
    remove the unwanted files and just replace the needed files in the code ( all error files in the .pkg were related to the files like .txt, .dat, etc. and not any .exe).
    After that it is working just fine.

    Before omitting in the .pkg file, i have already tried by changing its SDK's path, but provides errors ( as in post #19 ).


    Thanks again,
    -Bheda Dilipsinh

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 3
    Last Post: 2009-10-30, 07:20
  2. Replies: 10
    Last Post: 2009-06-24, 08:05
  3. [moved] creation of the file .sis in Carbide C/C + +
    By chia_84 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2008-10-09, 13:33
  4. Replies: 8
    Last Post: 2008-07-20, 11:36
  5. Can i create Same .SIS file for 2nd & 3rd edition
    By kamaljaiswal in forum Symbian C++
    Replies: 8
    Last Post: 2007-05-09, 15:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved