Subject: xsrc/24735: XFree86 4.4 server won't start on ATI Mach 64 hardware
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <tih@Hamartun.Priv.NO>
List: netbsd-bugs
Date: 03/10/2004 19:59:26
>Number:         24735
>Category:       xsrc
>Synopsis:       X won't start on ATI Mach 64; unresolved externals
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 10 19:06:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tom Ivar Helbekkmo
>Release:        NetBSD 1.6ZH (current per March 10th 2004)
>Organization:
>Environment:
System: NetBSD barsoom.Hamartun.Priv.NO 1.6ZH NetBSD 1.6ZH (BARSOOM) #13: Tue Jan 13 12:32:41 CET 2004 root@barsoom.Hamartun.Priv.NO:/usr/local/obj/sys/arch/i386/compile.i386/BARSOOM i386
Architecture: i386
Machine: i386
>Description:
The X server won't start on ATI Mach 64 hardware, because the
dynamically loaded module atimisc_drv.o contains unresolved external
references.  The reason is actually that a few source files were
accidentally left out when building the module.
>How-To-Repeat:
Attempt to start X on said hardware.
>Fix:
Apply following patch (which also fixes a couple of white space nits):

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"


>Release-Note:
>Audit-Trail:
>Unformatted: