Re: r208985 /usr/src/sys/dev/pci/pci.c:3730: error: 'struct resource_list_entry' has no member named 'flags'

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 11 Jun 2010 08:11:48 -0400
On Thursday 10 June 2010 11:13:18 am Anton Shterenlikht wrote:
> Just checked out r208985 i386.
> On buildkernel I get this error:
> 
> cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -
mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror  
/usr/src/sys/x86/cpufreq/hwpstate.c
> /usr/src/sys/dev/pci/pci.c: In function 'pci_reserve_map':
> /usr/src/sys/dev/pci/pci.c:3730: error: 'struct resource_list_entry' has no member named 'flags'
> /usr/src/sys/dev/pci/pci.c:3730: error: 'RLE_RESERVED' undeclared (first use in this function)
> /usr/src/sys/dev/pci/pci.c:3730: error: (Each undeclared identifier is reported only once
> /usr/src/sys/dev/pci/pci.c:3730: error: for each function it appears in.)
> /usr/src/sys/dev/pci/pci.c: In function 'pci_delete_child':
> /usr/src/sys/dev/pci/pci.c:3856: warning: implicit declaration of function 'resource_list_busy'
> /usr/src/sys/dev/pci/pci.c:3856: warning: nested extern declaration of 'resource_list_busy'
> /usr/src/sys/dev/pci/pci.c:3865: warning: implicit declaration of function 'resource_list_unreserve'
> /usr/src/sys/dev/pci/pci.c:3865: warning: nested extern declaration of 'resource_list_unreserve'
> *** Error code 1
> 
> Please advise
> 
> Apologies if this is a known issue

Your sources are out of sync somehow.

-- 
John Baldwin
Received on Fri Jun 11 2010 - 10:25:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC