×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    Jul 2005
    Posts
    95

    carbide.c++ release build

    Hi friends,

    ** Request to Nokia people to look into the problem as I can see lots of posts with same problem


    I am getting following error while trying to build a Nokia S60 3rd Edition project for release (not for emulator/debug). I am using Carbide c++ express IDE.

    configuration of my system is
    Windows XP (SP2)
    1 GB RAM
    intel 4 2.8 GH processor.

    Nokia S60 3rd edition SDK for Symbian is installed on: F:\Symbian\9.1\S60_3rd
    carbide installation path is: F:\Program Files\Carbide
    CLS ARM tool chain is installed on: F:\Program Files\CSL Arm Toolchain



    ///////////////ERROR STARTS//////////////////////////////////////////////////////


    **** Full rebuild of configuration S60 3.0 Phone (GCCE) Release for project MyApp ****

    make -k clean all
    del /s/q .\src\AddBuddyManuallyContainer.o .\src\AddBuddyManuallyView.o .\src\MyApp.o .\src\MyAppAppContainer.o .\src\MyAppAppUi.o .\src\MyAppAppView.o .\src\MyAppApplication.o .\src\MyAppDocument.o .\src\HTTPEngine.o .\src\LocationEngine.o .\src\PhoneContactsContainer.o .\src\PhoneContactsEngine.o .\src\PhoneContactsView.o \Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\MyApp.mif F:\leo\Symbian\workspace\MyApp\sis\MyApp.sis F:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\MyApp.rsc F:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\private\10003a3f\apps\MyApp_reg.rsc F:\Symbian\9.1\S60_3rd\epoc32\release\GCCE\UREL\MyApp.exe
    Could Not Find F:\leo\Symbian\workspace\MyApp\S60 3.0 Phone (GCCE) Release\src\AddBuddyManuallyContainer.o
    Deleted file - F:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\MyApp.mif
    Could Not Find F:\leo\Symbian\workspace\MyApp\sis\MyApp.sis
    Could Not Find F:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\MyApp.rsc
    Could Not Find F:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\private\10003a3f\apps\MyApp_reg.rsc
    Could Not Find F:\Symbian\9.1\S60_3rd\epoc32\release\GCCE\UREL\MyApp.exe
    ' '
    'Building file: ../gfx/MyApp.mifdef'
    'Invoking: MIF Compiler'
    perl -S epocmifdef.pl -p"F:\leo\Symbian\workspace\MyApp\" -hF:\Symbian\9.1\S60_3rd\EPOC32\include\MyApp.mbg -o"/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/MyApp.mif" ../gfx/MyApp.mifdef
    Reading source list file: ../gfx/MyApp.mifdef.txt
    Checking: F:\leo\Symbian\workspace\MyApp\gfx\qgn_menu_MyApp.svg
    Choosing...
    Loading mif icons...
    Loading file: F:\leo\Symbian\workspace\MyApp\gfx\qgn_menu_MyApp.svg
    Writing mif: /Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/MyApp.mif
    Writing mbg...F:\Symbian\9.1\S60_3rd\EPOC32\include\MyApp.mbg
    'Finished building: ../gfx/MyApp.mifdef'
    ' '
    'Building file: ../data/MyApp.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\data" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I- -I"F:\Symbian\9.1\S60_3rd\epoc32\include" -I"F:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I"" -o"F:/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/MyApp.rsc" -hF:\Symbian\9.1\S60_3rd\EPOC32\include\MyApp.rsg ../data/MyApp.rss

    ..\data\MyApp.rss(159) : Warning: (047) the STRUCT that this resource is based on contains a STRUCT[] data member which has not been used in this resource, the missing element is: 'view_list'
    F:\\Symbian\\9.1\\S60_3rd\\epoc32\\include\\avkon.rh(220) : Warning: (045) the following label is used but has not been declared: R_AVKON_LIST_HEADING_PANE
    F:\\Symbian\\9.1\\S60_3rd\\epoc32\\include\\avkon.rh(823) : Warning: (045) the following label is used but has not been declared: R_AKN_SELECTION_LIST_DIALOG
    'Finished building: ../data/MyApp.rss'
    ' '
    'Building file: ../data/MyApp_reg.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\data" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I"F:\leo\Symbian\workspace\MyApp\inc" -I- -I"F:\Symbian\9.1\S60_3rd\epoc32\include" -I"F:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I"" -o"F:/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/private/10003a3f/apps/MyApp_reg.rsc" -hF:\Symbian\9.1\S60_3rd\EPOC32\include\MyApp_reg.rsg ../data/MyApp_reg.rss

    ..\data\MyApp_reg.rss(24) : Warning: (047) the STRUCT that this resource is based on contains a STRUCT[] data member which has not been used in this resource, the missing element is: 'service_list'
    'Finished building: ../data/MyApp_reg.rss'
    ' '
    'Building file: ../src/AddBuddyManuallyContainer.cpp'
    'Invoking: GCCE Compiler'
    arm-none-symbianelf-g++.exe -c -pipe -mapcs -nostdinc -x c++ -march=armv5t -fexceptions -mfloat-abi=soft -D_DEBUG -D_UNICODE -D__GCCE__ -D__SYMBIAN32__ -D__EPOC32__ -D__MARM__ -D__EABI__ -D__MARM_ARMV5__ -D__EXE__ -D__SUPPORT_CPP_EXCEPTIONS__ -D__SERIES60_30__ -D__SERIES60_3X__ -D__PRODUCT_INCLUDE__="F:\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "F:\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -B"F:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -B"F:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\data" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\Symbian\9.1\S60_3rd\epoc32\include" -I "F:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "" -o src/AddBuddyManuallyContainer.o ../src/AddBuddyManuallyContainer.cpp
    cc1plus.exe: f:\\Program Files\\CSL Arm Toolchain\\bin/../lib/gcc/arm-none-symbianelf/3.4.3/: Permission denied
    cc1plus.exe: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    Send email to arm-gnu@codesourcery.com for instructions.
    make: *** [src/AddBuddyManuallyContainer.o] Error 1
    'Building file: ../src/AddBuddyManuallyView.cpp'
    'Invoking: GCCE Compiler'
    arm-none-symbianelf-g++.exe -c -pipe -mapcs -nostdinc -x c++ -march=armv5t -fexceptions -mfloat-abi=soft -D_DEBUG -D_UNICODE -D__GCCE__ -D__SYMBIAN32__ -D__EPOC32__ -D__MARM__ -D__EABI__ -D__MARM_ARMV5__ -D__EXE__ -D__SUPPORT_CPP_EXCEPTIONS__ -D__SERIES60_30__ -D__SERIES60_3X__ -D__PRODUCT_INCLUDE__="F:\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "F:\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -B"F:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -B"F:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\data" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\leo\Symbian\workspace\MyApp\inc" -I "F:\Symbian\9.1\S60_3rd\epoc32\include" -I "F:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "" -o src/AddBuddyManuallyView.o ../src/AddBuddyManuallyView.cpp
    cc1plus.exe: f:\\Program Files\\CSL Arm Toolchain\\bin/../lib/gcc/arm-none-symbianelf/3.4.3/: Permission denied
    cc1plus.exe: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.

    Send email to arm-gnu@codesourcery.com for instructions.
    make: *** [src/PhoneContactsView.o] Error 1
    'Building file: sis/MyApp.pkg'
    'Invoking: CreateSis (Installation File Generator)'
    createsis create -pass DefaultPassword "sis/MyApp.pkg" F:/leo/Symbian/workspace/MyApp/sis/MyApp.sis
    Processing sis/MyApp.pkg...
    sis/MyApp.pkg(21) : error: file I/O fault.
    ERROR! Failed at makesis "sis/MyApp.pkg"
    make: *** [F:/leo/Symbian/workspace/MyApp/sis/MyApp.sis] Error 1
    make: Target `all' not remade because of errors.
    Build complete for project MyApp

    /////////////////////////////ERROR ENDS/////////////////////////////////////////

    Would like to know the cause/solution of above error.

    Please advice.

    Best regards,
    Raza Sayed

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: carbide.c++ release build

    Hi,

    Seems you have uncovered a bug in the compiler itself. The error message also contains information on how to report the error, pls follow those instructions.

    Code:
    Please submit a full bug report,
    with preprocessed source if appropriate.
    Send email to arm-gnu@codesourcery.com for instructions.
    Most importantly the folks over at codesourcery will need the code that causes the crash. Pls submit that, sufficiently cleaned up to protect any of your IPR that you consider important but so that the error still occurs.

    It would be nice if you posted a follow-up to the issue if there is a resolution.

  3. #3
    Regular Contributor
    Join Date
    Jul 2005
    Posts
    95

    Re: carbide.c++ release build

    Hi mitts ,

    Thanks for the reply . Have already submmited the complete build log to arm-gnu@codesourcery.com . Will surely post a follow-up to this issue in case theres a resolution .

    Thanks again

  4. #4
    Regular Contributor
    Join Date
    Jul 2005
    Posts
    95

    Thumbs up Issue Resolved !!! :) .

    Hello friends,

    The issue I have been facing with building a release build of my project has now been resolved. .
    And here I am , as promised earlier , posting the resolution to the problem.
    I received a response from Codesourcery saying that my build log does not show a direct relation to any compiler error and that I should contact my IDE vendor.However,the reason I was getting the release build errors was because I did not have the arm-none-symbianelf-g++.exe package installed on my machine as pointed out by timm-ah on the following thread :
    http://discussion.forum.nokia.com/fo...399#post202399
    I downloaded this package from :http://www.codesourcery.com/gnu_tool.../download.html , installed it and restarted my machine. And it works now !!

    Thanks a lot to everyone for their invaluable help . Forum Nokia rocks !!! .
    Last edited by razas; 2006-04-25 at 07:22.

  5. #5
    Registered User
    Join Date
    May 2006
    Posts
    24

    Re: carbide.c++ release build

    Hello,
    I have SDK 3rd ed too and use Carbide C++ 1.0. In the previous editions of the SDK I was using the ARMI Release. But now I tried rebuilding my project under 3rd ed and there is no ARMI Release. Does anyone know where this can be downloaded from? I understand the ARMI compiler is a separate download from the SDK. I've tried looking all over the web for downloading this but I'm unsuccessful. It would be great if someone already knows the link to this download.
    Thanks!

  6. #6
    Regular Contributor
    Join Date
    Jul 2005
    Posts
    95

    Re: carbide.c++ release build

    Hello srigans1 ,

    To create a release build of a Series 60 third edition project in Carbide.C++ Express v1.0 you need to do the following steps.

    Step 1)From the Project menu select Properties.

    Step 2) Then select C/C++ Build option in the left pane.

    Step 3) Then on the right hand side you will find an option called Configuration which itself will have two options 1) S60 3.0 Phone Emulator Debug which is used for building a debug version and 2) S60 3.0 Phone (GCCE) Release for building a release version . To build for device select S60 3.0 Phone (GCCE) Release option and press ok.

    You can then build your project as usual and a release version of your project will be created.
    But , in order to build a release version of your project on S60 third edition you need to have the CSL Toolchain installed.
    This is supplied as part of the 3rd Edition SDK package so you dont have to download it yourself.
    You may find it under Start->Programs->S60 Developer Tools->3rd Edition SDK-> 1.0->Tools->CSL Toolchain (GCCE) Install .
    If you dont have the S60 Developer tools under Start->Programs then simply search for CSL Toolchain (GCCE) Install in your S60 third edition SDK folder.

    Hope this does it for you.

    Regards,

    Raza

  7. #7
    Registered User
    Join Date
    Jul 2006
    Posts
    1

    Re: carbide.c++ release build

    Hi,
    when building 3.0 GCCE release, I get the following strange post link step:

    ------------------------------------------------------------------
    'Invoking: Post linker'
    elf2e32.exe --targettype=exe --libpath="C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB" --capability=ReadUserData+WriteUserData+LocalServices+UserEnvironment --uid1=0x10000079 --uid2=0x100039CE --uid3=0xAA72E949 --sid=0xAA72E949 --vid=0x00000000 --elfinput="BookingApp.sym" --defoutput=BookingApp{000a0000}.def --dso=C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\BookingApp.dso --output="C:/Symbian/9.1/S60_3rd_MR/epoc32/release/GCCE/UREL/BookingApp.exe" --linkas=BookingApp{000a0000}[0xAA72E949].exe
    UID1 should be set to 0x1000007A for EXE Generation
    ----------------------------------------------------------------

    Note that I'm building for targettype exe but the uid1 flag corresponds to
    targettype app (0x10000079). The application then fails to start on the device, with error message: "Menu: Feature not supported".
    The linker warning is correct, the uid1 should be 0x1000007A,
    but can I change this?
    The project was originally imported as targettype app but
    later changed to exe in Properties->Build Settings
    (the required changes are also done in source and project files).
    Shouldn't this automatically change the uid1 flag in the post link step?
    Is this a bug related to Carbide or have I missed to edit somewhere in
    the properties?
    Thanks,
    LB

  8. #8
    Registered User
    Join Date
    May 2006
    Location
    Leiden, NL
    Posts
    11

    Re: carbide.c++ release build

    Larbre,
    I'm experiencing the same problem, trying to port example btdiscovery from 2nd ed to 3rd edition:

    Code:
    elf2e32.exe --targettype=exe --libpath="C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB" --capability=LocalServices --uid1=0x10000079 --uid2=0x100039ce --uid3=0xA95D6CCD --sid=0xA95D6CCD --vid=0x00000000  --elfinput="btdiscovery.sym" --defoutput=btdiscovery{000a0000}.def --dso=C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\btdiscovery.dso --output="C:/Symbian/9.1/S60_3rd_MR/epoc32/release/GCCE/UREL/btdiscovery.exe" --linkas=btdiscovery{000a0000}[0xA95D6CCD].exe
    UID1 should be set to 0x1000007A for EXE Generation
    I suspect the solution to be in
    "S60_Platform_Porting_from_2nd_to_3rd_Edition_v1_1_en.pdf".
    I'll work on it and let you know if I can get some result...

    Regards,
    Michele

  9. #9
    Registered User
    Join Date
    May 2006
    Location
    Leiden, NL
    Posts
    11

    Re: carbide.c++ release build: to Larbre

    Larbre,
    I did something more.
    The problem rises if you import the mmp (or inf) directly from the example folder of Symbian SDK 2nd edition.
    What I did was:
    - backup the original example folder
    - change the mmp file accordingly to the 3rd ed requirements (*.exe, mif, *_reg.rsg, aplication ids, capabilities, and so on...), see manual
    - import the mmp and apply a few more changes about file names and file mifdef, see manual

    Compile and build performs smoothly then. I installed the application with the relevant capabilities, but still it doesn't start. I got a "System error" message.
    I have to look into it. I'll let you know.

    Michele

  10. #10
    Registered User
    Join Date
    May 2006
    Location
    Leiden, NL
    Posts
    11

    Re: carbide.c++ release build

    I did it.
    Tell me if you need help.

    Michele

  11. #11
    Registered User
    Join Date
    Sep 2006
    Posts
    8

    Re: carbide.c++ release build

    hello
    I have use visual studio for past devlopment now l m using carbide c++ for development and i have successfully imported my projects and also able to run it in debug build but not able to make release build and I m able to successfully build other application
    I m also not able to dload toolchain mention above !!!
    I don't know what is use of it and I m not able to dload it from link
    http://www.codesourcery.com/gnu_tool.../download.html
    can u just send me this package
    my id smit9612@yahoo.com
    pls reply me it is very urgent
    smitesh

  12. #12
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: carbide.c++ release build

    The ARM toolchain is included with the S60 3.0 SDK so no need to download anything, just check you SDK installation guide.

Similar Threads

  1. Latest Carbide.vs and problems with ARMI build
    By mhakkara in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-04-05, 10:17
  2. problem in release build
    By 3c in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 8
    Last Post: 2006-03-24, 14:30
  3. Regarding GSOAP and Release build
    By sajain in forum Symbian
    Replies: 0
    Last Post: 2005-05-09, 23:08
  4. Build problem
    By kirangullapalli in forum Symbian
    Replies: 1
    Last Post: 2004-10-19, 11:07
  5. armi build not working
    By lemody in forum Symbian
    Replies: 0
    Last Post: 2003-06-14, 15:04

Posting Permissions

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