Xserver crash when client application quit!!

2005-06-17 Thread Kai.Niu








Hi all:



 Finally
I made Matchbox run happily with TinyX sever. But I have a problem, when the
client application such as Xedit quit by click the quit button, the whole
tinyX server crashed. No matter the client applications quit as the last one
connecting to the client or not. Even I passed noreset to TinyX, I still get
same problem. So dose anyone could help me on that? Or leave me some hints, so I
could figure out that the problem caused by TinyX itself or the launch manner. By
the way, Now I just simply launch TinyX sever in command line after system boot
up in hyper terminal mode. The instructions like below:

 TinyX
br noreset 


Matchbox-windows-manager theme Default 

It should not be the reason of matchbox window
manager, becoz I still have the same problem when I use the default twm window manager.





 Thank
you all in advanced and have a good weekend ^^



 Kai
@ 17th June 2005 








SOS....I was frustrated by cross-compiling a TinyX server

2005-06-09 Thread Kai.Niu








Hi ALL:

I was so confusing about
the cross compiling process about XFree86 package. I encountered such a weird
error message like below. 

Dose anyone
know what the cc1
dose imply? I guess cc1 means a symbolic link so gcc. I make a cc1 symbol link
to either arm-linux-gcc and native x86 gcc. None of them bring me out of hell.
I started compiling as make World CROSSCOMPILEDIR=blablablabla.
My host.def file like below:



host.def

/*
$XFree86: xc/config/cf/cross.def,v 1.3 2002/04/04 14:05:33 eich Exp $ */

/*

*
This file contains redefinitions of some symbols to enable

*
cross compilation: e.g. paths for include files and paths to

*
compiler images. It will have to be edited to reflect these

*
given your local configuration.

*/

#define
KDriveXServer
YES

#define
TinyXServer
YES

#define
CrossCompiling
YES

#define
TouchScreen
YES

#undef
BuildRandR

#define
BuildRandR
YES

#define
BuildXInputLib
YES

#define
ProjectRoot
/root/TinyX/xc

#define
Freetype2Dir
$(TOP)/extras/freetype2

#define
Freetype2LibDir
$(TOP)/exports/lib

#define
BuildXTrueType
YES

#define
BuildScreenSaverExt NO

#define
BuildScreenSaverLibrary NO

#define
SharedLibXss
YES

#define
ServerXdmcpDefines

#define
XfbdevServer YES

#define
HasZlib
NO

#define
HasPNGlib
NO

*end of
host.def***

And I made the necessary modification on cross.def
file to present my host cross-toolchain configuration.



The error message like below:



**error message
dump*

Building XFree86 version 4.4.0
(29 February 2004).



I hope you checked the configuration parameters in
./config/cf

to see if you need to pass BOOTSTRAPCFLAGS.



Thu Jun 9 06:05:25 EDT 2005



cd ./config/imake  make -f
Makefile.ini BOOTSTRAPCFLAGS= CC=cc clean

make[1]: Entering directory
`/root/TinyX/xc/config/imake'

rm -f ccimake imake.o imake

rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a
tags TAGS make.log \#*

rm -f -r Makefile.proto Makefile Makefile.dep
bootstrap

rm -f imakemdep_cpp.h

make[1]: Leaving directory
`/root/TinyX/xc/config/imake'

make Makefile.boot

make[1]: Entering directory `/root/TinyX/xc'

cd ./config/imake  make -w -f Makefile.ini
BOOTSTRAPCFLAGS= CC=cc

make[2]: Entering directory
`/root/TinyX/xc/config/imake'

making imake with BOOTSTRAPCFLAGS= and
CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR=/root/usr/local/arm/3.4.1/arm-linux/bin
in config/imake

cc -o ccimake
-DCROSSCOMPILEDIR=\/root/usr/local/arm/3.4.1/arm-linux/bin\
-O -I../../include -I../../imports/x11/include/X11 ccimake.c

if [ -n /root/usr/local/arm/3.4.1/arm-linux/bin
] ; then \

/root/usr/local/arm/3.4.1/arm-linux/bin/cc
-E `./ccimake` \

-DCROSSCOMPILE_CPP imakemdep.h  imakemdep_cpp.h; \

else touch imakemdep_cpp.h; fi

make[2]: Leaving directory
`/root/TinyX/xc/config/imake'

make[1]: Leaving directory `/root/TinyX/xc'

cc: installation problem, cannot exec `cc1': No such
file or directory

make[2]: *** [imakemdep_cpp.h] Error 1

make[1]: *** [imake.proto] Error 2

make: *** [World] Error 2

***end of error
msg***



If anyone knows what wrong and how to get rid of those
mess. Please tell me! Thx in advanced. And please explain me a little bit about
the cc, cc1 and what the cross compiling scheme internally..thank you
guys very very much








Kai @ 10th, Jun, 2005








Dose anyone know the detail to cross-compile a TinyX server

2005-06-07 Thread Kai.Niu








Best regards to all:



 I am
working on cross-compile a TinyX server to a arm-based development board. The cross-compile
process failed every time, even Ive tweaked the code a lot by myself.

I believe some of you cross compiled TinyX package
successfully, So could u please tell me the tricks to do that? Thx a lot in
advance. By the way, the OZ technology released a patch for 4.40 packages, is
that necessary for successfully cross-compiling a TinyX package?




Sincerely Kai
@ 8/Jun/2005