From owner-freebsd-current Mon Oct 11 20:18: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id A9897152C4 for ; Mon, 11 Oct 1999 20:17:49 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from d191.syd2.zeta.org.au (beefcake.zeta.org.au [203.26.10.12]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id NAA20390; Tue, 12 Oct 1999 13:19:42 +1000 Date: Tue, 12 Oct 1999 13:17:12 +1000 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: nnd@mail.nsk.ru Cc: current@FreeBSD.ORG Subject: Re: kernel broken? (pcm) In-Reply-To: <199910120235.JAA01281@wint.itfs.nsk.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 12 Oct 1999 nnd@mail.nsk.ru wrote: > In <199910111931.VAA52411@work.net.local> A.Leidinger@wjpserver.cs.uni-sb.de wrote: > Such an errors results from (uncommented) kernel option > > #makeoptions CONF_CFLAGS=-fno-builtin This option is used in LINT to help expose such errors before they are committed. > because there is NO 'abs' function/macro in this files > (ac97.c, channel.c and mss.c) and they can be only compiled using > gcc's builtin 'abs' abs() doesn't exist in the kernel, so it shouldn't be used. > > linking kernel.debug > > ac97.o: In function `ac97_setmixer': > > /usr/src/sys/compile/WORK/../../dev/pcm/ac97.c(.text+0x18d): undefined reference to `abs' > > channel.o: In function `chn_setblocksize': Test coverage of pcm in LINT is broken by not configuring pcm because of conflicts with the old sound drivers. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message