From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 3 10:45:35 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BA1116A401 for ; Mon, 3 Apr 2006 10:45:35 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (avh47.neoplus.adsl.tpnet.pl [83.27.41.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id C364C43D49 for ; Mon, 3 Apr 2006 10:45:33 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.4/8.13.4) with ESMTP id k33AjVEV032474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 3 Apr 2006 12:45:31 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <4430FCCC.2070806@orchid.homeunix.org> Date: Mon, 03 Apr 2006 12:45:32 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6B01CD58B2CB27D306C93CAB" X-Virus-Scanned: ClamAV 0.88/1368/Mon Apr 3 06:06:54 2006 on orchid.homeunix.org X-Virus-Status: Clean Subject: Does ariff's sound patch still work with 6.0-RELEASE? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 10:45:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6B01CD58B2CB27D306C93CAB Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Hi all, Did anyone successfully compile kernel on 6.0-RELEASE with ariff's sound patch recently? File in question: snd_RELENG_6_0_20060227_098.diff from http://people.freebsd.org/~ariff/ I'm trying to help another user (remotely) to get his VIA 8233 work with Skype on 6.0-RELEASE. However, he is unable to compile patched kernel (more information below). We tried few times, last step was: remove /usr/src/*, cvsup to RELENG_6_0, patch, make buildkernel (custom).= I'm asking here (I don't have 6.0-RELEASE myself) because I tried to look at source files given by error message[1] and at a diff itself and noticed: - diff for RELENG_6_0 updates feeder_rate.c v 1.11 to 1.17 - adds into feeder_rate.c: +#define RATE_FACTOR_MAX PCM_S24_MAX - I can't find any definition of PCM_S24_MAX in feeder_rate.c nor sound.h(v 1.63) - in fact feeder_rate.c v 1.17 from cvs/web[2] doesn't include the line "#define RATE_FACTOR_MAX PCM_S24_MAX" Am I missing something (yes, I'm lost at this stage) or is snd_RELENG_6_0_20060227_098.diff broken? Thank you in advance, Karol [1] [...] /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:342= : error: (near initialization for `convtbl[26].bps') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:342= : error: initializer element is not constant /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:342= : error: (near initialization for `convtbl[26]') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:343= : error: initializer element is not constant /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:343= : error: (near initialization for `convtbl[27].bps') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:343= : error: initializer element is not constant /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:343= : error: (near initialization for `convtbl[27]') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:344= : error: initializer element is not constant /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:344= : error: (near initialization for `convtbl[28]') /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_rate.c:354= : error: `PCM_S24_MAX' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/sys/modules/sound/sound. *** Error code 1 [2] http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/sound/pcm/fe= eder_rate.c?rev=3D1.17&content-type=3Dtext/plain --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enig6B01CD58B2CB27D306C93CAB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMPzMezeoPAwGIYsRAjSpAJ9yz6wjLRwmPtgUaj6Jpp7H9jxXIwCcCPQD B+wjLPncwjczZ5/t9ovfICw= =1MFr -----END PGP SIGNATURE----- --------------enig6B01CD58B2CB27D306C93CAB--