> Date: Sun, 16 Mar 2014 16:52:09 +0100
> From: Jan Stary <[email protected]>
> 
> On Mar 12 16:44:10, [email protected] wrote:
> > Now that we have KMS, giving userland access to AGP through /dev/agp0
> > is no longer necessary.  As far as I can tell none of the drivers we
> > ship in xenocara still use this.
> 
> Back when we had appleagp, my PowerBook6,1 and MacMini were happier.
> So I tried to just reenable
> 
>   appleagp*       at pchb?
>   agp*            at appleagp?    # AGP bridges
> 
> in my kernel config, but this diff below seems to break it:
> 
> cc  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-main
> -Wno-uninitialized -Wno-format  -Wstack-larger-than-2047 -msoft-float
> -Wa,-many -fno-builtin-printf -fno-builtin-snprintf
> -fno-builtin-vsnprintf -fno-builtin-log  -fno-builtin-log2
> -fno-builtin-malloc  -O2 -pipe -nostdinc -I../../../.. -I.
> -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS
> -DPTRACE -DPOOL_DEBUG -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM
> -DUVM_SWAP_ENCRYPT -DCOMPAT_43 -DLKM -DFFS -DFFS2 -DFFS_SOFTUPDATES
> -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660
> -DUDF -DMSDOSFS -DFIFO -DTMPFS -DFUSE -DSOCKET_SPLICE -DTCP_SACK
> -DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP
> -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DPCIVERBOSE
> -DUSBVERBOSE -DADBVERBOSE -DALTIVEC -DAPERTURE -DWSDISPLAY_COMPAT_USL
> -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6"
> -DWSDISPLAY_COMPAT_PCVT -DUSER_PCICONF -DONEWIREVERBOSE -DMAXUSERS=80
> -D_KERNEL -D__macppc__ -MD -MP  -c ../../../../arch/macppc/macppc/conf.c
> ../../../../arch/macppc/macppc/conf.c:235: error: 'cdev_notdef'
> undeclared here (not in a function)

That's a typo.  Should be cdev_notdef() instead of cdev_notdef.  Fixed
in the tree now.

Reply via email to