This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: file open error


Swaroop Choudhari wrote:


The ecos version I am using is 2.0. I am using Synthetic Linux as a target machine.The file system of linux is ext3. I do not know about mounting any file system for ecos so please help me on that. I used the gdb to run the program and the program exits with a segmentation fault while executing the "fopen" command. The file to be opened does exist. I tried to debug the program and I found the error on this line "lock_fs(mte)".

How was eCos configured? What filesystem package are you using? How did you call fopen?


Note that synthetic linux eCos targets can't access files on the host system.

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]