-
File corrupted
Hello all,
I build a .sis file, and install to NOKIA N90.
Then N90 show me the message: File Corrupted.
When I build the .sis file, Carbide C++ shows me the message:
make: warning: Clock skew detected. Your build may be incomplete.
In Problems window have some warnings:
CTags not installed or not in path
What's up? I don't install the CTags path? How to install?
Thanks your help.
-
Re: File corrupted
Hi -
For you N90, can you try one of the S60 Project templates for S60 2.x? Those come with PKG files and have been tested for installation and execution on phones. If you still have errors can you post more info from the console about the error you are getting?
CTags is an external program you can install and put on your path or point your indexer preferences to. This was not installed as part of Carbide which was not made clear.
If you want to try CTags, you can get a copy here.
[url]http://www.google.com/search?hl=en&q=ctags[/url]
In any event, even without CTags installed you will still get basic project level browse and outline info.
Cheers,
Tim
-
Re: File corrupted
Hi Tim,
I try use S60 2.x. Using the N90 that is ok.
What's problem?
Thank you.
-
Re: File corrupted
[QUOTE=MrJou]
I try use S60 2.x. Using the N90 that is ok.
[/QUOTE]
That should be correct. As I mentioned in a previous post, please cut and paste the relavant command-line and error from the console window so we can see more detail about where/when the error message is coming from. I'm not familiar with this error.
Cheers,
Tim
-
Re: File corrupted
**** Full rebuild of configuration S60 3.0 Phone (GCCE) Release for project Test ****
make -k clean all
del /s/q .\src\Test.o .\src\TestAppUi.o .\src\TestAppView.o .\src\TestApplication.o .\src\TestDocument.o \Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\Test.mif E:\S60\Test\sis\Test.sis C:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\Test.rsc C:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\private\10003a3f\apps\Test_reg.rsc C:\Symbian\9.1\S60_3rd\epoc32\release\GCCE\UREL\Test.exe
§ä¤£¨ì E:\S60\Test\S60 3.0 Phone (GCCE) Release\src\Test.o
§R°£ªºÀÉ®× - E:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\Test.mif
§R°£ªºÀÉ®× - E:\S60\Test\sis\Test.sis
§R°£ªºÀÉ®× - C:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\resource\apps\Test.rsc
§R°£ªºÀÉ®× - C:\Symbian\9.1\S60_3rd\EPOC32\DATA\Z\private\10003a3f\apps\Test_reg.rsc
§R°£ªºÀÉ®× - C:\Symbian\9.1\S60_3rd\epoc32\release\GCCE\UREL\Test.exe
' '
'Building file: ../gfx/Test.mifdef'
'Invoking: MIF Compiler'
perl -S epocmifdef.pl -p"E:\S60\Test\" -hC:\Symbian\9.1\S60_3rd\EPOC32\include\Test.mbg -o"/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/Test.mif" ../gfx/Test.mifdef
Reading source list file: ../gfx/Test.mifdef.txt
Checking: E:\S60\Test\gfx\qgn_menu_Test.svg
Choosing...
Loading mif icons...
Loading file: E:\S60\Test\gfx\qgn_menu_Test.svg
Writing mif: /Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/Test.mif
Writing mbg...C:\Symbian\9.1\S60_3rd\EPOC32\include\Test.mbg
'Finished building: ../gfx/Test.mifdef'
' '
'Building file: ../data/Test.rss'
'Invoking: Resource Compiler'
perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I"E:\S60\Test\inc" -I"E:\S60\Test\data" -I- -I"C:\Symbian\9.1\S60_3rd\epoc32\include" -I"C:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I"C:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o"C:/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/Test.rsc" -hC:\Symbian\9.1\S60_3rd\EPOC32\include\Test.rsg ../data/Test.rss
..\data\Test.rss(127) : 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'
C:\\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
C:\\Symbian\\9.1\\S60_3rd\\epoc32\\include\\avkon.rh(683) : Warning: (045) the following label is used but has not been declared: R_AVKON_SOFTKEYS_OK_CANCEL
C:\\Symbian\\9.1\\S60_3rd\\epoc32\\include\\avkon.rh(693) : Warning: (045) the following label is used but has not been declared: R_AVKON_SOFTKEYS_OK_CANCEL
C:\\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/Test.rss'
' '
'Building file: ../data/Test_reg.rss'
'Invoking: Resource Compiler'
perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I"E:\S60\Test\inc" -I"E:\S60\Test\data" -I- -I"C:\Symbian\9.1\S60_3rd\epoc32\include" -I"C:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I"C:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o"C:/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/private/10003a3f/apps/Test_reg.rsc" -hC:\Symbian\9.1\S60_3rd\EPOC32\include\Test_reg.rsg ../data/Test_reg.rss
..\data\Test_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: 'datatype_list'
..\data\Test_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: 'file_ownership_list'
..\data\Test_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/Test_reg.rss'
' '
'Building file: ../src/Test.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__="C:\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "C:\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "E:\S60\Test\inc" -I "E:\S60\Test\data" -I "C:\Symbian\9.1\S60_3rd\epoc32\include" -I "C:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "C:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o src/Test.o ../src/Test.cpp
'Finished building: ../src/Test.cpp'
' '
'Building file: ../src/TestAppUi.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__="C:\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "C:\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "E:\S60\Test\inc" -I "E:\S60\Test\data" -I "C:\Symbian\9.1\S60_3rd\epoc32\include" -I "C:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "C:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o src/TestAppUi.o ../src/TestAppUi.cpp
In file included from C://Symbian//9.1//S60_3rd//epoc32//include/eikenv.h:25,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknutils.h:36,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknpopuplayout.h:26,
from C://Symbian//9.1//S60_3rd//epoc32//include/AknQueryDialog.h:31,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknnotewrappers.h:28,
from ../src/TestAppUi.cpp:12:
C://Symbian//9.1//S60_3rd//epoc32//include/babitflags.h:240:7: warning: no newline at end of file
In file included from C://Symbian//9.1//S60_3rd//epoc32//include/eikmenub.h:18,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknenv.h:28,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknutils.h:40,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknpopuplayout.h:26,
from C://Symbian//9.1//S60_3rd//epoc32//include/AknQueryDialog.h:31,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknnotewrappers.h:28,
from ../src/TestAppUi.cpp:12:
C://Symbian//9.1//S60_3rd//epoc32//include/eikmenup.h: In member function `TBool CEikMenuPaneItem::IsScaleableText(const TDesC&) const':
C://Symbian//9.1//S60_3rd//epoc32//include/eikmenup.h:183: warning: enumeral mismatch in conditional expression: `TFalse' vs `TTrue'
In file included from C://Symbian//9.1//S60_3rd//epoc32//include/aknappui.h:29,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknpopupheadingpane.h:32,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknlistquerycontrol.h:23,
from C://Symbian//9.1//S60_3rd//epoc32//include/AknQueryDialog.h:36,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknnotewrappers.h:28,
from ../src/TestAppUi.cpp:12:
C://Symbian//9.1//S60_3rd//epoc32//include/AknTouchPaneObserver.h:47:19: warning: no newline at end of file
In file included from ../src/TestAppUi.cpp:21:
E://S60//Test//inc/Test.hrh:20:23: warning: no newline at end of file
'Finished building: ../src/TestAppUi.cpp'
' '
'Building file: ../src/TestAppView.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__="C:\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "C:\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "E:\S60\Test\inc" -I "E:\S60\Test\data" -I "C:\Symbian\9.1\S60_3rd\epoc32\include" -I "C:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "C:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o src/TestAppView.o ../src/TestAppView.cpp
'Finished building: ../src/TestAppView.cpp'
' '
'Building file: ../src/TestApplication.cpp'
'Invoking: GCCE Compiler'
-
Re: File corrupted
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__="C:\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "C:\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "E:\S60\Test\inc" -I "E:\S60\Test\data" -I "C:\Symbian\9.1\S60_3rd\epoc32\include" -I "C:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "C:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o src/TestApplication.o ../src/TestApplication.cpp
'Finished building: ../src/TestApplication.cpp'
' '
'Building file: ../src/TestDocument.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__="C:\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "C:\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "E:\S60\Test\inc" -I "E:\S60\Test\data" -I "C:\Symbian\9.1\S60_3rd\epoc32\include" -I "C:\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "C:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o src/TestDocument.o ../src/TestDocument.cpp
In file included from C://Symbian//9.1//S60_3rd//epoc32//include/eikenv.h:25,
from C://Symbian//9.1//S60_3rd//epoc32//include/eiksrvs.h:14,
from C://Symbian//9.1//S60_3rd//epoc32//include/eiksrvc.h:9,
from C://Symbian//9.1//S60_3rd//epoc32//include/eikspmod.h:18,
from C://Symbian//9.1//S60_3rd//epoc32//include/Eikspane.h:10,
from C://Symbian//9.1//S60_3rd//epoc32//include/aknappui.h:25,
from E://S60//Test//inc/TestAppUi.h:14,
from ../src/TestDocument.cpp:12:
C://Symbian//9.1//S60_3rd//epoc32//include/babitflags.h:240:7: warning: no newline at end of file
In file included from C://Symbian//9.1//S60_3rd//epoc32//include/aknappui.h:29,
from E://S60//Test//inc/TestAppUi.h:14,
from ../src/TestDocument.cpp:12:
C://Symbian//9.1//S60_3rd//epoc32//include/AknTouchPaneObserver.h:47:19: warning: no newline at end of file
'Finished building: ../src/TestDocument.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:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3" -L"C:\Program Files\CSL Arm Toolchain\arm-none-symbianelf\lib" -soname "Test{000a0000}.exe" -o "Test.sym" -Map C:\Symbian\9.1\S60_3rd\epoc32\release\GCCE\UREL\\Test.exe.map ./src/Test.o ./src/TestAppUi.o ./src/TestAppView.o ./src/TestApplication.o ./src/TestDocument.o "C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\UREL\eexe.lib" C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\dfpaeabi.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\drtaeabi.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\dfprvct2_2.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\scppnwdl.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\drtrvct2_2.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\UREL\usrt2_2.lib C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\euser.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\apparc.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\cone.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\eikcore.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\avkon.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\commonengine.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\efsrv.dso C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\estor.dso -lsupc++ -lgcc
'Finished building: Test.sym'
' '
'Building target: C:/Symbian/9.1/S60_3rd/epoc32/release/GCCE/UREL/Test.exe'
'Invoking: Post linker'
elf2e32.exe --targettype=EXE --libpath="C:\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB" --capability=NONE --uid1=0x1000007a --uid2=0x100039CE --uid3=0x00166150 --sid=0x00166150 --vid=0x00000000 --elfinput="Test.sym" --output="C:/Symbian/9.1/S60_3rd/epoc32/release/GCCE/UREL/Test.exe" --linkas=Test{000a0000}[0x00166150].exe
'Finished building target: C:/Symbian/9.1/S60_3rd/epoc32/release/GCCE/UREL/Test.exe'
' '
'Building file: sis/Test.pkg'
'Invoking: CreateSis (Installation File Generator)'
createsis create -pass DefaultPassword "sis/Test.pkg" E:/S60/Test/sis/Test.sis
Processing sis/Test.pkg...
Created sis/Test-tmp.SIS
Extracting info. from sis/Test.pkg ...
No key/cert found in sis/Test.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/Test-tmp.SIS with cert-gen.cer and key-gen.key -> E:/S60/Test/sis/Test.sis
'Finished building: sis/Test.pkg'
' '
Build complete for project Test
-
Re: File corrupted
As Tim already replied, you are building using the wrong SDK. You use the S60 3.0 SDK which is not compatible with the N90. The N90 is based on S60 2nd Edition FP3. Use the correct SDK to build and you should be OK.
To check what SDK to use for what device, see [url]http://www.forum.nokia.com/main/0,,150,00.html?matrixType=s60[/url]