<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> </DIV>
<DIV>I have few issues compiling Xorg 7.0.0 drivers.</DIV>
<DIV> </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> </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> </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> </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> </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> </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> </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> </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> </DIV>
<DIV>Sorry for too many issues in one email. But I thought single email somewhat shorten the traffic.</DIV>
<DIV> </DIV>
<DIV>Any help is appreciated...</DIV>
<DIV> </DIV>
<DIV>-Chand</DIV></div></body></html>