From owner-freebsd-questions@FreeBSD.ORG Sun Nov 7 16:46:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256471065672 for ; Sun, 7 Nov 2010 16:46:45 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id D5E118FC0A for ; Sun, 7 Nov 2010 16:46:44 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id oA7GieDb007440; Sun, 7 Nov 2010 10:44:40 -0600 (CST) Date: Sun, 7 Nov 2010 10:44:40 -0600 (CST) From: Robert Bonomi Message-ID: <201011071644.oA7GieDb007440@mail.r-bonomi.com> To: bluethundr@gmail.com, freebsd-questions@freebsd.org Cc: Subject: Re: FreeBSD as a xen host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2010 16:46:45 -0000 > From owner-freebsd-questions@freebsd.org Sun Nov 7 10:17:51 2010 > Date: Sun, 7 Nov 2010 11:18:56 -0500 > From: Tim Dunphy > To: freebsd-questions > Subject: Re: FreeBSD as a xen host > > Guys, > > Thanks gmake has gotten me much farther than make has! :) However the > install is still failing: > > gmake libxenctrl.a libxenctrl.so libxenctrl.so.3.2 libxenctrl.so.3.2.0 > libxenguest.a libxenguest.so libxenguest.so.3.2 libxenguest.so.3.2.0 > getconf: no such configuration parameter `LFS_CFLAGS' > gmake[4]: Entering directory `/tmp/xen-3.2-testing.hg/tools/libxc' > gcc -O2 -fomit-frame-pointer -m32 -march=i686 -DNDEBUG > -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes > -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs > -Werror -Wmissing-prototypes -I. -I../xenstore -Wp,-MD,.xc_core.o.d > -c -o xc_core.o xc_core.c > In file included from xg_private.h:16, > from xc_core.c:52: > xc_private.h:18:29: error: xen/sys/privcmd.h: No such file or directory > In file included from xg_private.h:16, > from xc_core.c:52: > xc_private.h:86: error: expected declaration specifiers or '...' > before 'privcmd_hypercall_t' > xc_private.h: In function 'do_xen_version': > xc_private.h:90: error: 'privcmd_hypercall_t' undeclared (first use in > this function) > xc_private.h:90: error: (Each undeclared identifier is reported only once > xc_private.h:90: error: for each function it appears in.) > xc_private.h:90: error: expected ';' before 'hypercall' > xc_private.h:92: error: 'hypercall' undeclared (first use in this function) > xc_private.h:96: error: too many arguments to function 'do_xen_hypercall' > xc_private.h: In function 'do_domctl': > xc_private.h:102: error: 'privcmd_hypercall_t' undeclared (first use > in this function) > xc_private.h:102: error: expected ';' before 'hypercall' > xc_private.h:106: error: 'hypercall' undeclared (first use in this function) > xc_private.h:115: error: too many arguments to function 'do_xen_hypercall' > xc_private.h: In function 'do_sysctl': > xc_private.h:131: error: 'privcmd_hypercall_t' undeclared (first use > in this function) > xc_private.h:131: error: expected ';' before 'hypercall' > xc_private.h:135: error: 'hypercall' undeclared (first use in this function) > xc_private.h:144: error: too many arguments to function 'do_xen_hypercall' > xc_private.h: At top level: > xc_private.h:158: error: expected declaration specifiers or '...' > before 'privcmd_mmap_entry_t' > gmake[4]: *** [xc_core.o] Error 1 > gmake[4]: Leaving directory `/tmp/xen-3.2-testing.hg/tools/libxc' > gmake[3]: *** [build] Error 2 > gmake[3]: Leaving directory `/tmp/xen-3.2-testing.hg/tools/libxc' > gmake[2]: *** [install] Error 2 > gmake[2]: Leaving directory `/tmp/xen-3.2-testing.hg/tools' > gmake[1]: *** [install-tools] Error 2 > gmake[1]: Leaving directory `/tmp/xen-3.2-testing.hg' > gmake: *** [world] Error 2 > > I was wondering if you might have any further suggestions that might > get this working. if you -read- the output carefully, you discover that it is complaining abouot not being able to find an include file. a file named: xen/sys/privcd.h You need to figure out _where_ that file is on your system, and arrange to include the parent directory in the 'include search path' when you compile that module. the cc '-I" flag.