Hi,
I'm trying to compile Xen from sources with XSM-Flask enabled on
a Debian 8.8.
And i got some compiling errors ... Here is what I did :
I downloaded the following files :
http://http.debian.net/debian/pool/main/x/xen/xen_4.8.1-1+deb9u1.dsc
http://http.debian.net/debian/pool/main/x/xen/xen_4.8.1.orig.tar.gz
http://http.debian.net/debian/pool/main/x/xen/xen_4.8.1-1+deb9u1.debian.tar.xz
# dpkg-source -x xen_4.8.1-1+deb9u1.dsc
# cd xen-4.8.1
# vim Config.mk (added XSM_ENABLE ?= y and FLASK_ENABLE ?= y)
# dpkg-buildpackage -nc -B
I got this answer :
make[5]:
/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/xenmon/../../tools/python/get-path:
Command not found
/usr/bin/ld: warning:
/usr/src/xen-4.8.1/tools/libxl/../../tools/blktap2/control/libblktapctl.so,
needed by //usr/local/lib/libxenlight-4.8.so, not found (try
using -rpath or -rpath-link)
//usr/local/lib/libxenlight-4.8.so: undefined reference to
`tap_ctl_destroy'
//usr/local/lib/libxenlight-4.8.so: undefined reference to
`tap_ctl_find'
//usr/local/lib/libxenlight-4.8.so: undefined reference to
`tap_ctl_check'
//usr/local/lib/libxenlight-4.8.so: undefined reference to
`tap_ctl_create'
collect2: error: ld returned 1 exit status
make[5]: *** [test_timedereg] Error 1
make[4]: *** [subdir-all-libxl] Error 2
make[3]: *** [subdirs-all] Error 2
make[2]: *** [debian/stamps/build-utils_amd64] Error 2
make[1]: *** [build-arch_amd64_real] Error 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error
exit status 2
Do you know what I can do to make it work ?
Thanks, Cheers,
Hervé