You Are Here:

Community: Developer Discussion Boards

#1 Old Series 60 SDK for Symbian v0.9 - Cannot build binaries - 2002-07-12, 11:10

Join Date: Mar 2003
Posts: 3
theLauronen
Offline
Registered User
I cannot build the example binaries for other platforms than WINS.
When I run
'abld build thumb urel'
in the group directory of some example, it goes ok for a few nmakes and then displays:

nmake -nologo -s -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\GRAPHICS\GROUP\GRAPHICS\THUMB\GRAPHICS.THUMB" UREL
In file included from ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32base.h:8,
from ..\\..\\..\\..\\..\\..\\SYMBIAN\\6.1\\SERIES60\\SERIES60EX\\HELPERFUNCTIONS\\bitmapmethods.h:12,
from ..\\..\\..\\..\\..\\..\\SYMBIAN\\6.1\\SERIES60\\SERIES60EX\\HELPERFUNCTIONS\\Bitmapmethods.cpp:3:
..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AType' was not declared in this scope
..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope
..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope
..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: template argument 1 is invalid
..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: stray '\' in program ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: warning: ANSI C++ forbids declaration `AName' with no type
..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: `AType' was not declared in this scope
..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: stray '\' in program

The error messages continue for several dozens of rows in a similar fashion and in the end says:

NMAKE : fatal error U1077: 'thumb-epoc-pe-gcc' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\nmake.exe"' : return code '0x2'

Stop.
nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\GRAPHICS\GROUP\THUMB.make" FINAL CFG=UREL VERBOSE=-s

What could this mean? The build with 'abld build wins urel' goes just fine.
Reply With Quote

#2 Old RE: Series 60 SDK for Symbian v0.9 - Cannot build binaries - 2002-07-25, 14:42

Join Date: Mar 2003
Posts: 36
torpo
Offline
Registered User
try "abld build armi urel"
Reply With Quote

#3 Old RE: Series 60 SDK for Symbian v0.9 - Cannot build binaries - 2002-09-07, 21:32

Join Date: Mar 2003
Posts: 13
finesoft
Offline
Registered User
I'm also getting a similar error when doing
'abld build thumb urel' or 'abld build armi urel'
does anybody knows the reason for this?

In file included from ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\apparc.h:10,
from ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\eikapp.h:10,
from ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\aknapp.h:15,
from ..\\..\\TESTE4\\INC\\Teste4App.h:17,
from ..\\..\\TESTE4\\SRC\\Teste4app.cpp:15:
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AType' was not declared in this scope
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: template argument 1 is invalid
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: stray '\' in program
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: warning: ANSI C++ forbids declaration `AName' with no type
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: `AType' was not declared in this scope
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: stray '\' in program
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3014: `AData' was not declared in this scope
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3014: `AData' was not declared in this scope
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3014: template argument 1 is invalid
..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3014: `AData' was not declared in this scope

...

Tks
Armindo
Reply With Quote

#4 Old RE: Series 60 SDK for Symbian v0.9 - Cannot build binaries - 2002-09-09, 08:16

Join Date: Mar 2003
Posts: 6
nikohaatainen
Offline
Registered User
Is it possible that you have another version of gcc installed in your system (for example cygwin tools or similar)? If the gcc from other system is in path before gcc from series60 sdk's gcc you'll have problems. At least I did :)

Make sure that "D:\Symbian\6.1\Shared\epoc32\gcc\bin" (replace D: with correct diskname) is before (for example) "d:\cygwin\bin" in your PATH environment variable.

"abld build urel wins" will work ok because it uses msvc's compiler to build the project.
Reply With Quote

#5 Old Smile Re: Series 60 SDK for Symbian v0.9 - Cannot build binaries - 2006-12-15, 01:51

Join Date: Dec 2006
Posts: 6
Send a message via ICQ to krisha2k
krisha2k
Offline
Registered User
sorry for pushing this old thread, but when you search on google for this error, it pops up as second result...

this worked for me:
convert e32std.h to UNIX fileformat - also other files when compiler complains about it later :)
Reply With Quote

#6 Old Re: Series 60 SDK for Symbian v0.9 - Cannot build binaries - 2007-01-19, 19:06

Join Date: Jan 2007
Posts: 3
IntelliJani
Offline
Registered User
Krisha2K

Thank you so much for your post. I had the the exact problem and your suggestion fixed it (I used dos2unix for conversion)
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