Subject: Re: XFree864.4 not starting
To: Steve Bellovin <smb@research.att.com>
From: Tom Ivar Helbekkmo <tih@eunetnorge.no>
List: current-users
Date: 03/10/2004 18:13:52
Steve Bellovin <smb@research.att.com> writes:
> I build and installed an up-to-date -current, including XFree86 4.4.
> The X server isn't starting. It complains about lots of undefined
> symbols -- but there's also a message in the log saying that that may
> not be the cause of the problem.
It is, though. I experienced exactly the same thing, and the problem
is that some source files needed for accellerated ATI Mach 64 hardware
are not compiled. This patch fixes it (and after you apply it, you
can get the new module into place by 'make clean', 'make', and 'make
install' in /usr/src/x11/Xserver/hw/xfree86/drivers/atimisc):
Index: Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/drivers/atimisc/Makefile,v
retrieving revision 1.2
diff -c -r1.2 Makefile
*** Makefile 7 Feb 2004 06:52:05 -0000 1.2
--- Makefile 10 Mar 2004 17:08:31 -0000
***************
*** 9,18 ****
# atiload.c atimisc.c only if loadable server
SRCS= atiaccel.c atiadjust.c aticlock.c aticonfig.c aticonsole.c \
! aticursor.c atidac.c atidsp.c atilock.c atimach64.c atimach64io.c \
! atimode.c atipreinit.c atiprint.c atirgb514.c atiscreen.c atiutil.c \
! ativalid.c atixv.c atibank.c ativga.c atiwonder.c atiwonderio.c \
! atidga.c atiload.c atimisc.c
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/ati \
-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
--- 9,19 ----
# atiload.c atimisc.c only if loadable server
SRCS= atiaccel.c atiadjust.c aticlock.c aticonfig.c aticonsole.c \
! aticursor.c atidac.c atidsp.c atii2c.c atilock.c atimach64.c \
! atimach64accel.c atimach64cursor.c atimach64i2c.c atimach64io.c \
! atimach64xv.c atimode.c atipreinit.c atiprint.c atirgb514.c \
! atiscreen.c atiutil.c ativalid.c atixv.c atibank.c ativga.c \
! atiwonder.c atiwonderio.c atidga.c atiload.c atimisc.c
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/drivers/ati \
-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
***************
*** 43,49 ****
-I${DESTDIR}${X11INCDIR}/X11 \
-I${DESTDIR}${X11INCDIR}/X11/extensions \
-I${XSERVERINCDIR}
!
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include "../../Makefile.drivermod"
--- 44,50 ----
-I${DESTDIR}${X11INCDIR}/X11 \
-I${DESTDIR}${X11INCDIR}/X11/extensions \
-I${XSERVERINCDIR}
!
.include <bsd.x11.mk>
LIBDIR= ${XMODULEDIR}
.include "../../Makefile.drivermod"
-tih
--
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway
www.eunet.no T: +47-22092958 M: +47-93013940 F: +47-22092901