On Tue, 12 Oct 1999 [EMAIL PROTECTED] wrote:
> In <[EMAIL PROTECTED]> [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message