×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    Strange THUMB build problem

    Hello,

    I have setup the S60_2nd_FP2 SDK on two different machines. One running XP SP2 the other W2K SP4.

    The installations are absolutely identical. I have checked this with a diff application, also the Perl version and JRE matches exactely and the files in "Program Files/Shared Files/Symbian" are identical.

    On the XP machine I can build e.g the HelloWorld example fine for thumb. On the W2K machine I get immediately various syntax errors e.g in "e32std.inl" I have found out that one point of the problem are defines over multiple lines. Since everything runs fine on XP in the same constallation I have no idea what else could went wrong.

    Any ideas?

    Bernhard

  2. #2
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985
    Check your environment variables, especially the PATH.

    Btw, what is exactly the error message that you have?

    Antony

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    5
    Originally posted by antonypr
    Check your environment variables, especially the PATH.

    Btw, what is exactly the error message that you have?

    Antony
    I can not find problems with the environment variables. Path contains correct setting for the Symbian tools and Perl. What else should I be aware?

    It's a extremely long error list. Starting with

    In file included from ..\\..\\EPOC32\\INCLUDE\\coeccntx.h:9,
    from .\\HelloWorld.h:28,
    from .\\Helloworld_application.cpp:14:
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: `AType' was not declared in this scope
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: `AData' was not declared in this scope
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: `AData' was not declared in this scope
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: template argument 1 is invalid
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: stray '\' in program
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4463: warning: ANSI C++ forbids declaration `AName' with no type
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4463: `AType' was not declared in this scope
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4463: stray '\' in program
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4464: `AData' was not declared in this scope
    ..\\..\\EPOC32\\INCLUDE\\e32std.h:4464: `AData' was not declared in this scope
    ...............................

    The erorr happens by the #define DECLARE_ROM_ARRAY
    If I put this define on a single line the build works till the next define spanning over multiple lines. (CAPABILITY_AS_TUINT8)

    Since the build works on the other machine with exactely the same include files I'm confused.

    Bernhard

  4. #4
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985
    What happen if you check the gcc version on both PC using the following command?

    gcc --version

    Do both PC display the same GCC version? If you have more than one GCC compiler on W2K machine, the Symbian build tool might pick up the wrong compiler. That's what I can think of at the moment.

    Antony

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    5
    Originally posted by antonypr
    What happen if you check the gcc version on both PC using the following command?

    gcc --version
    Antony
    I have already checked this issue because this was also to me the only reasonable explanation.

    However both machines have the version
    2.9-psion-98r2
    installed.

    Bernhard

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    5
    I'm obviously not the only one with this problem.

    http://discussion.forum.nokia.com/fo...ht=%2Athumb%2A

    Bernhard

  7. #7
    Registered User
    Join Date
    Mar 2003
    Posts
    5
    I'm proud to annouce that I have found the problem. On the W2K machine a newer cygwin1.dll was installed in the System32 directory. After removing this dll everything works fine.

    I can't believe such an installer misbehaviour
    :-((

    Bernhard

  8. #8
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    54
    thanx fagott

    i had this problem long back and the solution i used was to get XP on it. :)

  9. #9
    Registered User
    Join Date
    Dec 2005
    Posts
    2

    Thumbs up Re: Strange THUMB build problem

    Thanks for the solution. It helped me a lot.

    Regards.

  10. #10
    Registered User
    Join Date
    Sep 2006
    Posts
    1

    Re: Strange THUMB build problem

    Thanks a lot for the post.

  11. #11
    Super Contributor
    Join Date
    Mar 2003
    Posts
    580

    Talking Re: Strange THUMB build problem

    Quote Originally Posted by fagott
    I'm proud to annouce that I have found the problem. On the W2K machine a newer cygwin1.dll was installed in the System32 directory. After removing this dll everything works fine.

    I can't believe such an installer misbehaviour
    :-((

    Bernhard
    FAGOTT, you're THE MAN WHO DID IT!
    Thank you very much!

Posting Permissions

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