Re: Compiling CURRENT with XEN config fails

From: Mister Olli <mister.olli_at_googlemail.com>
Date: Thu, 02 Apr 2009 21:34:54 +0200
Hi,


the attached patch fixed the compile problem, but new ones are coming up
(on r190464) ;-))

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/xen/reboot.c
/usr/src/sys/xen/reboot.c: In function 'xen_suspend':
/usr/src/sys/xen/reboot.c:179: error: 'sched_lock' undeclared (first use in this function)
/usr/src/sys/xen/reboot.c:179: error: (Each undeclared identifier is reported only once
/usr/src/sys/xen/reboot.c:179: error: for each function it appears in.)
cc1: warnings being treated as errors
/usr/src/sys/xen/reboot.c:216: warning: implicit declaration of function 'pmap_suspend'
/usr/src/sys/xen/reboot.c:216: warning: nested extern declaration of 'pmap_suspend'
/usr/src/sys/xen/reboot.c:218: warning: implicit declaration of function 'pmap_resume'
/usr/src/sys/xen/reboot.c:218: warning: nested extern declaration of 'pmap_resume'
/usr/src/sys/xen/reboot.c:224: error: 'xen_pfn_to_mfn_frame_list_list' undeclared (first use in this function)
/usr/src/sys/xen/reboot.c:231: error: 'xen_pfn_to_mfn_frame_list' undeclared (first use in this function)
*** Error code 1

Stop in /usr/obj/usr/src/sys/XEN.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
template-8_CURRENT# 


with a current revision (190640) 'make depend' fails with these errors:

===> sbin/ifconfig (depend)
rm -f .depend
mkdep -f .depend -a     ifconfig.c af_link.c af_inet.c af_inet6.c
af_atalk.c ifclone.c ifmac.c ifmedia.c ifvlan.c ifgre.c ifieee80211.c
regdomain.c ifcarp.c ifgroup.c ifpfsync.c ifbridge.c iflagg.c af_ipx.c
ifieee80211.c:82:39: error: net80211/ieee80211_superg.h: No such file or
directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sbin/ifconfig.
*** Error code 1


Regards,
Olli



On Mi, 2009-04-01 at 12:04 +0200, Björn JACKE wrote:
> On 2009-03-27 at 15:03 +0100 Mister Olli sent off:
> > /usr/src/sys/xen/evtchn/evtchn.c:516: error: conflicting types for 'bind_virq_to_irqhandler'
> > /usr/src/sys/xen/xen_intr.h:61: error: previous declaration of 'bind_virq_to_irqhandler' was here
> > /usr/src/sys/xen/evtchn/evtchn.c: In function 'bind_virq_to_irqhandler':
> > /usr/src/sys/xen/evtchn/evtchn.c:523: error: 'arg' undeclared (first use in this function)
> > /usr/src/sys/xen/evtchn/evtchn.c:523: error: (Each undeclared identifier is reported only once
> > /usr/src/sys/xen/evtchn/evtchn.c:523: error: for each function it appears in.)
> > *** Error code 1
> 
> the attached patch should fix this one. Can someone review that please?
> 
> Thanks
> Björn
Received on Thu Apr 02 2009 - 17:35:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC