Hi, I'm trying to compile XFree86 4.1.0 from sources; everything I've
read about getting TV in/out to work for an AIW Radeon suggests this
is necessary. The build works fine, but whenever I run X, it crashes.

I'm running Linux kernel 2.4.12 with the most recent version of glibc,
and am using the GNU binutils and compiler, also very recent versions
(eg, gcc is 2.95.3). X runs fine if I install the binaries from the
4.1.0 release, but then I can't get my TV in/out to work. I'm running
the Linux From Scratch system with a bunch of other stuff added on,
like GNOME.

Below is my site.def and a log of X output before it crashes. (There
isn't much ... ) Site.def is attached because I can't get gedit to
paste it into Mozilla for some reason >_>

Anyway, thanks in advance for any pointers.
Matt

===============================================================================

XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.12 i686 [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Oct 14 15:14:47 2001
(==) Using config file: "/etc/X11/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
          (++) from command line, (!!) notice, (II) informational,
          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "NEC 4FG'"
(**) |   |-->Device "ATI All-in-Wonder Pro'"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbDisable"
(**) XKB: disabled
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(WW) Cannot open APM
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.1
        XFree86 Video Driver: 0.4
        XFree86 XInput driver : 0.2
        XFree86 Server Extension : 0.1
        XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: "bitmap"

Segmentation fault. <===== Not in the log, but output to the console.
XCOMM site:  $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $

/***************************************************************************
 *                                                                         *
 *                         SITE-SPECIFIC DEFINITIONS                       *
 *                                                                         *
 * This file contains two halves, one included before the vendor-specific  *
 * configuration file (.cf file), and one included after the .cf file.     *
 * The before-half should be protected by #ifdef BeforeVendorCF, and the   *
 * after-half should be protected by #ifdef AfterVendorCF.                 *
 *                                                                         *
 * The before-half should only set things that the .cf file depends on.    *
 * For the .cf files shipped in this release, the main variables in this   *
 * category are HasGcc, HasGcc2, HasCplusplus, OSMajorVersion,             *
 * OSMinorVersion, and OSTeenyVersion.                                     *
 *                                                                         *
 * The after-half should contain all other definitions.  For example,      *
 * place your ProjectRoot definition here.                                 *
 *                                                                         *
 * OS Major and Minor version numbers should be changed directly in the    *
 * .cf file, not overridden in site.def.                                   *
 *                                                                         *
 ***************************************************************************/
XCOMM site:  $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $

/* if you want host-specific customization, this is one way to do it */
/*
#ifndef SiteIConfigFiles
#define SiteIConfigFiles $(IRULESRC)/host.def
#define LocalConfigFiles host.def
#endif
*/


#ifdef BeforeVendorCF

#if defined(NetBSDArchitecture) && defined(Arm32Architecture)
/*
 * Our kernel is 1.2C, but at user-level we're still 1.2 -JJK
 */
#define OSTeenyVersion 0

/*
 * This causes a problem with the X server, so I'm disabling it for now. -JJK
 */
#define BuildXKB              NO
#endif


#define OSMajorVersion 2
#define OSMinorVersion 4
#define OSTeenyVersion 12
#define LinuxDistribution LinuxUnknown
#define HasPAM YES
#define HasZlib YES
#define BuildFreetype2Library YES
#   define HasMMXSupport        YES
#   define Has3DNowSupport      YES
#   define HasKatmaiSupport     YES
# define ThreadsLibraries       -lpthread
/* <linux/input.h> support mainly for USB support */
#ifndef HasLinuxInput
# if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 4)
#  define HasLinuxInput YES
# endif
#endif
/* On x86, determine whether to build with MTRR support */
#ifndef HasMTRRSupport
# ifdef i386Architecture
/* There is no certain way to know if <asm/mtrr.h> is available,
   but it made it into kernel 2.2, so... */
#  if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 2)
#   define HasMTRRSupport       YES
#  else
#   define HasMTRRSupport       NO
#  endif
# else
#  define HasMTRRSupport        NO      /* no for non-ix86 */
# endif
#endif
#    define BuildXF86DRI        YES
#          define BuildXF86DRM  YES
#    define HasAgpGart  YES
# define LinuxFBDevSupport      YES
#  define HasShadowPasswd       YES
#define i386Architecture


/*
 * Include this for easy XFree86 customisations
 */
#ifndef SiteIConfigFiles
#define SiteIConfigFiles $(IRULESRC)/xf86site.def $(IRULESRC)/host.def
#endif

#include <host.def>

#include <xf86site.def>

/* On systems where cpp doesn't expand correctly macros in include directives
 * the two following macros need to be defined directly (where "X11" is
 * really whatever the TopLevelProject macro is defined to be).
 */
# if defined(AIXArchitecture) || defined(SVR4Architecture) || \
     defined(SCOArchitecture) || defined(Win32Architecture) || \
     defined(UXPArchitecture) || defined(SunArchitecture) || \
     defined(DynixPtxArchitecture) || defined(i386IscArchitecture)
#  ifndef ProjectRulesFile
#   define ProjectRulesFile     <X11.rules>
#  endif
#  ifndef ProjectTmplFile
#   define ProjectTmplFile      <X11.tmpl>
#  endif
# endif

#ifndef HasGcc2
#define HasGcc2 YES
#endif

#endif /* BeforeVendorCF */

#ifdef AfterVendorCF

#ifndef ProjectRoot
#define ProjectRoot /usr/X11R6
#endif

/*
 * On some platforms, some things may be installed outside of ProjectRoot
 * by default.  To disable this, uncomment the following line.
 *
 */
#define NothingOutsideProjectRoot YES

/*
 * Set EtcX11Directory if you want config file links installed under
 * ProjectRoot rather than in /etc/X11.  See also HasVarDirectory,
 * UseEtcX11 and UseSeparateConfDir.
 *
#define EtcX11Directory ProjectRoot/etc
 */


/* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */
/* #define HasXdmAuth YES */

/*
#if defined(SunArchitecture) && defined(SparcArchitecture)
#define HasCodeCenter   YES
#ifndef SVR4Architecture
#define HasTestCenter   YES
#endif
#endif
*/

/*
#ifdef __hp9000s800
#define HasCodeCenter   YES
#endif
*/

/*
#if defined(SunArchitecture) && defined(SparcArchitecture) && 
!defined(SVR4Architecture)
#define HasPurify       YES
#endif
*/

/*
#define HasSentinel     YES
*/

/*
#undef DefaultUserPath
#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
*/


/* You do NOT need SetUID if you only run the server under xdm */
/* You MAY need SetUID if users run the server by hand or under xinit */
/* Consult your system administrator before making the X server setuid */
/*
#if defined(SunArchitecture) && OSMajorVersion > 4
#define InstallXserverSetUID YES
#endif
*/

/* You do NOT need SetUID if you only run the server under xdm */
/* You MAY need SetUID if users run the server by hand or under xinit */
/* Consult your system administrator before making the X server setuid */
/*
#ifdef XFree86Version
#define InstallXserverSetUID YES
#endif
*/

#include <host.def>

#endif /* AfterVendorCF */

Reply via email to