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]

Microwindows on eCos


Hi, 

I'm trying to run microwindows on eCos on linux synthetic target but meet with some problems. 

Firstly, if I just make a linux synthetic target without any template, I cannot successfully add the microwindows package even thought I resolve all the conflicts. Many problems concerning the network files are reported in compling procedure. 

Then I add the microwindows package with elix template. It is successfully built but nothing happens when I run the executable file--it fails to start the window. (The test program is "demo.c" which I get from the microwindows package.) 

So I trace it with insight. I find that whenever it comes to 
ACCESS_PER_THREAD_DATA() 
"data->_nxSocket" will gain a great value 1919448176 where "data" is a structure to store datas from a thread. 

Problem occures when such "data->_nxSocket" is used as index of an array contains 16 elements: 
cyg_file *fp=desc[fd]; 

I have no idea what the problem is. Can anyone give me some advices? Thanks a lot!! 

Regards, 
fairy

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