Subject: Re: ag10e not compiled for sparc?
To: Michael Lorenz <macallan@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 09/02/2007 23:29:35
Hi,
On Sun, Sep 02, 2007 at 01:56:45PM -0400, Michael Lorenz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> On Sep 2, 2007, at 11:39, Kurt Schreiner wrote:
>
> >just got this "Error" cross-compiling sparc on i386:
> >
> >checkflist ===> distrib/sets
> >
> >====== 3 missing files in DESTDIR ========
> >Files in flist but missing from DESTDIR.
> >File wasn't installed ?
> >------------------------------------------
> >./usr/X11R6/lib/modules/drivers/ag10e_drv.o
> >./usr/X11R6/man/cat4/ag10e.0
> >./usr/X11R6/man/man4/ag10e.4
> >======== end of 3 missing files ==========
> >--- checkflist ---
> >*** [checkflist] Error code 1
> >1 error
> >
> >nbmake: stopped in /u/NetBSD/src/distrib/sets
> >--- distribution ---
> >*** [distribution] Error code 2
> >1 error
> >
> >nbmake: stopped in /u/NetBSD/src
> >
> >ERROR: Failed to make distribution
> >*** BUILD ABORTED ***
>
> You should update src/distrib then because I fixed this a few minutes
> after committing the driver.
Hm, the three "ag10e" lines above _are_ in distrib/sets/lists/xserver/md.sparc
but neither module nor man pages are build! There's nothing about ag10e in
.../obj/x11/Xserver/hw/xfree86/drivers:
>-1037: /u/NetBSD/hshutti/sparc/obj/x11/Xserver/hw/xfree86/drivers
>-1038: ll
total 17
drwxr-x--- 15 ks staff - 512 Sep 2 22:29 ./
drwxr-x--- 31 ks staff - 512 Sep 2 22:29 ../
drwxr-x--- 2 ks staff - 1024 Sep 2 23:07 ati/
drwxr-x--- 2 ks staff - 1536 Sep 2 23:08 atimisc/
drwxr-x--- 2 ks staff - 512 Sep 2 23:07 pnozz/
drwxr-x--- 2 ks staff - 512 Sep 2 23:07 r128/
drwxr-x--- 2 ks staff - 512 Sep 2 23:07 radeon/
drwxr-x--- 2 ks staff - 512 Sep 2 23:07 sunbw2/
drwxr-x--- 2 ks staff - 512 Sep 2 23:07 suncg14/
drwxr-x--- 2 ks staff - 512 Sep 2 23:07 suncg3/
drwxr-x--- 2 ks staff - 512 Sep 2 23:07 suncg6/
drwxr-x--- 2 ks staff - 1536 Sep 2 23:08 sunffb/
drwxr-x--- 2 ks staff - 1024 Sep 2 23:07 sunleo/
drwxr-x--- 2 ks staff - 512 Sep 2 23:07 suntcx/
drwxr-x--- 2 ks staff - 512 Sep 2 23:07 wsfb/
Adding ag10e to src/x11/Xserver/hw/xfree86/drivers/Makefile remedies
the problem.
>-1047: cvs diff -u x11/Xserver/hw/xfree86/drivers/Makefile
Index: x11/Xserver/hw/xfree86/drivers/Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/drivers/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- x11/Xserver/hw/xfree86/drivers/Makefile 22 Apr 2007 23:42:38 -0000 1.19
+++ x11/Xserver/hw/xfree86/drivers/Makefile 2 Sep 2007 21:28:01 -0000
@@ -31,7 +31,7 @@
.if ${MACHINE} == "sparc"
SUBDIR= sunleo suncg6 suncg3 suncg14 suntcx sunbw2 pnozz ati atimisc \
- r128 radeon wsfb sunffb
+ r128 radeon wsfb sunffb ag10e
.endif
.if ${MACHINE} == "shark"
Kurt