#13 Compiling for modular Xorg

open
nobody
None
5
2008-07-02
2008-07-02
Nate
No

Following the directions here:

http://xf4vnc.sourceforge.net/modular.html

I'm attempting to build xf4vnc with GLX (which I assume is required in order for OpenGl to work properly over vncsessions)

I get to this point:

cd ~/xf4vnc/modular/src/xserver
./autogen.sh --prefix=${DEST} --disable-dbus --enable-glx --with-mesa-source=${MESA}
make install

I tried MESA 6.5.3, 7.0.1, 7.0.2, 7.0.3 source from the sourceforge MESA project,

all but 7.0.3 fail to link properly. with 7.0.3 it completes is autogen correctly but when I make I get a ton of errors from glxdri.c

the first few of which are:

glxdri.c:79: error: expected specifier-qualifier-list before ‘__DRIcopySubBufferExtension’
glxdri.c:112: error: ‘__DRI_CREATE_NEW_SCREEN_STRING’ undeclared here (not in a function)
glxdri.c: In function ‘__glXDRIleaveServer’:
glxdri.c:122: error: ‘__GLXDRIscreen’ has no member named ‘lastTexOffsetOverride’
glxdri.c:122: warning: initialization makes integer from pointer without a cast
glxdri.c:125: error: ‘__GLXDRIscreen’ has no member named ‘texOffsetOverride’
glxdri.c:125: warning: initialization from incompatible pointer type
glxdri.c:131: error: ‘__GLXDRIdrawable’ has no member named ‘texname’
glxdri.c:132: error: ‘__GLXDRIdrawable’ has no member named ‘offset’
glxdri.c:133: error: ‘__GLXDRIscreen’ has no member named ‘texOffsetStart’
glxdri.c:133: error: called object ‘<erroneous-expression>’ is not a function
glxdri.c:133: warning: statement with no effect
glxdri.c:144: error: ‘__GLXDRIscreen’ has no member named ‘lastTexOffsetOverride’
glxdri.c:144: warning: initialization makes integer from pointer without a cast
glxdri.c:147: error: ‘__GLXDRIscreen’ has no member named ‘texOffsetOverride’
glxdri.c:147: warning: initialization from incompatible pointer type
glxdri.c:153: error: ‘__GLXDRIdrawable’ has no member named ‘texname’

Any help would be greatly appreciated. Thank you.

Discussion

  • Nate
    Nate
    2008-07-02

    The error log of the build

     
    Attachments