×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    Uninitialized Data

    When i try to build it using abld build armi urel -- it says
    Error: Dll Temp[ <uid>].app has uninitialised data
    but no error comes while builing in debug mode as abld build wins udeb
    what i'm i doing wrong, as it works in debugs..
    and does anyone knos how to include aif file into your pkg files
    Thanks
    Later
    Dips

    Posted by Dips M, contactwithdeepa@yahoo.com
    on March 22, 2002 at 10:15

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    RE: Uninitialized Data

    Posted by Rajesh K, stranger_jonty@yahoo.com
    on March 26, 2002 at 11:49



    Hi Deepa,
    You getting the unintialized data error for ARMI because, either there are global variables in your code or you have static variables.
    ARMI does not accept static variables & globals. I hope u r working with a C code. Inorder to overcome the global problem use:
    Dll::SetTls() & Dll::GetTls.

    And static variables should not be there.
    I hope this will find you a way out.
    -Rajesh

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    55
    really static data not supported ??? so bad ;(

  4. #4
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Bangalore
    Posts
    285

    Re: Uninitialized Data

    put "OPTION -save-temps" above UID declaration in the MMP file.

    this creates a .s and.t file in the folder that contains the APP file

    these files show which varibales are static.. so this is kind of debugging method.
    Just provide alternatives for those static variables

  5. #5
    Registered User
    Join Date
    Sep 2006
    Location
    Beijing, China
    Posts
    386

    Re: Uninitialized Data

    Quote Originally Posted by gmsk19
    put "OPTION -save-temps" above UID declaration in the MMP file.

    this creates a .s and.t file in the folder that contains the APP file

    these files show which varibales are static.. so this is kind of debugging method.
    Just provide alternatives for those static variables
    I tried this, but get the error message :

    Code:
    Keyword OPTION requires at least two arguments
    What are the two arguments?

    Max.

    EDIT: Found http://www.newlc.com/article.php3?id_article=529 - says :

    The MMP file will need to be changed and the line below added to the top of the mmp file, after the UID declaration.

    OPTION GCC -save-temps.
    Last edited by davidmaxwaterman; 2007-05-16 at 10:30.

Posting Permissions

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