×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    3

    Series 60 SDK for Symbian v0.9 - Cannot build binaries

    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.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    36

    RE: Series 60 SDK for Symbian v0.9 - Cannot build binaries

    try "abld build armi urel"

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    13

    RE: Series 60 SDK for Symbian v0.9 - Cannot build binaries

    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

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    6

    RE: Series 60 SDK for Symbian v0.9 - Cannot build binaries

    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.

  5. #5
    Registered User
    Join Date
    Dec 2006
    Posts
    10

    Smile Re: Series 60 SDK for Symbian v0.9 - Cannot build binaries

    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 :)

  6. #6
    Registered User
    Join Date
    Jan 2007
    Posts
    3

    Re: Series 60 SDK for Symbian v0.9 - Cannot build binaries

    Krisha2K

    Thank you so much for your post. I had the the exact problem and your suggestion fixed it (I used dos2unix for conversion)

Posting Permissions

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