FreeBSD as a xen host

Tim Dunphy bluethundr at gmail.com
Sun Nov 7 16:18:58 UTC 2010


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.

regards



On Sun, Nov 7, 2010 at 8:01 AM, Bruce Cran <bruce at cran.org.uk> wrote:
> On Sun, 7 Nov 2010 07:54:01 -0500
> Tim Dunphy <bluethundr at gmail.com> wrote:
>
>> [root at LBSD2:/tmp/xen-3.2-testing.hg]#make world && make install
>> "Makefile", line 9: Need an operator
>> "Config.mk", line 12: Missing dependency operator
>> "Config.mk", line 14: Need an operator
>> "Config.mk", line 31: Could not find /config/.mk
>> "Config.mk", line 32: Could not find /config/.mk
>> "Config.mk", line 34: Missing dependency operator
>> "Config.mk", line 37: Need an operator
>> "Config.mk", line 53: Need an operator
>> Error expanding embedded variable.
>>
>>
>> Does anyone have any advice on how to get this to work?
>
> Looks like you might need to use GNU make ("gmake") instead of "make"?
>
> --
> Bruce Cran
>



-- 
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9

Share and enjoy!!


More information about the freebsd-questions mailing list