You Are Here:

Community: Developer Discussion Boards

#1 Old Strange THUMB build problem - 2005-04-05, 20:14

Join Date: Mar 2003
Posts: 5
fagott
Offline
Registered User
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
Reply With Quote

#2 Old 2005-04-06, 05:56

Join Date: May 2003
Posts: 984
Location: Vancouver, Canada
antonypr's Avatar
antonypr
Offline
Forum Nokia Champion
Check your environment variables, especially the PATH.

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

Antony
Reply With Quote

#3 Old 2005-04-06, 08:29

Join Date: Mar 2003
Posts: 5
fagott
Offline
Registered User
Quote:
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
Reply With Quote

#4 Old 2005-04-06, 09:37

Join Date: May 2003
Posts: 984
Location: Vancouver, Canada
antonypr's Avatar
antonypr
Offline
Forum Nokia Champion
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
Reply With Quote

#5 Old 2005-04-06, 09:48

Join Date: Mar 2003
Posts: 5
fagott
Offline
Registered User
Quote:
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
Reply With Quote

#6 Old 2005-04-06, 09:53

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

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

Bernhard
Reply With Quote

#7 Old 2005-04-06, 10:53

Join Date: Mar 2003
Posts: 5
fagott
Offline
Registered User
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
Reply With Quote

#8 Old 2005-04-12, 09:55

Join Date: Oct 2004
Posts: 54
bullzi's Avatar
bullzi
Offline
Regular Contributor
thanx fagott

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

#9 Old Thumbs up Re: Strange THUMB build problem - 2006-01-12, 09:59

Join Date: Dec 2005
Posts: 2
pradeep_agrawal
Offline
Registered User
Thanks for the solution. It helped me a lot.

Regards.
Reply With Quote

#10 Old Re: Strange THUMB build problem - 2006-09-01, 05:32

Join Date: Sep 2006
Posts: 1
iryanmm
Offline
Registered User
Thanks a lot for the post.
Reply With Quote

#11 Old Talking Re: Strange THUMB build problem - 2006-11-17, 20:43

Join Date: Mar 2003
Posts: 572
cassioli's Avatar
cassioli
Offline
Super Contributor
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!
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2010 Nokia