[ECOS] Microwindows on eCos

fairy yyt@os.pku.edu.cn
Sun Apr 6 08:05:00 GMT 2003


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 
"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!! 


More information about the Ecos-discuss mailing list