Date: Tue, 30 Apr 2002 11:33:47 -0400 From: Bush Doctor <guru@goku.cl.msu.edu> To: Stephen Hilton <nospam@hiltonbsd.com> Cc: freebsd-ports@FreeBSD.ORG, lx@matey.org, zietlow@securepipe.com Subject: Re: audio/aureal-kmod port unbuildable on 4.5-STABLE Message-ID: <20020430153347.GA77252@goku.cl.msu.edu> In-Reply-To: <20020429155654.23f7832e.nospam@hiltonbsd.com> References: <20020429155654.23f7832e.nospam@hiltonbsd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Out of da blue Stephen Hilton aka (nospam@hiltonbsd.com) said: > Build of aureal-kmod port fails on recent 4.5-STABLE here's a patch that allowed me to build aureal-kmod on my -CURRENT box. Not sure if you'll have to rebuild your kernel. > > 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Apr 24 19:11:23 CDT 2002 > > /usr/ports/audio/aureal-kmod > PORTNAME= aureal-kmod > PORTVERSION= 1.5 > PORTREVISION= 3 > CATEGORIES= audio > MASTER_SITES= http://home.columbus.rr.com/amatey/au88x0/ > DISTNAME= au88x0-${PORTVERSION}_${PORTREVISION} > > MAINTAINER= lx@matey.org > > -------------------------------------------------- > # make build > ===> Building for aureal-kmod-1.3_3 > ===> 10 > Warning: Object directory not changed from original /usr/ports/audio/aureal-kmod/work/10 > cc -O -pipe -march=pentiumpro -I/usr/ports/audio/aureal-kmod/work -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I/usr/ports/audio/aureal-kmod/work -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /usr/ports/audio/aureal-kmod/work/au88x0.c > /usr/ports/audio/aureal-kmod/work/au88x0.c: In function `au_pci_attach': > /usr/ports/audio/aureal-kmod/work/au88x0.c:793: too few arguments to function `snd_mtxcreate' > /usr/ports/audio/aureal-kmod/work/au88x0.c: At top level: > /usr/ports/audio/aureal-kmod/work/au88x0.c:942: sizeof applied to an incomplete type > *** Error code 1 > > Stop in /usr/ports/audio/aureal-kmod/work/10. > *** Error code 1 > > Stop in /usr/ports/audio/aureal-kmod/work. > *** Error code 1 > > Stop in /usr/ports/audio/aureal-kmod. > ----------------------------------------------- > > Thanks for looking into this. > > Regards, > > Stephen Hilton > nospam@hiltonbsd.com > #;@0 -- "Consider a spherical bear, in simple harmonic motion..." -- Professor in the UCB physics department bush doctor <bushdoc@goku.cl.msu.edu> --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-au88x0.c.good.20020429" --- work/au88x0.c Thu Jun 21 22:58:17 2001 +++ au88x0.c Mon Apr 29 16:11:19 2002 @@ -32,7 +32,8 @@ */ #include <dev/sound/pcm/sound.h> -#include <dev/sound/pci/au88x0.h> +#include "au88x0.h" +#include <sys/systm.h> #include <pci/pcireg.h> #include <pci/pcivar.h> @@ -796,7 +797,7 @@ bzero(au, sizeof(*au)); au->unit = device_get_unit(dev); au->dev_id = pci_get_devid(dev); - au->lock = snd_mtxcreate(device_get_nameunit(dev)); + au->lock = snd_mtxcreate(device_get_nameunit(dev), "sound cdev"); /* init softc list */ SLIST_INIT(&au_info_head); @@ -945,7 +946,7 @@ static driver_t au_driver = { "pcm", au_methods, - sizeof(struct snddev_info), + PCM_SOFTC_SIZE, }; --LZvS9be/3tNcYl/X-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020430153347.GA77252>