[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Xorg 7.0.0 RENDER flag and other compilation issues
From:       Display Guy <displayguy2 () yahoo ! com>
Date:       2006-05-30 23:35:49
Message-ID: 20060530233549.70806.qmail () web53312 ! mail ! yahoo ! com
[Download RAW message or body]

Hi,
 
I have few issues compiling Xorg 7.0.0 drivers.
 
#1) 
I am compiling the Xorg 7.0.0 drivers and got the following compilation errors:
 
#struct _Pixmap# has no member named #devPrivates#
#struct _Pixmap# has no member named #devPrivates#
#struct _XAAInfoRec# has no member named #CPUToScreenAlphaTextureFormats#
#struct _XAAInfoRec# has no member named #CPUToScreenAlphaTextureFlags#
#struct _XAAInfoRec# has no member named #CPUToScreenAlphaTextureFlags#
#struct _XAAInfoRec# has no member named #CPUToScreenAlphaTextureFlags#
#struct _XAAInfoRec# has no member named #SetupForCPUToScreenAlphaTexture#
#struct _XAAInfoRec# has no member named #SubsequentCPUToScreenAlphaTexture#
#struct _XAAInfoRec# has no member named #CPUToScreenTextureFormats#
#struct _XAAInfoRec# has no member named #CPUToScreenTextureFlags#
#struct _XAAInfoRec# has no member named #CPUToScreenTextureFlags#
#struct _XAAInfoRec# has no member named #SetupForCPUToScreenTexture#
#struct _XAAInfoRec# has no member named #SubsequentCPUToScreenTexture#

 
The problem is RENDER flag isn't enabled in the Makefile which is disabling the above \
members in XAAInfoRec structure. BTW, RENDER is already enabled in configure.ac as \
below:  
XORG_DRIVER_CHECK_EXT(RENDER, renderproto)

Isn't this should properly create -DRENDER some where in generated Makefile? 
To avoid this problem I manually edited generated Makefile to add -DRENDER.
 
#2) After compiling and prefix install the driver into /root/modular/ directory. I \
ran /root/modular/bin/startx. But this is complaining that driver is not available \
after searching in /usr/lib/xorg/modules/drivers. Any idea why it is searching in \
/usr/lib/xorg/modules/drivers instead of /root/modular/lib/xorg/modules/drivers \
directory. Btw, the script /root/modular/bin/startx which has all references to \
/root/modular directory.  
#3) Where is the xorg.conf file for prefixed build? Does the /root/modular/bin/startx \
uses /etc/X11/xorg.conf file, or I need to create a new file at \
/root/modular/etc/X11/xorg.conf to be used for /root/modular/bin/startx?   
#4) What Makefile.am or configure.ac option to link any stand alone libraries to \
driver? For example, I have a library to do fixed point manipulation and wants to \
simply link the library instead of compiling into driver.   
#5) Is it possible to load a shared library at runtime from the driver? If so, what \
is the default location? In Xorg 6.8.x and older the default location is \
/usr/X11R6/lib/modules. What is the equivalent location for Xorg 7.0.0? Any special \
handling to build the shared library other than gcc -shared option?  
Sorry for too many issues in one email. But I thought single email somewhat shorten \
the traffic.  
Any help is appreciated...
 
-Chand


[Attachment #3 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div \
style="font-family:times new roman, new york, times, \
serif;font-size:12pt"><DIV>Hi,</DIV> <DIV>&nbsp;</DIV>
<DIV>I have few issues compiling Xorg 7.0.0 drivers.</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><U>#1) </U></STRONG></DIV>
<DIV>I am compiling the Xorg 7.0.0 drivers and got the following compilation \
errors:</DIV> <DIV>&nbsp;</DIV>
<DIV>#struct _Pixmap# has no member named #devPrivates#<BR>#struct _Pixmap# has no \
member named #devPrivates#<BR>#struct _XAAInfoRec# has no member named \
#CPUToScreenAlphaTextureFormats#<BR>#struct _XAAInfoRec# has no member named \
#CPUToScreenAlphaTextureFlags#<BR>#struct _XAAInfoRec# has no member named \
#CPUToScreenAlphaTextureFlags#<BR>#struct _XAAInfoRec# has no member named \
#CPUToScreenAlphaTextureFlags#<BR>#struct _XAAInfoRec# has no member named \
#SetupForCPUToScreenAlphaTexture#<BR>#struct _XAAInfoRec# has no member named \
#SubsequentCPUToScreenAlphaTexture#<BR>#struct _XAAInfoRec# has no member named \
#CPUToScreenTextureFormats#<BR>#struct _XAAInfoRec# has no member named \
#CPUToScreenTextureFlags#<BR>#struct _XAAInfoRec# has no member named \
#CPUToScreenTextureFlags#<BR>#struct _XAAInfoRec# has no member named \
#SetupForCPUToScreenTexture#<BR>#struct _XAAInfoRec# has no member named \
#SubsequentCPUToScreenTexture#<BR></DIV> <DIV>&nbsp;</DIV>
<DIV>The problem is RENDER flag isn't enabled in the Makefile which is disabling the \
above members in <FONT color=#ff0000>XAAInfoRec</FONT> structure. BTW, RENDER is \
already enabled in configure.ac as below:</DIV> <DIV>&nbsp;</DIV>
<DIV>XORG_DRIVER_CHECK_EXT(RENDER, renderproto)<BR></DIV>
<DIV>Isn't this should properly create -DRENDER some where in generated Makefile? \
</DIV> <DIV>To avoid this problem I manually edited generated Makefile to add \
-DRENDER.</DIV> <DIV>&nbsp;</DIV>
<DIV><STRONG><U>#2)</U></STRONG> After compiling and prefix install the driver into \
/root/modular/ directory. I ran /root/modular/bin/startx. But this is complaining \
that driver is not available after searching in /usr/lib/xorg/modules/drivers. Any \
idea why it is searching in /usr/lib/xorg/modules/drivers instead of \
/root/modular/lib/xorg/modules/drivers directory. Btw, the script \
/root/modular/bin/startx which has all references to /root/modular directory.</DIV> \
<DIV>&nbsp;</DIV> <DIV><STRONG><U>#3)</U></STRONG> Where is the xorg.conf file for \
prefixed build? Does the /root/modular/bin/startx uses /etc/X11/xorg.conf file, or I \
need to create a new file at /root/modular/etc/X11/xorg.conf to be used for \
/root/modular/bin/startx? </DIV> <DIV>&nbsp;</DIV>
<DIV><STRONG><U>#4)</U></STRONG> What Makefile.am or configure.ac option to link any \
stand alone libraries to driver? For example, I have a library to do fixed point \
manipulation and wants to simply link the library instead of compiling into driver. \
</DIV> <DIV>&nbsp;</DIV>
<DIV><STRONG><U>#5)</U></STRONG> Is it possible to load a shared library at runtime \
from the driver? If so, what is the default location? In Xorg 6.8.x and older the \
default location is /usr/X11R6/lib/modules. What is the equivalent location for Xorg \
7.0.0? Any special handling to build the shared library other than gcc -shared \
option?</DIV> <DIV>&nbsp;</DIV>
<DIV>Sorry for too many issues in one email. But I thought single email somewhat \
shorten the traffic.</DIV> <DIV>&nbsp;</DIV>
<DIV>Any help is appreciated...</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Chand</DIV></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic