This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Microwindows on eCos
- From: "fairy" <yyt at os dot pku dot edu dot cn>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Sun, 6 Apr 2003 16:10:58 +0800
- Subject: [ECOS] 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