Symbian developer community

 

Forums

Reply
 
Thread Tools Display Modes
  #1  
Old 2010-02-23, 18:40
eng.mohamed's Avatar
eng.mohamed eng.mohamed is offline
Symbian Foundation Community Member
 
Join Date: 2010 Feb
Posts: 16
Default makesis.exe returned by value 1 error

hii alll
I have this error

makesis.exe returned with exit value =1
and file I/O fault

I need help in solving this problems
this problems appear when I do the operation to get the file.sis
I bulid on 3rd edition GCCE MR
Reply With Quote
  #2  
Old 2010-02-23, 19:21
johnk's Avatar
johnk johnk is offline
Staff
 
Join Date: 2009 May
Posts: 322
Default

Hello Mohamed,

From your description it is difficult to see the problem. The main task of makesis is simply to aggregate the files you just build, so that, you can send them to the handset.

File I/O generally means makesis couldn't local a file referenced in the pkg file. What does the pkg file look like? Using the -v option to makesis, what's the output look like?

-jk

C:\Users\User>makesis /?

MAKESIS Version 5.1.0.4
A utility for creating Software Installation (SIS) files
Copyright (c) 2000-2007 Symbian Software Ltd. All rights reserved.

Usage : MakeSIS [-h] [-i] [-s] [-v] [-c] [-d directory] pkgfile [sisfile]

Options : [-h] Show help page and PKG file format
Options : [-i] Show Open SSL licence
Options : [-s] Generate a ROM Stub
Options : [-v] Verbose output to screen
Options : [-c] Reports errors where the SIS file being generated will not be i
nstallable by InterpretSis
Options : [-d directory] Directory path to search
Options : [pkgfile] Name of the PKG file
Options : [sisfile] Output SIS filename. If not specified, the filename will b
e derived from the name of the PKG file
Reply With Quote
  #3  
Old 2010-02-23, 19:29
eng.mohamed's Avatar
eng.mohamed eng.mohamed is offline
Symbian Foundation Community Member
 
Join Date: 2010 Feb
Posts: 16
Default

it is the first time I deal with the makesis....I don`t get waht you mean from this opertaions...and how can I do this?
Reply With Quote
  #4  
Old 2010-02-23, 19:50
johnk's Avatar
johnk johnk is offline
Staff
 
Join Date: 2009 May
Posts: 322
Default

Hello Mohamed,

Ok. Let's break it down. Would you show me the contents of your package file? It will be in your project and end with a .pkg file extension.

-jk
Reply With Quote
  #5  
Old 2010-02-23, 20:06
eng.mohamed's Avatar
eng.mohamed eng.mohamed is offline
Symbian Foundation Community Member
 
Join Date: 2010 Feb
Posts: 16
Default

&EN

#{"VoIPTestApp"}, (0x10207ba1), 1, 0, 0, TYPE=SA
%{"Nokia"}
:"Nokia"

[0x101f7961],0, 0, 0 ,{"Series60ProductID"}

;!:\sys\bin\VoIPTest.exe
; File length 9956 (10267)
"\epoc32\release\gcce\urel\voiptest.exe"-"!:\sys\bin\VoIPTest.exe", FF

;!:\private\10003a3f\import\apps\VoIPTestReg.r01
; File length 53 (70)
"\epoc32\data\z\private\10003a3f\apps\VoIPTestReg.r01"-"!:\private\10003a3f\import\apps\VoIPTestReg.rsc", FF

;!:\resource\apps\VoIPTest.r01
; File length 1113 (3562)
"\epoc32\data\z\resource\apps\VoIPTest.r01"-"!:\resource\apps\VoIPTest.rsc", FF

;!:\resource\apps\VoIPTestLoc.r01
; File length 44 (44)
"\epoc32\data\z\resource\apps\VoIPTestLoc.r01"-"!:\resource\apps\VoIPTestLoc.rsc", FF

;!:\data\sounds\digital\test_8khz.wav
; File length 8388 (10098)
"..\data\test_8khz.wav"-"!:\data\sounds\digital\test_8khz.wav", FF
Reply With Quote
  #6  
Old 2010-02-23, 21:56
johnk's Avatar
johnk johnk is offline
Staff
 
Join Date: 2009 May
Posts: 322
Default

Hello Mohamed,

Ok, we see there are about four or file files(e.g., voiptest.exe, VoIPTestReg.r01, etc). The File I/O error gives you a line number which points at the offending line. Looking at the error message which line was it?

-jk
Reply With Quote
  #7  
Old 2010-02-23, 22:07
eng.mohamed's Avatar
eng.mohamed eng.mohamed is offline
Symbian Foundation Community Member
 
Join Date: 2010 Feb
Posts: 16
Default

thx johnk
the error in the line no 11
"\epoc32\release\gcce\urel\voiptest.exe"-"!:\sys\bin\VoIPTest.exe", FF
Reply With Quote
  #8  
Old 2010-02-23, 22:46
johnk's Avatar
johnk johnk is offline
Staff
 
Join Date: 2009 May
Posts: 322
Default

Hello Mohamed,

yes, that looks a little off. For 5th edition, I would expect a relative path. I have it installed on the default location on my pc (c:\S60\devices\S60_5th_Edition_SDK_v1.0). Consider the AddressBook example. You'll find it here.

c:\S60\devices\S60_5th_Edition_SDK_v1.0\S60CppExamples\AddressBook\sis

The line for the main executable is

"..\..\..\Epoc32\release\gcce\urel\AddressBook.exe" -"!:\sys\bin\AddressBook.exe"

If I had built it, you'd find the resulting executable here (..\..\..\Epoc32\release\gcce\urel\AddressBook.exe).

-jk
Reply With Quote
  #9  
Old 2010-02-23, 22:57
eng.mohamed's Avatar
eng.mohamed eng.mohamed is offline
Symbian Foundation Community Member
 
Join Date: 2010 Feb
Posts: 16
Default

so...how can I deal with this tybe of problem to get the file.sis
Regards
Reply With Quote
  #10  
Old 2010-02-24, 00:06
johnk's Avatar
johnk johnk is offline
Staff
 
Join Date: 2009 May
Posts: 322
Default

Hello Mohamed,

This is simple a question of relative paths. Consider the current working directory to be the directory containing the package file. Determine the relative path to the file in question. Update the package file accordingly. Viola. You're done.

-jk
Reply With Quote
  #11  
Old 2010-02-24, 05:40
dennis_george's Avatar
dennis_george dennis_george is offline
Symbian Foundation Community Member
 
Join Date: 2009 Apr
Posts: 54
Default File Not Found!

Quote:
Originally Posted by johnk View Post

This is simple a question of relative paths. Consider the current working directory to be the directory containing the package file. Determine the relative path to the file in question. Update the package file accordingly. Viola. You're done.

-jk
I don't think there would be any problem in using absolute path. But this absolute path should be the absolute path in your PC and it should not be from EPOCROOT.

e.g. if your data is in D:\Epoc32\release\gcce\urel\ then your pkg file is correct. In this case I assume the exe you are referring is not in that location.
But if your path is something like D:\S60\devices\S60_5th_Edition_SDK_v1.0\Epoc32\release\gcce\urel\ then there is a problem. In this case you should either provide the correct absolute path or use relative path.

Cheers,
Dennis
Reply With Quote
  #12  
Old 2010-02-25, 00:22
eng.mohamed's Avatar
eng.mohamed eng.mohamed is offline
Symbian Foundation Community Member
 
Join Date: 2010 Feb
Posts: 16
Smile

thx jk and dennis
the problem has been solved....and I learned from u very useful information
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads.
You may not post replies.
You may not post attachments.
You may not edit your posts.

BB code is On.
Smilies are On.
[IMG] code is On.
HTML code is Off.


Forum Jump

Powered by vBulletin · Copyright © 2010 vBulletin Solutions, Inc.