×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    11

    Error Carbide C++ creating the SIS file

    I am using s60 3rd and Carbide.C++ Express 1.1 .
    I build for the emulator successfully.
    However I get errors when I try to "Build the Application for a Target Device".

    In Carbide C++ I select:
    Project>Active Build Configuration>S60 3.1 Phone (GCCE) Debug [S60_3rd_FP1]

    I have problems in 'GCCE Linker' (Error1) and in 'Building file: sis/BatteryC_EKA2.pkg' (Error2). I don´t know the problem.

    PHP Code:
    **** Full rebuild of configuration S60 3.1 Phone (GCCEDebug [S60_3rd_FP1] for project BatteryC ****

    make -k all 
    'Building file: ../src/BatteryC.cpp'
    'Invoking: GCCE Compiler'
    arm-none-symbianelf-g++.exe -MD --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_31__ -D__SERIES60_3X__ -D__PRODUCT_INCLUDE__=\"C:\Symbian\9.2\S60_3rd_FP1\epoc32\include\variant\Symbian_OS_v9.2.hrh\" -include "C:\Symbian\9.2\S60_3rd_FP1\EPOC32\INCLUDE\GCCE\GCCE.h" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "C:\Archivos de programa\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -I "C:\Documents and Settings\ialonso\Escritorio\TrabajoAlonso\workspace\BatteryC\inc" -I "C:\Symbian\9.2\S60_3rd_FP1\epoc32\include" -I "C:\Symbian\9.2\S60_3rd_FP1\epoc32\include\variant" -I "C:\Archivos de programa\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o src/BatteryC.o ../src/BatteryC.cpp
    'Generated dependency file src/BatteryC.d'
    'Finished building: ../src/BatteryC.cpp'
    ' '

    'Invoking: GCCE Linker'
    arm-none-symbianelf-ld.exe --check-sections --no-undefined --no-allow-shlib-undefined -nostdlib -shared --entry _E32Startup -Tdata 0x400000 -Ttext 0x8000 --target1-abs --discard-locals --default-symver -u_E32Startup -L"
    C:\Archivos de programa\CSL Arm Toolchain\arm-none-symbianelf\lib" -L"C:\Archivos de programa\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3"  -soname "BatteryC{000a0000}.exe" "C:\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\UREL\eexe.lib"  C:\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\LIB\dfpaeabi.dso  C:\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\LIB\drtaeabi.dso  C:\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\LIB\dfprvct2_2.dso  C:\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\LIB\scppnwdl.dso  C:\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\LIB\drtrvct2_2.dso  C:\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\ARMV5\UREL\usrt2_2.lib -o "C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\GCCE\UDEB\BatteryC.sym" -Map C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\GCCE\UDEB\\BatteryC.exe.map  ./src/BatteryC.o   "C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\euser.lib C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\Etel3rdParty.lib C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\esock.lib C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\insock.lib"  C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\LIB\euser.dso  -lsupc++ -lgcc
    arm-none-symbianelf-ld.exe: C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\euser.lib C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\Etel3rdParty.lib C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\esock.lib C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\insock.lib: No such file: Invalid argument
    make: *** [BatteryC.sym] Error 1

    'Building file: sis/BatteryC_EKA2.pkg'
    'Invoking: CreateSis (Installation File Generator)'
    createsis create -pass DefaultPassword "
    sis/BatteryC_EKA2.pkg" C:/Documents
    Processing sis/BatteryC_EKA2.pkg...
    Created sis/BatteryC_EKA2-tmp.SIS
    Extracting info. from sis/BatteryC_EKA2.pkg ...
    No key/cert found in sis/BatteryC_EKA2.pkg.
    making key-gen.key, cert-gen.cer ...
    Generating private key...
    Created certificate cert-gen.cer
    A DSA private key has been generated with a keylength of 1024 bits
    Signing sis/BatteryC_EKA2-tmp.SIS with cert-gen.cer and key-gen.key -> C:/Documents
    'Finished building: sis/BatteryC_EKA2.pkg'
    ' '

    'Building file: sis/BatteryC_EKA2.pkg'
    'Invoking: CreateSis (Installation File Generator)'
    createsis create -pass DefaultPassword "
    sis/BatteryC_EKA2.pkg" and
    Processing sis/BatteryC_EKA2.pkg...
    Created sis/BatteryC_EKA2-tmp.SIS
    Extracting info. from sis/BatteryC_EKA2.pkg ...
    No key/cert found in sis/BatteryC_EKA2.pkg.
    making key-gen1.key, cert-gen1.cer ...
    Generating private key...
    Created certificate cert-gen1.cer
    A DSA private key has been generated with a keylength of 1024 bits
    Signing sis/BatteryC_EKA2-tmp.SIS with cert-gen1.cer and key-gen1.key -> and
    'Finished building: sis/BatteryC_EKA2.pkg'
    ' '


    'Building file: sis/BatteryC_EKA2.pkg'
    'Invoking: CreateSis (Installation File Generator)'
    createsis create -pass DefaultPassword "
    sis/BatteryC_EKA2.pkg" Settings/ialonso/Escritorio/TrabajoAlonso/workspace/BatteryC/sis/BatteryC_EKA2.sis
    Processing sis/BatteryC_EKA2.pkg...
    Created sis/BatteryC_EKA2-tmp.SIS
    Extracting info. from sis/BatteryC_EKA2.pkg ...
    No key/cert found in sis/BatteryC_EKA2.pkg.
    making key-gen2.key, cert-gen2.cer ...
    Generating private key...
    Created certificate cert-gen2.cer
    A DSA private key has been generated with a keylength of 1024 bits
    Signing sis/BatteryC_EKA2-tmp.SIS with cert-gen2.cer and key-gen2.key -> Settings/ialonso/Escritorio/TrabajoAlonso/workspace/BatteryC/sis/BatteryC_EKA2.sis
    file I/O fault, cannot create Settings/ialonso/Escritorio/TrabajoAlonso/workspace/BatteryC/sis/BatteryC_EKA2.sis.
    ERROR! Failed at signsis -s "
    sis/BatteryC_EKA2-tmp.SIS" "Settings/ialonso/Escritorio/TrabajoAlonso/workspace/BatteryC/sis/BatteryC_EKA2.sis" "cert-gen2.cer" "key-gen2.key" DefaultPassword 
    In Window>Show View>Other>PDE Runtime>Error Log I have this message:
    "Error Category com.nokia.carbide.cpp not found for view com.nokia.cdt.debug.cw.symbian.ui.SymbianOSView. This view added to 'Other' category.
    "

    Thanks.

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Error Carbide C++ creating the SIS file

    Your workspace's path includes space caracters ("Documents And Settings"). Set the workspace to e.g. C:\MyNewWorkspace and import the project again.

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    11

    Re: Error Carbide C++ creating the SIS file

    Thanks Itomuta.

    I have resolve that problem and the .sis file is created, but I have an unclear error.


    **** Incremental build of configuration S60 3.1 Phone (GCCE) Debug [S60_3rd_FP1_5] for project konsole ****

    make -k all
    'Invoking: GCCE Linker'
    arm-none-symbianelf-ld.exe --check-sections --no-undefined --no-allow-shlib-undefined -nostdlib -shared --entry _E32Startup -Tdata 0x400000 -Ttext 0x8000 --target1-abs --discard-locals --default-symver -u_E32Startup -L"C:\Archivos de programa\CSL Arm Toolchain\arm-none-symbianelf\lib" -L"C:\Archivos de programa\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3" -soname "konsole{000a0000}.exe" "C:\Symbian\9.2\S60_3rd_FP1_5\EPOC32\RELEASE\ARMV5\UREL\eexe.lib" C:\Symbian\9.2\S60_3rd_FP1_5\EPOC32\RELEASE\ARMV5\LIB\dfpaeabi.dso C:\Symbian\9.2\S60_3rd_FP1_5\EPOC32\RELEASE\ARMV5\LIB\drtaeabi.dso C:\Symbian\9.2\S60_3rd_FP1_5\EPOC32\RELEASE\ARMV5\LIB\dfprvct2_2.dso C:\Symbian\9.2\S60_3rd_FP1_5\EPOC32\RELEASE\ARMV5\LIB\scppnwdl.dso C:\Symbian\9.2\S60_3rd_FP1_5\EPOC32\RELEASE\ARMV5\LIB\drtrvct2_2.dso C:\Symbian\9.2\S60_3rd_FP1_5\EPOC32\RELEASE\ARMV5\UREL\usrt2_2.lib -o "C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\GCCE\UDEB\konsole.sym" -Map C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\GCCE\UDEB\\konsole.exe.map ./src/konsole.o "C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\ARMV5\UREL\euser.lib C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\ARMV5\UREL\esock.lib C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\ARMV5\UREL\insock.lib C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\ARMV5\UREL\Etel3rdParty.lib" C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\ARMV5\LIB\euser.dso -lsupc++ -lgcc
    arm-none-symbianelf-ld.exe: C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\ARMV5\UREL\euser.lib C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\ARMV5\UREL\esock.lib C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\ARMV5\UREL\insock.lib C:\Symbian\9.2\S60_3rd_FP1_5\epoc32\release\ARMV5\UREL\Etel3rdParty.lib: No such file: No such file or directory
    'Building file: sis/konsole_EKA2.pkg'
    'Invoking: CreateSis (Installation File Generator)'
    make: *** [konsole.sym] Error 1
    createsis create -pass DefaultPassword "sis/konsole_EKA2.pkg" C:/Symbian/Carbide/workspace/konsole/sis/konsole_EKA2.sis
    Processing sis/konsole_EKA2.pkg...
    Created sis/konsole_EKA2-tmp.SIS
    Extracting info. from sis/konsole_EKA2.pkg ...
    No key/cert found in sis/konsole_EKA2.pkg.
    making key-gen1.key, cert-gen1.cer ...
    Generating private key...
    Created certificate cert-gen1.cer
    A DSA private key has been generated with a keylength of 1024 bits
    Signing sis/konsole_EKA2-tmp.SIS with cert-gen1.cer and key-gen1.key -> C:/Symbian/Carbide/workspace/konsole/sis/konsole_EKA2.sis
    'Finished building: sis/konsole_EKA2.pkg'
    ' '
    make: Target `all' not remade because of errors.
    Build complete for project konsole
    I supose is a linker error related with the Project Properties of CarbideC++. But, is it a problem if the .sis file is created?

  4. #4
    Registered User
    Join Date
    Mar 2007
    Posts
    11

    Re: Error Carbide C++ creating the SIS file

    I think that the Error 1 is in the library's path.

    C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\euser.lib
    C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\Etel3rdParty.lib
    C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\esock.lib
    C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\UREL\insock.lib:
    No such file: Invalid argument
    ...
    make: *** [BatteryC.sym] Error 1
    ...but these lib's are in "C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\ARMV5\LIB\".

    I don't know how to change this option in Carbide C++.
    In Project>Properties>C/C++ Build>GCCE Linker>Libraries, I only push the name of the static libraries, not the path.

Similar Threads

  1. Multiple programs within single SIS file dilema
    By LongSteve in forum Symbian
    Replies: 6
    Last Post: 2008-03-20, 06:05
  2. Replies: 1
    Last Post: 2005-07-25, 12:03
  3. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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