×

Discussion Board

Results 1 to 7 of 7

Thread: ARMI - THUMB

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    10

    ARMI - THUMB

    Hi everybody,

    Does anybody know how to fix such problem? It would be great!!
    I launch "Phone Release ARMI / THUMB" and I get 100 errors related to
    e32base.h and e32std.h
    As you can see:

    =========================================================
    Severity and Description Path Resource Location Creation Time Id
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `CArrayVarFlat' was not declared in this scope helloworld line 396 1193138071670 6533
    ..\\..\\EPOC32\\INCLUDE\\e32base.h warning: anonymous class type not used to declare any objects helloworld line 228 1193138071654 6505
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayFix' does not declare a template type helloworld line 166 1193138071623 6485
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayFixFlat' does not declare a template type helloworld line 210 1193138071638 6497
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayFixSeg' does not declare a template type helloworld line 238 1193138071654 6511
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayPak' does not declare a template type helloworld line 409 1193138071685 6535
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayPakFlat' does not declare a template type helloworld line 438 1193138071685 6543
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayPtr' does not declare a template type helloworld line 250 1193138071654 6514
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayPtrFlat' does not declare a template type helloworld line 258 1193138071654 6516
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayPtrSeg' does not declare a template type helloworld line 266 1193138071670 6519
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayVar' does not declare a template type helloworld line 317 1193138071670 6521
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayVarFlat' does not declare a template type helloworld line 346 1193138071670 6529
    ..\\..\\EPOC32\\INCLUDE\\e32base.h `TIdentityRelation<T>::CArrayVarSeg' does not declare a template type helloworld line 353 1193138071670 6531
    ..\\..\\EPOC32\\INCLUDE\\e32base.h ambiguates old declaration `const TAny * At(TInt)' helloworld line 198 1193138071638 6491
    ..\\..\\EPOC32\\INCLUDE\\e32base.h ambiguates old declaration `const TAny * At(TInt)' helloworld line 339 1193138071670 6527
    ..\\..\\EPOC32\\INCLUDE\\e32base.h ambiguates old declaration `const TAny * At(TInt)' helloworld line 431 1193138071685 6541
    ..\\..\\EPOC32\\INCLUDE\\e32base.h ambiguates old declaration `const TAny * Back(TInt)' helloworld line 200 1193138071638 6495
    ..\\..\\EPOC32\\INCLUDE\\e32base.h ambiguates old declaration `const TAny * End(TInt)' helloworld line 199 1193138071638 6493
    ..\\..\\EPOC32\\INCLUDE\\e32base.h ambiguates old declaration `TAny * At(TInt)' helloworld line 201 1193138071670 6525
    ..\\..\\EPOC32\\INCLUDE\\e32base.h ambiguates old declaration `TAny * At(TInt)' helloworld line 340 1193138071685 6539
    ..\\..\\EPOC32\\INCLUDE\\e32base.h confused by earlier errors, bailing out helloworld line 510 1193138071685 6545
    ..\\..\\EPOC32\\INCLUDE\\e32base.h destructor `CArrayFixFlat' must match class name `._14' helloworld line 226 1193138071638 6504
    ..\\..\\EPOC32\\INCLUDE\\e32base.h destructor `CArrayFixFlat' must match class name `._15' helloworld line 233 1193138071654 6509
    ..\\..\\EPOC32\\INCLUDE\\e32base.h new declaration `const TAny * At(TInt)' helloworld line 339 1193138071670 6524
    ..\\..\\EPOC32\\INCLUDE\\e32base.h new declaration `const TAny * At(TInt)' helloworld line 431 1193138071685 6538
    ..\\..\\EPOC32\\INCLUDE\\e32base.h new declaration `TAny * At(TInt)' helloworld line 201 1193138071638 6490
    ..\\..\\EPOC32\\INCLUDE\\e32base.h new declaration `TAny * At(TInt)' helloworld line 340 1193138071670 6526
    ..\\..\\EPOC32\\INCLUDE\\e32base.h new declaration `TAny * At(TInt)' helloworld line 432 1193138071685 6540
    ..\\..\\EPOC32\\INCLUDE\\e32base.h new declaration `TAny * Back(TInt)' helloworld line 203 1193138071638 6494
    ..\\..\\EPOC32\\INCLUDE\\e32base.h new declaration `TAny * End(TInt)' helloworld line 202 1193138071638 6492
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-member function `At(TInt)' cannot have `const' method qualifier helloworld line 198 1193138071623 6487
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-member function `At(TInt)' cannot have `const' method qualifier helloworld line 339 1193138071670 6523
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-member function `At(TInt)' cannot have `const' method qualifier helloworld line 431 1193138071685 6537
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-member function `Back(TInt)' cannot have `const' method qualifier helloworld line 200 1193138071638 6489
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-member function `End(TInt)' cannot have `const' method qualifier helloworld line 199 1193138071638 6488
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayFix' used as a template helloworld line 210 1193138071638 6498
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayFix' used as a template helloworld line 222 1193138071638 6502
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayFix' used as a template helloworld line 229 1193138071654 6507
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayFix' used as a template helloworld line 238 1193138071654 6512
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayFix' used as a template helloworld line 250 1193138071654 6515
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayFixFlat' used as a template helloworld line 222 1193138071638 6501
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayFixFlat' used as a template helloworld line 229 1193138071654 6506
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayPak' used as a template helloworld line 438 1193138071685 6544
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayVar' used as a template helloworld line 346 1193138071670 6530
    ..\\..\\EPOC32\\INCLUDE\\e32base.h non-template type `CArrayVar' used as a template helloworld line 353 1193138071670 6532
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `)' helloworld line 225 1193138071638 6503
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `)' helloworld line 232 1193138071654 6508
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `}' helloworld line 207 1193138071638 6496
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `}' helloworld line 221 1193138071638 6500
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `}' helloworld line 263 1193138071654 6518
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `}' helloworld line 343 1193138071670 6528
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `}' helloworld line 435 1193138071685 6542
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `<' helloworld line 194 1193138071623 6486
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `<' helloworld line 216 1193138071638 6499
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `<' helloworld line 243 1193138071654 6513
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `<' helloworld line 258 1193138071654 6517
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `<' helloworld line 266 1193138071670 6520
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `<' helloworld line 335 1193138071670 6522
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `<' helloworld line 427 1193138071685 6536
    ..\\..\\EPOC32\\INCLUDE\\e32base.h parse error before `>' helloworld line 396 1193138071685 6534
    ..\\..\\EPOC32\\INCLUDE\\e32std.h `<invalid operator>' declared as an `inline' field helloworld line 4475 1193138071326 5915
    ..\\..\\EPOC32\\INCLUDE\\e32std.h `AData' was not declared in this scope helloworld line 4462 1193138071326 5903
    ..\\..\\EPOC32\\INCLUDE\\e32std.h `AData' was not declared in this scope helloworld line 4464 1193138071326 5909
    ..\\..\\EPOC32\\INCLUDE\\e32std.h `AType' was not declared in this scope helloworld line 4462 1193138071326 5902
    ..\\..\\EPOC32\\INCLUDE\\e32std.h `AType' was not declared in this scope helloworld line 4463 1193138071326 5907
    ..\\..\\EPOC32\\INCLUDE\\e32std.h `struct SSecurityPolicyV1C7 const n' previously defined here helloworld line 5039 1193138071326 5965
    ..\\..\\EPOC32\\INCLUDE\\e32std.h `vid' was not declared in this scope helloworld line 5385 1193138071341 6002
    ..\\..\\EPOC32\\INCLUDE\\e32std.h conflicting types for `struct SSecurityPolicyV1SVC3 const n' helloworld line 5378 1193138071326 5992
    ..\\..\\EPOC32\\INCLUDE\\e32std.h parse error before `,' helloworld line 5042 1193138071326 5941
    ..\\..\\EPOC32\\INCLUDE\\e32std.h parse error before `,' helloworld line 5197 1193138071326 5970
    ..\\..\\EPOC32\\INCLUDE\\e32std.h parse error before `,' helloworld line 5381 1193138071341 5998
    ..\\..\\EPOC32\\INCLUDE\\e32std.h parse error before `(' helloworld line 4475 1193138071326 5913
    ..\\..\\EPOC32\\INCLUDE\\e32std.h parse error before `)' helloworld line 4517 1193138071326 5918
    ..\\..\\EPOC32\\INCLUDE\\e32std.h parse error before `)' helloworld line 4620 1193138071326 5920
    ..\\..\\EPOC32\\INCLUDE\\e32std.h parse error before `)' helloworld line 5000 1193138071326 5921
    ..\\..\\EPOC32\\INCLUDE\\e32std.h parse error before `{' helloworld line 5463 1193138071341 6007

    =========================================================

    Please, hope you can help me...
    Thank you,
    Adriano

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: ARMI - THUMB

    If you can show us what are the Include folders you have in your Build IDE...
    if you use commandline then can you post the MMP File.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122

    Re: ARMI - THUMB

    Check that there are no syntax errors in your code before your #include directives.

    Lauri

  4. #4
    Registered User
    Join Date
    Oct 2007
    Posts
    10

    Re: ARMI - THUMB

    Quote Originally Posted by skumar_rao View Post
    If you can show us what are the Include folders you have in your Build IDE...
    if you use commandline then can you post the MMP File.
    Thank for answering!!!
    It's the "HelloWorld" program, the MMP file is this

    =================================================
    // HelloWorld.mmp
    //
    // Copyright (c) 2000 Symbian Ltd. All rights reserved.
    //

    // using relative paths for sourcepath and user includes

    TARGET HelloWorld.app
    TARGETTYPE app
    UID 0x100039CE 0X10008ACE
    VENDORID 0x70000001
    TARGETPATH \system\apps\HelloWorld
    SOURCEPATH .
    SOURCE HelloWorld_Main.cpp
    SOURCE HelloWorld_Application.cpp
    SOURCE HelloWorld_Document.cpp
    SOURCE HelloWorld_AppUi.cpp
    SOURCE HelloWorld_AppView.cpp
    USERINCLUDE .
    SYSTEMINCLUDE \epoc32\include
    SYSTEMINCLUDE \epoc32\include\techview

    RESOURCE HelloWorld.rss
    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib
    =====================================================

    I was wondering... shall I change the gcc with the symbian-gcc???

    cheers

  5. #5
    Registered User
    Join Date
    Oct 2007
    Posts
    10

    Re: ARMI - THUMB

    Quote Originally Posted by laa-laa View Post
    Check that there are no syntax errors in your code before your #include directives.

    Lauri
    No, actually it's the helloworld already in there
    Do you think it's matter of the compiler gcc???

    cheers
    Adriano

  6. #6
    Registered User
    Join Date
    Oct 2007
    Posts
    10

    Re: ARMI - THUMB

    Please, answer!!!

    Quote Originally Posted by adrianogalati View Post
    Thank for answering!!!
    It's the "HelloWorld" program, the MMP file is this

    =================================================
    // HelloWorld.mmp
    //
    // Copyright (c) 2000 Symbian Ltd. All rights reserved.
    //

    // using relative paths for sourcepath and user includes

    TARGET HelloWorld.app
    TARGETTYPE app
    UID 0x100039CE 0X10008ACE
    VENDORID 0x70000001
    TARGETPATH \system\apps\HelloWorld
    SOURCEPATH .
    SOURCE HelloWorld_Main.cpp
    SOURCE HelloWorld_Application.cpp
    SOURCE HelloWorld_Document.cpp
    SOURCE HelloWorld_AppUi.cpp
    SOURCE HelloWorld_AppView.cpp
    USERINCLUDE .
    SYSTEMINCLUDE \epoc32\include
    SYSTEMINCLUDE \epoc32\include\techview

    RESOURCE HelloWorld.rss
    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib
    =====================================================

    I was wondering... shall I change the gcc with the symbian-gcc???

    cheers

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: ARMI - THUMB

    I am not sure if I understand your comment correctly. However yes, you should try using the GCC supplied with the SDK.

Similar Threads

  1. building for thumb vs armi
    By lucidness in forum Symbian
    Replies: 2
    Last Post: 2006-05-25, 17:54
  2. Series 60 - THUMB or ARMI ?
    By dathom in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-05-15, 16:48
  3. What is ARMI and THUMB
    By fuadmalikov in forum Symbian
    Replies: 3
    Last Post: 2004-02-13, 11:48
  4. Error building for ARMI or THUMB
    By kkramhoeft in forum Symbian
    Replies: 1
    Last Post: 2003-04-28, 05:21
  5. cannot build for other than ARMI and THUMB
    By putzmittel in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2003-02-21, 10:44

Posting Permissions

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