Re: ANN: xterm #230

2008-01-03 Thread Jeff Chua

On Mon, 31 Dec 2007, Thomas Dickey wrote:


   Patch #230 - 2007/12/31


Compiled and installed ok, but when I tried to compile another program ... 
basically with a lot of screen output, the new xterm will "disappear" and 
dmesg shows ...


segfault at 0001 eip 080743b4 esp bffe5a14 error 4

Reverted back to xterm-229 and problem goes away.

Both version compiled with gcc-4.2.2, and glibc-2.7, running with fvwm.

Thanks,
Jeff.

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


driver for i965?

2006-11-07 Thread Jeff Chua
When can we expect the Intel 965 gma3000 to be integrated in the current 
cvs?



Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[PATCH] xf86sym.c

2006-06-29 Thread Jeff Chua

Latest CVS can't compile due to "__unused" undefined.

Here's a fix ...


--- xfree86/xc/programs/Xserver/hw/xfree86/loader/xf86sym.c 2006-06-29 
13:23:00 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/loader/xf86sym.c 2006-06-29 
09:58:16 +0800
@@ -289,7 +289,7 @@
  * For propolice/gcc stack protector.
  */
 extern long __guard[8];
-extern void __stack_smash_handler(char func[], int damaged  __unused);
+extern void __stack_smash_handler(char func[], int damaged);
 #pragma weak __guard
 #pragma weak __stack_smash_handler




Thanks,
Jeff
[ [EMAIL PROTECTED] ]
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-09 Thread Jeff Chua

On Thu, 9 Mar 2006, Thomas Dickey wrote:

So for now, how can I bring back that behaviour? What's the syntax for 
adding charClass to .Xdefaults?


*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,126:48


Thank you so much. Now that I know it's in "xterm", I looked up "man 
xterm" and got the syntax from there. Was wondering how to do just that 
for weeks and didn't have a clue what caused the change.


Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-08 Thread Jeff Chua

On Wed, 8 Mar 2006, Thomas Dickey wrote:


You're reading it correctly.  I was pointing out that there is a better
solution than doing that.


So for now, how can I bring back that behaviour? What's the syntax for 
adding charClass to .Xdefaults?


Thanks you.

Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-08 Thread Jeff Chua
It's xterm. I'm referring to double-clicking on "1233:03030-30303" and 
it'll select the whole 1233:03030-30303 instead of 1233



Thanks,
Jeff

On Tue, 7 Mar 2006, Thomas Dickey wrote:


On Wed, 8 Mar 2006, Jeff Chua wrote:

I noticed a few weeks ago with the CVS source, double-click on hte left 
mouse can select a whole word, then the feature disappeared.


which application?

I changed a resource value in xterm which affected triple click, but that
was in #208, while #209 is current.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


how to change mouse select behavior?

2006-03-07 Thread Jeff Chua
I noticed a few weeks ago with the CVS source, double-click on hte left 
mouse can select a whole word, then the feature disappeared.


Is there anyway to get the feature to work again?


Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[PATCH] to comply using Linux-2.6.16-rc2

2006-02-05 Thread Jeff Chua
I make this patch in order to compile latest CVS source with 
Linux-2.6.16-rc2


XFree86 Version 4.5.99.20
Release Date: 23 January 2006
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.16-rc2 i686 [ELF]


I know it would be nice to do that change in , but afraid 
it'll get shot down in lkml. Someone want to try? Please comment.



Thanks,
Jeff

--- xfree86/xc/programs/Xserver/hw/xfree86/input/acecad/acecad.c.org
2006-02-06 13:59:13 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/acecad/acecad.c
2006-02-04 18:32:19 +0800
@@ -32,7 +32,10 @@

 #ifdef LINUX_INPUT
 #include 
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
 #include 
+#undef BITS_PER_LONG
 #ifdef BUS_PCI
 #undef BUS_PCI
 #endif
--- xfree86/xc/programs/Xserver/hw/xfree86/input/wacom/xf86Wacom.c.org  
2006-02-06 13:59:29 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/wacom/xf86Wacom.c  
2006-02-04 18:43:34 +0800
@@ -49,7 +49,10 @@

 #ifdef LINUX_INPUT
 #include 
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
 #include 
+#undef BITS_PER_LONG

 /* 2.4.6 module support */
 #ifndef EV_MSC
--- xfree86/xc/programs/Xserver/hw/xfree86/input/aiptek/xf86Aiptek.h.org
2006-02-06 13:59:45 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/aiptek/xf86Aiptek.h
2006-02-04 18:45:52 +0800
@@ -42,6 +42,10 @@

 #ifdef LINUX_INPUT
 #   include 
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
+#include 
+#undef BITS_PER_LONG
 #   include 
 #   ifndef EV_MSC
 #  define EV_MSC 0x04
--- xfree86/xc/programs/Xserver/hw/xfree86/input/eloinput/xf86EloInput.c.org
2006-02-06 13:59:56 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/eloinput/xf86EloInput.c
2006-02-04 18:46:26 +0800
@@ -38,7 +38,10 @@
  */

 #include 
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
 #include 
+#undef BITS_PER_LONG
 #undef BUS_PCI
 #undef BUS_ISA
 #ifndef EV_SYN
--- xfree86/xc/programs/Xserver/hw/dmx/input/usb-private.h.org  2006-02-06 
14:00:06 +0800
+++ xfree86/xc/programs/Xserver/hw/dmx/input/usb-private.h  2006-02-04 
18:47:06 +0800
@@ -45,7 +45,10 @@
 #include "inputstr.h"
 #include 
 #include 
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
 #include 
+#undef BITS_PER_LONG
 #include "usb-common.h"

 /*  Support for force feedback was
--- xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c.org   
2006-02-06 14:00:15 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c   
2006-02-04 18:45:30 +0800
@@ -5,6 +5,10 @@
 #include 
 #include 
 #define inline __inline__
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
+#include 
+#undef BITS_PER_LONG
 #include 

 #undef BUS_ISA
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[PATCH] trident_video.c

2005-12-08 Thread Jeff Chua
The following patch is needed in order to compile trident_video.c with 
gcc-2.95.3 ...


Thanks,
Jeff

--- xfree86/xc/programs/Xserver/hw/xfree86/drivers/trident/trident_video.c.org  
2005-12-09 12:05:15 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/drivers/trident/trident_video.c  
2005-12-09 12:05:43 +0800
@@ -666,10 +666,11 @@
 OUTW(vgaIOBase + 4, ((width<<1) & 0xff00)  | 0x91);
 OUTW(vgaIOBase + 4, ((offset) & 0xff) << 8 | 0x92);
 OUTW(vgaIOBase + 4, ((offset) & 0xff00)| 0x93);
-if (pTrident->Chipset >= CYBER9397)
+if (pTrident->Chipset >= CYBER9397) {
OUTW(vgaIOBase + 4, ((offset) & 0x0f) >> 8 | 0x94);
-else
+} else {
OUTW(vgaIOBase + 4, ((offset) & 0x07) >> 8 | 0x94);
+}

 /* Horizontal Zoom */
 if (pTrident->videoFlags & VID_ZOOM_INV) {
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


xf86InterpretEDID xf86DoEDID_Option symbols unresolved

2005-09-15 Thread Jeff Chua

The lastest CVS source can't start X11 after I do a fresh "make World".

Here's the error ...

Symbol xf86InterpretEDID from module /usr/X11R6/lib/modules/libvbe.a is 
unresolved!
Symbol xf86DoEDID_Option from module /usr/X11R6/lib/modules/libvbe.a is 
unresolved!


When I roll back to CVS from August, it works without any problem.

This problem surfaces only after I do a "make World" from a clean CVS 
sources. I was doing daily CVS update followed by "make" and could get X11 
to start without any problem.



This one works ...
XFree86 Version 4.5.99.10
Release Date: 23 August 2005
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.13-mh1 i686 [ELF]

Something changes in the CVS after that ...

Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: i810 on latest cvs

2005-08-22 Thread Jeff Chua

On Sat, 20 Aug 2005, Marc Aurele La France wrote:

Yes.  I have since corrected the typo that was causing this.


Thanks, it seems to work again.

Jeff.

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


patch for linux-2.6.13-rc1

2005-06-30 Thread Jeff Chua

The latest linux kernel 2.6.13-rc1 modified joystick.h

The patch below is needed to compile using the new kernel.

Thanks,
Jeff.


--- xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c.org   
2005-07-01 13:50:04 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c   
2005-07-01 13:50:47 +0800
@@ -5,6 +5,8 @@
 #include 
 #include 
 #define inline __inline__
+#define BITS_PER_LONG 32
+#define __s64 long
 #include 

 #undef BUS_ISA

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: Symbol i830PrintModes unresolved (fwd)

2005-05-24 Thread Jeff Chua

On Tue, 24 May 2005, Alan Hourihane wrote:


Fixed.



Confirmed lastest cvs to be working again.

Thanks,
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Symbol i830PrintModes unresolved (fwd)

2005-05-24 Thread Jeff Chua

Latest CVS build has this problem during 'startx' ...

Symbol i830PrintModes from module /usr/X11R6/lib/modules/drivers/i810_drv.o is
unresolved!

Changes prior to May 23 is ok.


Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: [PATCH] BRe: mmapr.c compile problem

2005-04-07 Thread Jeff Chua
On Thu, 7 Apr 2005, Marc Aurele La France wrote:
I've just committed a change to fix the typo you reported and #define 
LINUX_MOD_DEVICETABLE_H where apprpriate.
Just downloaded and verified that both mmapr.c and mmapw.c compiled ok.
I like your way of #define LINUX_MOD_DEVICETABLE_H.
Thanks,
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[PATCH] BRe: mmapr.c compile problem

2005-04-04 Thread Jeff Chua
Here's a patch to fix mmapr.c and mmapw.c so that compile under linux.
Thanks,
Jeff.
[ jchua AT fedex DOT com ]
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/mmapr.c.org  Tue Apr  5 
13:58:21 2005
+++ xfree86/xc/programs/Xserver/hw/xfree86/etc/mmapr.c  Tue Apr  5 14:01:16 2005
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/etc/mmapr.c,v 1.11 2005/03/29 
18:41:45 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/etc/mmapr.c,v 1.10 2004/12/31 
16:07:09 tsi Exp $ */
 /*
  * Copyright 2002 through 2005 by Marc Aurele La France (TSI @ UQV), [EMAIL 
PROTECTED]
  *
@@ -51,12 +51,11 @@
 #endif
 #ifdef linux
-# include 
-# include 
+#include 
 # ifndef PCIIOC_BASE
/* Selected ioctls for /proc/bus/pci// nodes */
-#  define PCIIOC_BASE  (('P') << 24) | ('C' << 16) | ('I' << 8))
+#  define PCIIOC_BASE  (('P' << 24) | ('C' << 16) | ('I' << 8))
/* Set mmap state to I/O space */
 #  define PCIIOC_MMAP_IS_IO(PCIIOC_BASE | 0x01)
@@ -159,6 +158,7 @@
 case 'q':
 Size = sizeof(dataq);
 break;
+
 #ifdef linux
case 'i':
mmap_ioctl = PCIIOC_MMAP_IS_IO;
@@ -168,6 +168,7 @@
mmap_ioctl = PCIIOC_MMAP_IS_MEM;
break;
 #endif
+
 default:
 usage();
 }
--- /v6/src2/xfree86/xc/programs/Xserver/hw/xfree86/etc/mmapw.c.org Tue Apr 
 5 13:21:33 2005
+++ /v6/src2/xfree86/xc/programs/Xserver/hw/xfree86/etc/mmapw.c Tue Apr  5 
14:02:43 2005
@@ -51,7 +51,6 @@
 #ifdef linux
 # include 
-# include 
 # ifndef PCIIOC_BASE
/* Selected ioctls for /proc/bus/pci// nodes */
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


mmapr.c compile problem

2005-04-04 Thread Jeff Chua
gcc -c -O2 -fno-strength-reduce -ansi -Wall -Wpointer-arith -Wundef
-I. -I../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../../programs/Xserver/include
-I../../../../../exports/include/X11 
-I../../../../../programs/Xserver/hw/xfree86/scanpci
-I../../../../../programs/Xserver/hw/xfree86/dummylib
-I../../../../../programs/Xserver/hw/xfree86/os-support/bus
-I../../../../.. -I../../../../../exports/include -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 
-DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV 
-DPANORAMIX  -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV 
-DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server 
-DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG 
-DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DNEED_STRLCAT 
-DFUNCPROTO=15 -DNARROWPROTO  mmapr.c
In file included from mmapr.c:55: /usr/include/linux/pci.h: warning: 6 trigraph(s) encountered
In file included from /usr/include/string.h:360,
  from mmapr.c:32:
/usr/include/bits/string2.h: In function `__mempcpy_small':
/usr/include/bits/string2.h:250: warning: pointer of type `void *' used in arithmetic
In file included from /usr/include/linux/pci.h:20,
  from mmapr.c:55:
/usr/include/linux/mod_devicetable.h: At top level:
/usr/include/linux/mod_devicetable.h:18: parse error before `__u32'
/usr/include/linux/mod_devicetable.h:18: warning: no semicolon at end of struct or union
/usr/include/linux/mod_devicetable.h:19: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:20: parse error before `class'
/usr/include/linux/mod_devicetable.h:20: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:21: parse error before `driver_data'
/usr/include/linux/mod_devicetable.h:21: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:31: parse error before `__u32'
/usr/include/linux/mod_devicetable.h:31: warning: no semicolon at end of struct or union
/usr/include/linux/mod_devicetable.h:32: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:33: parse error before `model_id'
/usr/include/linux/mod_devicetable.h:33: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:34: parse error before `specifier_id'
/usr/include/linux/mod_devicetable.h:34: warning: data definition has no type or ...
make[5]: *** [mmapr.o] Error 1
make[5]: Leaving directory `/v6/src2/xfree86/xc/programs/Xserver/hw/xfree86/etc'
make[4]: *** [all] Error 2

I think the latest change doesn't go well with linux-2.6 header or 
gcc-2.95.3
CVS from March 30 doesn't have this problem.
Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[patch] to fix i830_driver.c compile error

2005-04-04 Thread Jeff Chua
i830_driver.c: In function `I830BIOSPreInit':
i830_driver.c:2764: `p' undeclared (first use in this function)
i830_driver.c:2764: (Each undeclared identifier is reported only once
i830_driver.c:2764: for each function it appears in.)
make[6]: *** [i830_driver.o] Error 1
make[6]: Leaving directory 
`/v6/src2/xfree86/xc/programs/Xserver/hw/xfree86/drivers/i810'
make[5]: *** [all] Error 2
make[5]: Leaving directory 
`/v6/src2/xfree86/xc/programs/Xserver/hw/xfree86/drivers'
make[4]: *** [all] Error 2

Thanks,
Jeff
-
--- ./xfree86/xc/programs/Xserver/hw/xfree86/drivers/i810/i830_driver.c.org 
Tue Apr  5 09:36:35 2005
+++ ./xfree86/xc/programs/Xserver/hw/xfree86/drivers/i810/i830_driver.c Tue Apr 
 5 09:37:01 2005
@@ -1656,6 +1656,7 @@
const char *chipname;
unsigned int ver;
char v[5];
+   DisplayModePtr pMode;
if (pScrn->numEntities != 1)
   return FALSE;
@@ -2761,9 +2762,9 @@
}
/* Now we check the VESA BIOS's displayWidth and reset if necessary */
-   p = pScrn->modes;
+   pMode = pScrn->modes;
do {
-  VbeModeInfoData *data = (VbeModeInfoData *) p->Private;
+  VbeModeInfoData *data = (VbeModeInfoData *) pMode->Private;
   VbeModeInfoBlock *modeInfo;
   /* Get BytesPerScanline so we can reset displayWidth */
@@ -2773,8 +2774,8 @@
 	pScrn->displayWidth = modeInfo->BytesPerScanline / pI830->cpp;
 	 }
   } 
-  p = p->next;
-   } while (p != NULL && p != pScrn->modes);
+  pMode = pMode->next;
+   } while (pMode != NULL && pMode != pScrn->modes);

pScrn->currentMode = pScrn->modes;
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[PATCH] fontmisc.h

2005-01-27 Thread Jeff Chua
The latest CVS can't compile bdfread.c
Attached is a patch to make it work on gcc version 2.95.3 20010315.
gcc -c -ansi -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls 
-Wnested-externs -Wundef  -I../../../include/fonts -I../include 
-I../../.. -I../../../exports/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   -DBDFFORMAT 
-DPCFFORMAT -DSNFFORMAT  -O2 -fno-strength-reduce   bdfread.c -o 
unshared/bdfread.o
...
bdfread.c:482: parse error before `;'
bdfread.c:291: label `BAILOUT' used but not defined
bdfread.c: At top level:
bdfread.c:490: parse error before `->'
bdfread.c:491: warning: type defaults to `int' in declaration of `i'
bdfread.c:491: warning: data definition has no type or storage class
bdfread.c:492: parse error before `for'
bdfread.c:512: parse error before `->'
make[4]: *** [bdfread.o] Error 1
make[4]: Leaving directory `/v6/src2/xfree86/xc/lib/font/bitmap'

Thanks,
Jeff
--- xfree86/xc/lib/font/include/fontmisc.h.org  Fri Jan 28 14:07:38 2005
+++ xfree86/xc/lib/font/include/fontmisc.h  Fri Jan 28 14:07:41 2005
@@ -93,8 +93,7 @@
 #else
 #define xalloc(n) Xllalloc((unsigned long long)n)
 #define xrealloc(p,n) Xllrealloc((pointer)p, (unsigned long long)n)
-#define xcalloc(n,s)  Xllcalloc(((unsigned long long)n) *
- ((unsigned long long)s))
+#define xcalloc(n,s)  Xllcalloc(((unsigned long long)n) * ((unsigned long 
long)s))
 #endif
 #define xfree(p)  Xfree((pointer)p)
 #endif
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: dixsym.c:353: `LogTypeToTxt' undeclared

2005-01-27 Thread Jeff Chua
[ [EMAIL PROTECTED] ]
On Wed, 26 Jan 2005, David Dawes wrote:
On Thu, Jan 27, 2005 at 09:40:30AM +0800, Jeff Chua wrote:
dixsym.c:353: `LogTypeToTxt' undeclared here (not in a function)
I committed the fix for this a little while ago.
Still not in the CVS yet.
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


dixsym.c:353: `LogTypeToTxt' undeclared

2005-01-26 Thread Jeff Chua
dixsym.c:353: `LogTypeToTxt' undeclared here (not in a function)
dixsym.c:353: initializer element is not constant
dixsym.c:353: (near initialization for `dixLookupTab[198].offset')
make[5]: *** [dixsym.o] Error 1
make[5]: Leaving directory 
`/v6/src2/xfree86/xc/programs/Xserver/hw/xfree86/loader'

Any fix for this?
Thanks,
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: (no subject) - Symbol Xllalloc ...unresolved! (fwd)

2005-01-13 Thread Jeff Chua
On Thu, 13 Jan 2005, Marc Aurele La France wrote:
Symbol Xllalloc from module /usr/X11R6/lib/modules/fonts/libspeedo.a is 
unresolved!

That's an oversight on my part.  I've just committed a fix that adds these 
sybols to hw/xfree86/loader/dixsym.c.  Thanks for pointing out the problem.
Ok, the lastest CVS with your fix now solves the problem.
Thank you.
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: (no subject) - Symbol Xllalloc ...unresolved!

2005-01-13 Thread Jeff Chua
On Thu, 13 Jan 2005, Marc Aurele La France wrote:
Symbol Xllalloc from module /usr/X11R6/lib/modules/fonts/libspeedo.a is 
unresolved!

That's an oversight on my part.  I've just committed a fix that adds these 
sybols to hw/xfree86/loader/dixsym.c.  Thanks for pointing out the problem.
Ok, the lastest CVS with your fix now solves the problem.
Thank you.
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


(no subject)

2005-01-13 Thread Jeff Chua
lastest CVS gives the following error when issuing "startx" ...
Symbol Xllalloc from module /usr/X11R6/lib/modules/fonts/libspeedo.a is 
unresolved!
Symbol Xllrealloc from module /usr/X11R6/lib/modules/fonts/libspeedo.a is 
unresolved!

This should not happen!
An unresolved function was called!
Fatal server error:
No problem a few days ago.
Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


undefined reference to `pciWriteWprd'

2005-01-05 Thread Jeff Chua
Got the following with the latest cvs ...
gcc -o scanpci -O2 -fno-strength-reduce -ansi -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wredundant-decls -Wnested-externs -Wundef 
-L../../../../../exports/lib   scanpci.o -L../os-support -lxf86_os 
-L../scanpci -lscanpci -L../dummylib -ldummy 
-Wl,-rpath-link,../../../../../exports/lib
../os-support/libxf86_os.a(Pci.o)(.text+0x131d): In function 
`xf86scanpci':
: undefined reference to `pciWriteWprd'
collect2: ld returned 1 exit status
make[6]: *** [scanpci] Error 1
make[6]: Leaving directory 
`/v6/src2/xfree86/xc/programs/Xserver/hw/xfree86/etc'
make[5]: *** [all] Error 2

Gcc 2.95.3
Linux 2.6.10
Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: GLX/DRI changes break make World

2004-12-20 Thread Jeff Chua
On Mon, 20 Dec 2004, Marc Aurele La France wrote:
On Mon, 20 Dec 2004, Andrew C Aitchison wrote:
The recent GLX/DRI changes break make World.
The first error is
`../../../../../../lib/GL/dri/glcontextmodes.o', needed by `gamma_dri.so'.

Are these from a fresh checkout?  Or a `cvs update` overlaid on top?  I don't 
see these on any of my fresh builds.
I encountered the same problem too. I use "cvs -f checkout xc". Also tried 
with a new xc directory before running cvs checkout, and still having the 
same problem.

Jeff.
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: cvs compile failed: fbdev

2004-09-04 Thread Jeff Chua
On Fri, 3 Sep 2004, Marc Aurele La France wrote:
I don't know what the problem is, but it does seem that under 
/usr/include/linux, your fb.h and list.h are not what they should be.
They came straigt from linux-2.6.9rc1.
I realized that the cvs compiles fine with linux-2.4, but not the fbdev 
doesn't compile under 2.6.9rc1.

Jeff
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


cvs compile failed: fbdev

2004-08-29 Thread Jeff Chua
latest cvs has this problem. Just downloaded today.
gcc -c -O2 -fno-strength-reduce -ansi -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wredundant-decls -Wnested-externs -Wundef 
-I../../../../../programs/Xserver/hw/tinyx 
-I../../../../../programs/Xserver/hw/tinyx/linux 
-I../../../../../exports/include/X11 -I../../../../../include/fonts 
-I../../../../../programs/Xserver/fb -I../../../../../programs/Xserver/mi 
-I../../../../../programs/Xserver/Xext 
-I../../../../../programs/Xserver/miext/shadow 
-I../../../../../programs/Xserver/miext/layer 
-I../../../../../programs/Xserver/include 
-I../../../../../programs/Xserver/os 
-I../../../../../include/extensions -I../../../../../exports/include/X11 
-I../../../../../programs/Xserver/render 
-I../../../../../programs/Xserver/randr -I.  -I../../../../.. 
-I../../../../../exports/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 
-DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV 
-DPANORAMIX  -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV 
-DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server 
-DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG 
-DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG   -DFUNCPROTO=15 
-DNARROWPROTO   -DXIPAQ   fbdev.c
In file included from /usr/include/linux/fb.h:5,
 from fbdev.h:28,
 from fbdev.c:70:
/usr/include/linux/list.h:700: warning: #warning "don't include kernel 
headers in userspace"
In file included from fbdev.h:28,
 from fbdev.c:70:
/usr/include/linux/fb.h:286: field `modelist' has incomplete type
In file included from fbdev.h:29,
 from fbdev.c:70:
/usr/include/unistd.h:966: warning: redundant redeclaration of `ctermid' 
in same scope
/usr/include/stdio.h:585: warning: previous declaration of `ctermid'
In file included from /usr/include/string.h:360,
 from ../../../../../exports/include/X11/Xos.h:93,
 from ../../../../../programs/Xserver/hw/tinyx/tinyx.h:74,
 from fbdev.h:31,
 from fbdev.c:70:
/usr/include/bits/string2.h: In function `__mempcpy_small':
/usr/include/bits/string2.h:250: warning: pointer of type `void *' used in 
arithmetic
/usr/include/bits/string2.h:254: warning: pointer of type `void *' used in 
arithmetic
/usr/include/bits/string2.h:258: warning: pointer of type `void *' used in 
arith
fbdev.c: In function `fbdevScreenInit':
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
make[5]: *** [fbdev.o] Error 1
make[5]: Leaving directory 
`/v6/src2/xfree86/xc/programs/Xserver/hw/tinyx/fbdev'
make[4]: *** [hw/tinyx/fbdev] Error 2
make[4]: Leaving directory `/v6/src2/xfree86/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/v6/src2/xfree86/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/v6/src2/xfree86/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/v6/src2/xfree86/xc'
make: *** [World] Error 2

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


Re: cvs compile failed

2004-06-28 Thread Jeff Chua
On Mon, 28 Jun 2004, Andrew C Aitchison wrote:
On Wed, 23 Jun 2004, David Dawes wrote:
Turn XItsyServer off by default (it doesn't build).
in xc/config/cf/xfree86.cf
You probably need to do a make World (or at least make Makefiles)
in the top level to get this change to take effect.

You're right. "make World" does the trick. Compiles ok now.
The only tweak I had to do is to disable TOSHIBA_SMM in
xc/programs/Xserver/hw/tinyx/vesa/vesa.c
// line 1479
#undef TOSHIBA_SMM
#if TOSHIBA_SMM
Without that, vesa.c will fail to compile.

Thanks,
Jeff
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: cvs compile failed

2004-06-27 Thread Jeff Chua
On Wed, 23 Jun 2004, David Dawes wrote:
On Wed, Jun 23, 2004 at 11:24:54AM +0100, Dr Andrew C Aitchison wrote:
I'll fix xfree86.cf to turn XItsyServer off by default.  I expect that
the tinyx/itsy ought to be removed.

Any chance of this happening soon? The latest CVS still fails.
In file included from ../../../../../exports/include/X11/Xos.h:164,
 from ../../../../../programs/Xserver/hw/tinyx/tinyx.h:74,
 from itsy.h:24,
 from itsy.c:70:
/usr/include/unistd.h: At top level:
/usr/include/unistd.h:966: warning: redundant redeclaration of `ctermid' 
in same scope
/usr/include/stdio.h:585: warning: previous declaration of `ctermid'
itsy.c:78: warning: no previous prototype for `itsyCardInit'
itsy.c: In function `itsyCardInit':
itsy.c:87: `FB_LCD_PARAMS' undeclared (first use in this function)
itsy.c:87: (Each undeclared identifier is reported only once
itsy.c:87: for each function it appears in.)
itsy.c:92: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:95: warning: unsigned int format, pointer arg (arg 3)
itsy.c:81: warning: unused variable `pixels'
itsy.c: At top level:
itsy.c:108: warning: no previous prototype for `itsyScreenInit'
itsy.c: In function `itsyScreenInit':
itsy.c:111: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:112: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:113: structure has no member named `depth'
itsy.c:113: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:114: structure has no member named `bitsPerPixel'
itsy.c:114: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:115: structure has no member named `byteStride'
itsy.c:115: invalid use of undefined type `struct FbLcdParamsStruct'


Thanks,
Jeff
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


cvs compile failed

2004-06-22 Thread Jeff Chua
Just downloaded the lastest cvs. Failed to compile.
itsy.c:78: warning: no previous prototype for `itsyCardInit'
itsy.c: In function `itsyCardInit':
itsy.c:87: `FB_LCD_PARAMS' undeclared (first use in this function)
itsy.c:87: (Each undeclared identifier is reported only once
itsy.c:87: for each function it appears in.)
itsy.c:92: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:95: warning: unsigned int format, pointer arg (arg 3)
itsy.c:81: warning: unused variable `pixels'
itsy.c: At top level:
itsy.c:108: warning: no previous prototype for `itsyScreenInit'
itsy.c: In function `itsyScreenInit':
itsy.c:111: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:112: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:113: structure has no member named `depth'
itsy.c:113: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:114: structure has no member named `bitsPerPixel'
itsy.c:114: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:115: structure has no member named `byteStride'
itsy.c:115: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:116: structure has no member named `pixelStride'
itsy.c:116: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:117: invalid use of undefined type `struct FbLcdParamsStruct'

Thanks,
Jeff
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: i830 screen black after resume on 4.4

2004-04-12 Thread Jeff Chua
On Mon, 12 Apr 2004, Alan Hourihane wrote:
> Have you tried adding
> Option "VBERestore" "false"

Tried, but still doesn't work.


On Sun, 11 Apr 2004, Alex Deucher wrote:
> Can you narrow down the exact change that caused the problem?

I looked into why 4_3_99_9 works, and anything after doesn't, and realized
that this portion of the code causes the problem.


--- i830_driver.c.org  Mon Apr 12 22:25:53 2004
+++ i830_driver.c Mon Apr 12 22:29:29 2004
@@ -2147,6 +2147,14 @@
vbeFree(pVbe);

 #if defined(XF86DRI)
+   /* Load the dri module if requested. */
+   if (xf86ReturnOptValBool(pI830->Options, OPTION_DRI, FALSE) &&
+   !pI830->directRenderingDisabled) {
+  if (xf86LoadSubModule(pScrn, "dri")) {
+xf86LoaderReqSymLists(I810driSymbols, I810drmSymbols, NULL);
+  }
+   }
+
if (!pI830->directRenderingDisabled) {
   if (!xf86LoadSubModule(pScrn, "shadow")) {
 PreInitCleanup(pScrn);


It seems that loading the DRI causes the screen to go blank after resume.
If I don't suspend/resume, screen works fine.

Next, I tried disabling DRI ...

Option  "DRI"   "off"

and that fixes the problem. Screen restores correctly after resume.

I don't know how to fix the DRI to get it to restore the screen after
resume, but if someone is willing to provide guidance, I'll be more than
willing to help.

Thanks,
Jeff.


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


Re: i830 screen black after resume on 4.4

2004-04-11 Thread Jeff Chua
I've checked the CVS, and found that the i810 driver up to 4_3_99_9 works
after resume, but anything after 4_3_99_9 has the same problem of
displaying black screen after apm resume.

Is there anyone else having this problem? I'm running on IBM X30 ThinkPad.


Thanks,
Jeff

On Sat, 10 Apr 2004, Jeff Chua wrote:

>
> still doesn't work. But why _old_ version works better than new one?
>
> Usually newer version should works better, but in this case, it looks like
> going one step back ...
>
>
> Thanks,
> Jeff
> [ [EMAIL PROTECTED] ]
>
> On Fri, 9 Apr 2004, Alex Deucher wrote:
>
> > --- Jeff Chua <[EMAIL PROTECTED]> wrote:
> > > I'm getting black screen after power resume on version 4.4.99.2.
> > > I can see the mouse, all window frames, but black contents.
> > >
> > > No such problem with 4.3.0.
> > >
> > > Tested on linux 2.4.26-rc2 and 2.6.5
> > >
> > > I'm using apm to resume, and with 4.3.0, it works fine.
> >
> > You might try changing the VT prior to suspending if you are not
> > already.
> >
> > Alex
> >
> > >
> > > Thanks,
> > > Jeff
> > > [ [EMAIL PROTECTED] ]
> >
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Small Business $15K Web Design Giveaway
> > http://promotions.yahoo.com/design_giveaway/
> > ___
> > Devel mailing list
> > [EMAIL PROTECTED]
> > http://XFree86.Org/mailman/listinfo/devel
> >
>
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: i830 screen black after resume on 4.4

2004-04-09 Thread Jeff Chua
still doesn't work. But why _old_ version works better than new one?

Usually newer version should works better, but in this case, it looks like
going one step back ...


Thanks,
Jeff
[ [EMAIL PROTECTED] ]

On Fri, 9 Apr 2004, Alex Deucher wrote:

> --- Jeff Chua <[EMAIL PROTECTED]> wrote:
> > I'm getting black screen after power resume on version 4.4.99.2.
> > I can see the mouse, all window frames, but black contents.
> >
> > No such problem with 4.3.0.
> >
> > Tested on linux 2.4.26-rc2 and 2.6.5
> >
> > I'm using apm to resume, and with 4.3.0, it works fine.
>
> You might try changing the VT prior to suspending if you are not
> already.
>
> Alex
>
> >
> > Thanks,
> > Jeff
> > [ [EMAIL PROTECTED] ]
>
>
> __
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway
> http://promotions.yahoo.com/design_giveaway/
> ___
> Devel mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/devel
>
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


i830 screen black after resume on 4.4

2004-04-09 Thread Jeff Chua
I'm getting black screen after power resume on version 4.4.99.2.
I can see the mouse, all window frames, but black contents.

No such problem with 4.3.0.

Tested on linux 2.4.26-rc2 and 2.6.5

I'm using apm to resume, and with 4.3.0, it works fine.

Thanks,
Jeff
[ [EMAIL PROTECTED] ]
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


cvs hangs at "xc/workInProgress/xsm" ...

2004-01-07 Thread Jeff Chua
I've been having trouble download XFree86 using cvs. It started happening
few days ago, and always hang at "xc/workInProgress/xsm" ...

...
cvs server: Updating xc/workInProgress/record/lib
cvs server: Updating xc/workInProgress/record/lib/Xtst
cvs server: Updating xc/workInProgress/record/programs
cvs server: Updating xc/workInProgress/record/programs/Xserver
cvs server: Updating xc/workInProgress/record/programs/Xserver/Xext
cvs server: Updating xc/workInProgress/xsm



Here're the commands I typed ...

export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs
cvs login
cvs checkout modules
cvs checkout xc


Thanks,
Jeff
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


cvs "hang" at xc/workInProgress/xsm

2004-01-07 Thread Jeff Chua
I've been having trouble download XFree86 using cvs. It started happening
few days ago, and always hang at "xc/workInProgress/xsm" ...

...
cvs server: Updating xc/workInProgress/record/lib
cvs server: Updating xc/workInProgress/record/lib/Xtst
cvs server: Updating xc/workInProgress/record/programs
cvs server: Updating xc/workInProgress/record/programs/Xserver
cvs server: Updating xc/workInProgress/record/programs/Xserver/Xext
cvs server: Updating xc/workInProgress/xsm



Here're the commands I typed ...

export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs
cvs login
cvs checkout modules
cvs checkout xc


Thanks,
Jeff
[ [EMAIL PROTECTED] ]
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


how to set Xcursor theme in 4.4.0 RC 1

2003-12-17 Thread Jeff Chua
Setting Xcursor theme in ~/.Xdefaults "Xcursor.theme: redglass" doesn't
seem to work anymore.

What is the proper way to set mouse color?


Thanks,
Jeff
[ [EMAIL PROTECTED] ]

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