Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 08:11:48 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>
Subject:   Re: r208985 /usr/src/sys/dev/pci/pci.c:3730: error: 'struct resource_list_entry' has no member named 'flags'
Message-ID:  <201006110811.48135.jhb@freebsd.org>
In-Reply-To: <20100610151317.GA61745@mech-cluster241.men.bris.ac.uk>
References:  <20100610151317.GA61745@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006110811.48135.jhb>