[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Compiling error
http://http.debian.net/debian/pool/main/x/xen/xen_4.8.1.orig.tar.gzGrab the above 3 source files as user. Don't build as root. then: dpkg-source -x xen_4.8.1-1+deb9u1.dsc cd xen-4.8.1 // edit the changelog dch -n (fill in the template) // test the rules fakeroot dh binary-arch --no-act // start binary build dpkg-buildpackage -nc -B > ../mkx48.out PryMar56 On Wednesday, May 24, 2017 2:10 PM, Hervé Moris <herve.moris@xxxxxxxxxxxx> wrote: Hi,
I'm trying to compile Xen 4.8.1 (from debian testing repo) on a
Debian Jessie (8.8) with XSM enabled with dpkg-buildpackage.
After having modified Config.mk to add XSM_ENABLE and
FLASK_ENABLE to y, I edited 'debian/rules.real' to remove
--disable-xen and add --enable-xsmpolicy at ./configure line.
When I launch the dpkg-buildpackage to get my .deb, it ends up
with an Error 2 while compiling :
gcc -pthread -o test_timedereg
test_timedereg.o test_common.o libxlutil.so libxenlight_test.so
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libs/toollog
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libs/evtchn
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libs/toollog
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libs/gnttab
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libs/gnttab
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libs/call
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libs/foreignmemory
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libxc
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libs/evtchn
-Wl,-rpath-link=/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/xenstore
/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl/../../tools/libs/toollog/libxentoollog.so
-lyajl -Wl,-z,relro
/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 Makefile:282: recipe for target 'test_timedereg' failed make[5]: *** [test_timedereg] Error 1 make[5]: Leaving directory '/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/libxl' /usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/../tools/Rules.mk:220: recipe for target 'subdir-all-libxl' failed make[4]: *** [subdir-all-libxl] Error 2 make[4]: Leaving directory '/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools' /usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools/../tools/Rules.mk:215: recipe for target 'subdirs-all' failed make[3]: *** [subdirs-all] Error 2 make[3]: Leaving directory '/usr/src/xen-4.8.1/debian/build/build-utils_amd64/tools' debian/rules.real:110: recipe for target 'debian/stamps/build-utils_amd64' failed make[2]: *** [debian/stamps/build-utils_amd64] Error 2 make[2]: Leaving directory '/usr/src/xen-4.8.1' debian/rules.gen:54: recipe for target 'build-arch_amd64_real' failed make[1]: *** [build-arch_amd64_real] Error 2 make[1]: Leaving directory '/usr/src/xen-4.8.1' debian/rules:20: recipe for target 'build-arch' failed make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 "/usr/local/lib/libxenlight-4.8.so, not found." But there is a
'libxenlight-4.8.so' in that directory.
Do you have an idea of what I could do ?
Thanks,
Hervé
Xen-users mailing list Xen-users@xxxxxxxxxxxxx https://lists.xen.org/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx https://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |