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

2005-04-07 Thread Marc Aurele La France
On Tue, 5 Apr 2005, Marc Aurele La France wrote:
On Tue, 5 Apr 2005, Marc Aurele La France wrote:
On Tue, 5 Apr 2005, Jeff Chua wrote:

Here's a patch to fix mmapr.c and mmapw.c so that compile under linux.

Thanks,
Jeff.
[ jchua AT fedex DOT com ]
[elided]
I agree with the typo fix (blush), but not with the removal of 
linux/pci.h's inclusion.  Instead try

cd whereever/xc/programs/Xserver/hw/xfree86/etc
touch mmap?.c
make EXTRA_DEFINES=-DLINUX_MOD_DEVICETABLE_H mmapr mmapw

If this works (and it does for me), then this is a kernel bug, introduced 
in 2.5.62.  Report it there.  linux/pci.h should only #include 
linux/mod_devicetable.h when __KERNEL__ is #define'd.

In the meantime, the work-around for mmap?.c would be to #define 
LINUX_MOD_DEVICETABLE_H before #include linux/pci.h, but that might cause 
other issues later on.

FWIW, this problem also shows up in linuxPci.c on alpha and sparc64.
I've just committed a change to fix the typo you reported and #define 
LINUX_MOD_DEVICETABLE_H where apprpriate.

Thanks.
Marc.
+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: missing libXinerama.so.1

2005-04-07 Thread Mark Vojkovich
   It's unfortunate that Metacity has that dependency.  The .so comes
with newer X-servers.  You can try to pull one out of newer X-server
packages.  I can mail you the library alone if want.

Mark.


On Wed, 6 Apr 2005, Manikandan Thangavelu wrote:

 Hi All,

 I am missing libXinerama.so.1 library in my machine. I want to upgrade
 my Metacity window manager which has this library as dependency.
 I do have libXinerama.a but not the .so file. Where can I get it?

 Thanks in Advance,
 Manikandan T

___
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


RE: missing libXinerama.so.1

2005-04-07 Thread Manikandan Thangavelu
Thanks Mark, it will be better if you can mail the library to me as I
would like to finish the upgradation as soon as possible.

Thanks in Advance,
Manikandan T


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Vojkovich
Sent: 07 April 2005 22:56
To: devel@XFree86.Org
Subject: Re: missing libXinerama.so.1 

   It's unfortunate that Metacity has that dependency.  The .so comes
with newer X-servers.  You can try to pull one out of newer X-server
packages.  I can mail you the library alone if want.

Mark.


On Wed, 6 Apr 2005, Manikandan Thangavelu wrote:

 Hi All,

 I am missing libXinerama.so.1 library in my machine. I want to upgrade
 my Metacity window manager which has this library as dependency.
 I do have libXinerama.a but not the .so file. Where can I get it?

 Thanks in Advance,
 Manikandan T

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel
Visit our Website at http://www.rmesi.co.in

This message is confidential. You should not copy it or disclose its contents 
to anyone. You may use and apply the information for the intended purpose only. 
Internet communications are not secure; therefore, RMESI does not accept legal 
responsibility for the contents of this message. Any views or opinions 
presented are those of the author only and not of RMESI. If this email has come 
to you in error, please delete it, along with any attachments. Please note that 
RMESI may intercept incoming and outgoing email communications. 

This email has been scanned for viruses by Trend ScanMail.

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