From owner-freebsd-xen@FreeBSD.ORG Thu Apr 2 19:35:05 2009 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1035106566B; Thu, 2 Apr 2009 19:35:05 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id DFA768FC19; Thu, 2 Apr 2009 19:35:04 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by bwz8 with SMTP id 8so656154bwz.43 for ; Thu, 02 Apr 2009 12:35:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=xTm6XZUNGB+tMyn9ufRERMWmZM+ZmSKHEiLEDLjzO68=; b=lBBFZmKcdFqprg0/ikHcRwiDwJkP/H46TgDZlLrZjI/vhb7YpvAtfptyP8Q0y9DOWv iH51la/kougBfjNu1yvK8SK2GS5O4+AIIgJ4942TF2GS9SAhek4lTNPfF1k5zUHR1/rk 0VqLfBNJHTIB2Kwq5h4byYU/dJOAWKdy4NVK4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=To+an0yl24UsLxlQI+DtdLYhlwoT9CQo2Tpg1Y6mtO3p2CHHf2O9AnbN8diP/k/vgn BMbf7oiCg/chWQBOTf6j2hHFPx+vv6njenaJP+D3NsBY0iNwRzBzUVC2Cy2BPMQ7mvm5 EJgOXMBsajSrvma9zvOqntZpPyhdHs6JM6AgA= Received: by 10.103.225.11 with SMTP id c11mr186415mur.24.1238700903845; Thu, 02 Apr 2009 12:35:03 -0700 (PDT) Received: from ?10.30.1.139? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id 23sm507801mum.37.2009.04.02.12.35.01 (version=SSLv3 cipher=RC4-MD5); Thu, 02 Apr 2009 12:35:02 -0700 (PDT) From: Mister Olli To: =?ISO-8859-1?Q?Bj=F6rn?= JACKE In-Reply-To: References: <1238162602.24399.29.camel@phoenix.blechhirn.net> Content-Type: text/plain; charset="ISO-8859-15" Date: Thu, 02 Apr 2009 21:34:54 +0200 Message-Id: <1238700894.14361.615.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 8bit Cc: freebsd-xen@freebsd.org, dfr@freebsd.org, freebsd-current@freebsd.org, bzeeb-lists@lists.zabbadoz.net Subject: Re: Compiling CURRENT with XEN config fails X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2009 19:35:06 -0000 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