×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Location
    Hyderabad
    Posts
    58

    "Error 1" abld build thumb urel

    Hi,

    I have using S60 FP2.My problem is I am able to build application for WINS,application builds and runs fine on emulator. But whn i compile for thumb UREL i get the following error.

    make[1]: *** [..\..\..\EPOC32\BUILD\SYMBIAN\SERIES60EX\NOV_4\GROUP\MyMOBILE\THUMB\UREL\MOBILECONTAINER.o] Error 1

    make: *** [TARGETMOBILE] Error 2

    I searched forum but was unable to find a solution. Please help.

    Regards,
    Last edited by krishnaramram; 2006-11-04 at 19:38. Reason: subject line more clear afer editing

  2. #2
    Regular Contributor
    Join Date
    Mar 2006
    Location
    Hyderabad
    Posts
    58

    Re: "Error 1" Thumb UREL

    Hi,

    I am answering my own question.

    building for wins is different as we r building uisng the microsoft compiler.When building for phone we use the GCC compiler,...which is very strict.

    As an example i have a case here,where we.....may be building for thumb/armi that uses GCC compiler.It is very strict in "type checking".Im my case i had the following syntax.

    TBuf<2> iViewBuf;
    iViewBuf.Num(aPrevViewId.iViewUid.iUid); //Compiles well for wins Fails for
    //when buildign for thumb/armi

    ViewBuf.Num((TInt)aPrevViewId.iViewUid.iUid);//Change the above with this
    //compiles well for
    //thumb/armi/wins

    The reason is aPrevViewId.iViewUid.iUid returns "TInt32"(unsigned long) type and Num() function expects TInt(signed 32-bit).If we do not type cast code will compile and link fine for wins, but would fail for thumb/armi builds because it uses the GCC compiler that strictly checks for type mismatch.

    Also GCC would not generate any warnings or errors like "type mismatch". simply it would fail to compile.

Similar Threads

  1. abld build thumb urel ERROR
    By 83.manish in forum Symbian
    Replies: 4
    Last Post: 2006-11-30, 06:42
  2. problem with abld buil thumb urel
    By alabama83 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-10-13, 09:16
  3. thumb urel build error
    By belarbi in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-08-31, 13:17
  4. Bug in Series 60 SDK 1.2 (THUMB UREL) API for Photo Album
    By rolenf in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2004-02-15, 20:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×