[XFree86] XFree86 4.3 error

2003-07-31 Thread Zhao Hongda
I have compile the XFree86 4.3 for my lubbock platform(XScale PXA250) by
gcc 2.95.3+glibc 2.2.3+binutils 2.11.2. My kernel is 2.4.19-rmk7-pxa2,
framebuffer is set to 16bpp 640*480. When I try to run the XFree86 server, I
got the following Error:
Fatal server error:
xf86EnableIOPorts: Failed to set IOPL for I/O.
My XF86Config is placed in the end of this mail, what should I do to correct
this problem?
Thanks for any help.
Hongda Zhao
2003/7/31

Section Files
RgbPath /usr/X11R6/lib/X11/rgb
FontPath /usr/X11R6/lib/X11/fonts/local/
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/Speedo/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
ModulePath /usr/X11R6/lib/modules
EndSection

Section Module
Load dbe
Loadglx

SubSection extmod
 Option omit xfree86-dga
EndSubSection

Load type1
Load freetype
EndSection

Section InputDevice
Identifier Keyboard1
Driver keyboard
Option AutoRepeat 500 30
Option XkbRules xfree86
Option XkbModel pc104
Option XkbLayout us
EndSection

Section InputDevice
Identifier Mouse1
Driver mouse
Option Protocol PS/2
Option Device /dev/mouse
EndSection

Section Monitor
Identifier My Monitor
HorizSync 50.0-100.0
VertRefresh 40-90
EndSection

Section Device
Identifier  VESA Framebuffer
Driver  fbdev
EndSection

Section Screen
Identifier Screen 1
Device VESA Framebuffer
Monitor My Monitor
DefaultColorDepth 16

SubSection Display
Depth  16
Modes  640x480
ViewPort 0 0
EndSubsection

EndSection

Section ServerLayout
Identifier simple layout
Screen Screen 1
InputDevice Mouse1 CorePointer
InputDevice Keyboard1 CoreKeyboard
EndSection





___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Build XFree86 4.3 error

2003-06-27 Thread Zhao Hongda
I try to build XFree86 4.3 with arm-linux-gcc 2.95.3 like that:
make World CROSSCOMPILEDIR=/usr/local/arm/2.95.3/bin
then I got the error:

In file included from xf86sym.c:145:

/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/inc
lude/sys/io.h:45: conflicting types for `inb'
../../../../../programs/Xserver/hw/xfree86/common/compiler.h:880:
previous declaration of `inb'

/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/inc
lude/sys/io.h:63: conflicting types for `inw'
../../../../../programs/Xserver/hw/xfree86/common/compiler.h:886:
previous declaration of `inw'


what should I do to correct this? thanks for any help.
Hongda Zhao


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: [XFree86]CrossCompile XF86 error, Please Help

2003-06-25 Thread Zhao Hongda
Egbert Eich:
Thanks for your help, but I still have questions. After following your
steps, I did that:
export PATH=/usr/local/arm/2.95.3/bin:$PATH
make World.log CROSSCOMPILEDIR=/usr/local/arm/2.95.3/bin
then the config/imake/imake is actually builded on arm-linu-gcc, so I
got the errors:
...
./config/imake/imake: ./config/imake/imake: cannot execute binary
file
...
what should I do?
waiting for your help, thanks a lot.
Hongda Zhao
- Original Message -
From: Egbert Eich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 5:46 PM
Subject: [XFree86] (no subject)


 Subject: Re: [XFree86] CrossCompile XFree86 error?
 In-Reply-To: [EMAIL PROTECTED] wrote on Wednesday, 25 June 2003
at 12:13:32 +0800
 References: [EMAIL PROTECTED]
 X-Mailer: VM 7.07 under 21.4 (patch 12) Portable Code XEmacs Lucid
 --text follows this line--
 Zhao Hongda writes:
   I'm trying to crosscompile the XFree 4.2.0, I copy the
   xc/config/cf/xf86site.def to host.def, and add
   #define CrossCompiling   YES
   to the begin of host.def, and I have modified cross.def to correct
path.
   what should I do ?
   Because I need a full-function XF86Server, so I doesn't use the
   KDriverXServer.

 I don't think that will work.
 I've implemented another way to do cross compiling:
 You need to have the entire build tool chain for cross compiling
 in one directory and under their normal names (ie if you use
 gcc it needs to be called 'gcc' - not 'my-architecture-gcc').
 If these don't already exist create links.
 Assume this directory is called '/foo' then do:

 make World CROSSCOMPILEDIR=/foo

 This should get your cross compile going provided there exists
 a configuration for your target system.

 Egbert.
 ___
 XFree86 mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/xfree86



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] CrossCompile XFree86 error?

2003-06-24 Thread Zhao Hongda
I'm trying to crosscompile the XFree 4.2.0, I copy the
xc/config/cf/xf86site.def to host.def, and add
#define CrossCompiling   YES
to the begin of host.def, and I have modified cross.def to correct path.
what should I do ?
Because I need a full-function XF86Server, so I doesn't use the
KDriverXServer.
Hongda Zhao
2003/6/25


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] CrossCompile XF86 error, Please Help

2003-06-24 Thread Zhao Hongda
I'm trying to crosscompile the XFree 4.2.0, I copy the
xc/config/cf/xf86site.def to host.def, and add
#define CrossCompiling   YES
to the begin of host.def, and I have modified cross.def to correct path.

when I try to
make World CROSSCOMPILEDIR=/usr/local/arm/2.95.3/bin
I got the error in xc/config/makedepend
Makefile.proto:889:*** missing separator.stop.

what should I do ?
Because I need a full-function XF86Server, so I doesn't use the
KDriverXServer.
Hongda Zhao
2003/6/25


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] how can I enable XDMCP support on Xfbdev?

2003-06-23 Thread Zhao Hongda
I have build a Xfbdev for my lubbock(Xscale PXA250) platform, it can
start right. now I can run some X examples on my target platform(such as
xclock). But when I tried to run the command Xfbdev -query hostname,  I
found that -query option is not supported, how can I enable the XDMCP
support on Xfbdev?
thanks for any help.
Zhao Hongda
2003/6/20



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86