×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    May 2003
    Posts
    76

    error:building for ARMI Platform

    Hi all,

    My code is working fine on emulator and i want to test it out on a device. and for making it's sis i have to make SIS file. when i am building my application for ARMI platofrm it's giving error as:



    PETRAN - PE file preprocessor V01.00 (Build 175)
    Copyright (c) 1996-2001 Symbian Ltd.

    ERROR: Dll 'APPLI[10009B89].APP' has initialised data.
    NMAKE : fatal error U1077: 'petran' : return code '0xfffffffe'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\vc98\bin\nmake.exe"' : return code '0
    x2'
    Stop.
    nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\APPLIGROUP\ARMI.ma
    ke" FINAL CFG=UREL VERBOSE=-s


    could anybody suggest wht does this " INITIALISED DATA " mean and how can i find it' to chk my code.....

    Rgds
    Gaurav

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    21
    You have static variables in your code, which are not allowed in dlls. If your project has many file and you don't know exactly where they are, the following commands may help:

    nm *.o > tmp
    find /I " d " tmp > globals.txt
    find /I " b " tmp >> globals.txt
    find /I " g " tmp >> globals.txt

    The directory to run them seems to be
    \Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\APPLIGROUP\armi\urel

Posting Permissions

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