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

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Thu, 10 Jun 2010 16:13:18 +0100
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

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Received on Thu Jun 10 2010 - 13:13:21 UTC

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