Current 8.0-STABLE doesn't compile (warning: implicit
declaration of function 'bus_describe_intr')
Alexander Motin
mav at FreeBSD.org
Sat Jan 16 13:47:06 UTC 2010
Yuri wrote:
> After upgrading sources (RELENG_8) I get the errors below.
>
> Yuri
>
> --- error log ---
> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
> -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC
> -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx
> -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector
> -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign
> -fformat-extensions -c /usr/src/sys/modules/ahci/../../dev/ahci/ahci.c
> cc1: warnings being treated as errors
> /usr/src/sys/modules/ahci/../../dev/ahci/ahci.c: In function
> 'ahci_setup_interrupt':
> /usr/src/sys/modules/ahci/../../dev/ahci/ahci.c:574: warning: implicit
> declaration of function 'bus_describe_intr'
> /usr/src/sys/modules/ahci/../../dev/ahci/ahci.c:574: warning: nested
> extern declaration of 'bus_describe_intr'
> *** Error code 1
It is already fixed. Update your sources again.
--
Alexander Motin
More information about the freebsd-hackers
mailing list