[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Not able to cross-compile the xen
after a small workaround I installed multiarch i did ./configure, now the configure is going well,: Below is is the output: === configuring in docs (/home/siddhu/scp/xen-4.13.0/docs) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--build=x86_64-unknown-linux-gnu' '--host=aarch64-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=aarch64-linux-gnu' --cache-file=/dev/null --srcdir=. checking for fig2dev... /usr/bin/fig2dev checking for pod2man... /usr/bin/pod2man checking for pod2html... /usr/bin/pod2html checking for pod2text... /usr/bin/pod2text checking for pandoc... no configure: WARNING: pandoc is not available so some documentation won't be built checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating ../config/Docs.mk config.status: creating man/xl.cfg.5.pod config.status: creating man/xl.1.pod Later I installed " sudo apt-get install gcc-aarch64-linux-gnu" and Later I did " make XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-" but the make end with error: as the log is more am attaching last few lines the full log I have attached in a seperate file. Make log: aarch64-linux-gnu-gcc -Wl,-soname -Wl,libxenguest.so.4.13 -shared -o libxenguest.so.4.13.0 xg_private.opic xc_suspend.opic xc_nomigrate.opic libelf-tools.opic libelf-loader.opic libelf-dominfo.opic xc_dom_core.opic xc_dom_boot.opic xc_dom_elfloader.opic xc_dom_armzimageloader.opic xc_dom_binloader.opic xc_dom_compat_linux.opic xc_dom_arm.opic -lbz2 -llzma -lz -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/toolcore /home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/evtchn/libxenevtchn.so -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/toollog -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/toolcore -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/evtchn -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/toollog -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/toolcore -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/gnttab -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/toolcore -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/call -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/toolcore -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/foreignmemory -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/toollog -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/toolcore -Wl,-rpath-link=/home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libs/devicemodel /home/siddhu/scp/xen-4.13.0/tools/libxc/../../tools/libxc/libxenctrl.so /usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: cannot find -lbz2 /usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: cannot find -llzma /usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status Makefile:277: recipe for target 'libxenguest.so.4.13.0' failed make[5]: *** [libxenguest.so.4.13.0] Error 1 make[5]: Leaving directory '/home/siddhu/scp/xen-4.13.0/tools/libxc' Makefile:180: recipe for target 'build' failed make[4]: *** [build] Error 2 make[4]: Leaving directory '/home/siddhu/scp/xen-4.13.0/tools/libxc' /home/siddhu/scp/xen-4.13.0/tools/../tools/Rules.mk:237: recipe for target 'subdir-install-libxc' failed make[3]: *** [subdir-install-libxc] Error 2 make[3]: Leaving directory '/home/siddhu/scp/xen-4.13.0/tools' /home/siddhu/scp/xen-4.13.0/tools/../tools/Rules.mk:232: recipe for target 'subdirs-install' failed make[2]: *** [subdirs-install] Error 2 make[2]: Leaving directory '/home/siddhu/scp/xen-4.13.0/tools' Makefile:67: recipe for target 'install' failed make[1]: *** [install] Error 2 make[1]: Leaving directory '/home/siddhu/scp/xen-4.13.0/tools' Makefile:134: recipe for target 'install-tools' failed make: *** [install-tools] Error 2 siddhu@siddhu:~/scp/xen-4.13.0$ May I know what wrong I am doing here. I am doing evrything on my laptop with ubuntu 18.04 OS. Regards, Siddhartha V On Thu, Apr 2, 2020 at 11:26 AM siddhartha v <siddhuvgowda.18695@xxxxxxxxx> wrote:
Thanks and Regards. Siddhartha V.Attachment:
make_log Attachment:
configure_log _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |