xorg 6.8.2 won't compile

David Charles Todd dtodd at irobot.com
Fri Aug 26 08:24:01 PDT 2005


This must be a FAQ, but I couldn't find the answer.

I got 6.8.2, and I was trying to follow the directions from the DRI wiki 
for building a server to get 3D acceleration running under MACH64.

In compiling in xc, I get this error:

make[3]: Entering directory `/usr/local/src/X+dir/xc/lib/Xxf86vm'
../../config/makedepend/makedepend  --   -I../.. -I../../exports/include 
-I/usr/X11R6/include  -Dlinux -D__i386__ -D_POS
IX_C_SOURCE=199309L                             -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_S
OURCE -D_SVID_SOURCE                             
-D_GNU_SOURCE                            -DFUNCPROTO=15 -DNARROWPROTO -
DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL  
-DUSE_MAKEDEPEND -- XF86VMode.c
../../config/makedepend/makedepend: warning:  XF86VMode.c, line 38: 
cannot find include file "X11/Xlibint.h"
       not in ../../X11/Xlibint.h
       not in ../../exports/include/X11/Xlibint.h
       not in /usr/X11R6/include/X11/Xlibint.h
       not in /usr/local/lib/gcc-include/X11/Xlibint.h
       not in /usr/include/X11/Xlibint.h
       not in /usr/lib/gcc-lib/i586-suse-linux/3.3.5/include/X11/Xlibint.h
make[3]: Leaving directory `/usr/local/src/X+dir/xc/lib/Xxf86vm'

This is by no means an isolated problem.

What's going on? I have a hard time believing the source is broken out 
of the box, so it must be something I am missing.

The host.def I am using:

#define XFree86CustomVersion "Minimal DRI build from X.org tree"

/* Compiler options */
#define DefaultGcc2i386Opt -O2 -gstabs+ -pipe

/* DDX drivers to build: trim this list to your needs */
#define XF86CardDrivers ati

/* DRI drivers are built from Mesa CVS */
#define DriDrivers /**/
#define DevelDRIDrivers /**/

/* Build development (insecure) DRI-aware 2D drivers */
#define BuildDevelDRIDrivers YES

/* Only shared libGL */
#define NormalLibGlx NO

/* Link the drivers against static libexpat to make binary snapshots
* more usable and to reduce build problems on Linux machines without
* expat.
*/
#if defined(LinuxArchitecture) && !defined(AMD64Architecture)
# define ExpatLibrary           StaticLibrary($(BUILDLIBDIR),expat)
# define NormalLibExpat         YES
#endif

/* Optionally turn these on for debugging */
/* #define GlxBuiltInTdfx YES */
/* #define GlxBuiltInI810 YES */
/* #define GlxBuiltInMga YES */
/* #define GlxBuiltInR128 YES */
/* #define GlxBuiltInRadeon YES */
#define DoLoadableServer YES

/* Optionally turn this on to change the place where you install the build.
* Warning: trailing blanks will cause build failures.
*/
/* #define ProjectRoot /usr/X11R6-XORG */

/* Don't install anything outside the ProjectRoot directory */
#define NothingOutsideProjectRoot YES

/* #define UsrLibDir /usr/X11R6/lib */

/* Optionally build the Xnest, Xvfb and Xdmx servers */
#define XnestServer NO
#define XVirtualFramebufferServer NO
#define BuildDmx NO

/*
* Build as little as possible (usually no need to change anthing here)
*/
#define BuildServersOnly YES
#define BuildLibraries NO
#define BuildLibrariesForXServers NO
#define BuildLibrariesForConfigTools NO
#define BuildXIE NO
#define BuildPexExt NO
#define XF86AFB NO
#define XprtServer NO
#define BuildXprint NO
/* HasFontconfig avoids installing a new libfontconfig with its own
* configuration files. This way you keep your font configuration without
* copying configuration files around after make install. */
#define HasFontconfig YES

/*
* Don't change anything below or the build will fail.
*/
#define BuildXF86DRI YES
#define BuildXDriInfo YES
#define BuildGLXLibrary YES
#define BuildXdmcpLib YES
#define BuildXInputLib YES
#define BuildXvLibrary YES
#define BuildXF86VidModeLibrary YES
#define BuildXvMCLibrary YES
#define BuildExpatLibrary YES
#define SharedLibFont NO
#if DoLoadableServer
#undef XF1Bpp
#undef XF4Bpp
#define XF1Bpp NO
#define XF4Bpp NO
#endif



More information about the xorg mailing list