[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Linking issue with latest git pull
> -----Original Message----- > From: Praveen Kumar [mailto:kpraveen.lkml@xxxxxxxxx] > Sent: 03 March 2017 16:48 > To: Paul Durrant <Paul.Durrant@xxxxxxxxxx> > Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx > Subject: Re: [Xen-devel] Linking issue with latest git pull > > On Fri, Mar 03, 2017 at 11:55:17AM +0000, Paul Durrant wrote: > > Please don't post HTML... > > > > --- > > From: Xen-devel [mailto:xen-devel-bounces@xxxxxxxxxxxxx] On Behalf Of > Praveen Kumar > > Sent: 03 March 2017 11:23 > > To: xen-devel@xxxxxxxxxxxxxxxxxxxx > > Subject: [Xen-devel] Linking issue with latest git pull > > > > Hi, > > > > Did a git pull and while building, I am getting below error : > > Just FYI, i reconfigured and also did git clean -fffffdddddxxxx and rebuild > but the result is same. > > > > Any pointer will be helpful, how to resolve this issue. Thanks in advance. > > > > Error: > > > > /usr/bin/ld: warning: libxendevicemodel.so.1, needed by > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so, not found (try using - > rpath or -rpath-link) > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_map_pcidev_to_ioreq_server@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_get_ioreq_server_info@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_open@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to > `xendevicemodel_unmap_io_range_from_ioreq_server@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_modified_memory@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_set_ioreq_server_state@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_track_dirty_vram@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_close@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_set_mem_type@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_destroy_ioreq_server@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_set_pci_intx_level@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_create_ioreq_server@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to > `xendevicemodel_unmap_pcidev_from_ioreq_server@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_inject_event@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_set_pci_link_route@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_inject_msi@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_set_isa_irq_level@VERS_1.0' > > /home/praveen/xen/tools/../tools/libxc/libxenctrl.so: undefined > reference to `xendevicemodel_map_io_range_to_ioreq_server@VERS_1.0' > > collect2: error: ld returned 1 exit status > > Makefile:740: recipe for target 'qemu-dm' failed > > make[4]: *** [qemu-dm] Error 1 > > make[4]: Leaving directory '/home/praveen/xen/tools/qemu-xen- > traditional-dir-remote/i386-dm' > > Makefile:42: recipe for target 'subdir-i386-dm' failed > > make[3]: *** [subdir-i386-dm] Error 2 > > make[3]: Leaving directory '/home/praveen/xen/tools/qemu-xen- > traditional-dir-remote' > > Makefile:201: recipe for target 'subdir-all-qemu-xen-traditional-dir' failed > > make[2]: *** [subdir-all-qemu-xen-traditional-dir] Error 2 > > make[2]: Leaving directory '/home/praveen/xen/tools' > > /home/praveen/xen/tools/../tools/Rules.mk:234: recipe for target > 'subdirs-install' failed > > make[1]: *** [subdirs-install] Error 2 > > make[1]: Leaving directory '/home/praveen/xen/tools' > > Makefile:101: recipe for target 'install-tools' failed > > make: *** [install-tools] Error 2 > > --- > > > > As I said on the thread starting at https://lists.xen.org/archives/html/xen- > devel/2017-03/msg00256.html the problem is that you need patches: > > > > > > http://xenbits.xen.org/gitweb/?p=qemu-xen- > traditional.git;a=commit;h=58b9047bf2da88d2976bd1b7ba50dfdcc68b503d > > http://xenbits.xen.org/gitweb/?p=qemu-xen- > traditional.git;a=commit;h=8b4834ee1202852ed83a9fc61268c65fb6961ea7 > > > > So, however you achieve an update to you qemu-xen-traditional repo, you > need to make sure those patches are present. > > > > Paul > > > ---- > > Thanks Paul. > > After applying the commits suggested, I ended upon another issue while > building. > Below is the snap : > > grub/arch/x86 -lx86_64 -lc -o > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o > objcopy -w -G xenos_* -G _start > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o > ld -nostdlib -L/home/praveen/xen/stubdom/cross-root-x86_64/x86_64-xen- > elf/lib -m elf_x86_64 -T arch/x86/minios-x86_64.lds > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o -o > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_interface_open': > /home/praveen/xen/stubdom/libxc-x86_64/xc_private.c:70: undefined > reference to `xendevicemodel_open' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_interface_close': > /home/praveen/xen/stubdom/libxc-x86_64/xc_private.c:97: undefined > reference to `xendevicemodel_close' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_create_ioreq_server': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:13: > undefined reference to `xendevicemodel_create_ioreq_server' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_get_ioreq_server_info': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:21: > undefined reference to `xendevicemodel_get_ioreq_server_info' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_map_io_range_to_ioreq_server': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:30: > undefined reference to `xendevicemodel_map_io_range_to_ioreq_server' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_unmap_io_range_from_ioreq_server': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:39: > undefined reference to > `xendevicemodel_unmap_io_range_from_ioreq_server' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_map_pcidev_to_ioreq_server': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:48: > undefined reference to `xendevicemodel_map_pcidev_to_ioreq_server' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_unmap_pcidev_from_ioreq_server': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:57: > undefined reference to > `xendevicemodel_unmap_pcidev_from_ioreq_server' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_destroy_ioreq_server': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:65: > undefined reference to `xendevicemodel_destroy_ioreq_server' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_set_ioreq_server_state': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:71: > undefined reference to `xendevicemodel_set_ioreq_server_state' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_set_pci_intx_level': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:79: > undefined reference to `xendevicemodel_set_pci_intx_level' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_set_isa_irq_level': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:86: > undefined reference to `xendevicemodel_set_isa_irq_level' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_set_pci_link_route': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:92: > undefined reference to `xendevicemodel_set_pci_link_route' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_inject_msi': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:98: > undefined reference to `xendevicemodel_inject_msi' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_track_dirty_vram': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:105: > undefined reference to `xendevicemodel_track_dirty_vram' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_modified_memory': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:112: > undefined reference to `xendevicemodel_modified_memory' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_set_mem_type': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:119: > undefined reference to `xendevicemodel_set_mem_type' > /home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os.o: In function > `xc_hvm_inject_trap': > /home/praveen/xen/stubdom/libxc-x86_64/xc_devicemodel_compat.c:127: > undefined reference to `xendevicemodel_inject_event' > Makefile:163: recipe for target '/home/praveen/xen/stubdom/mini-os- > x86_64-grub/mini-os' failed > make[3]: *** [/home/praveen/xen/stubdom/mini-os-x86_64-grub/mini-os] > Error 1 > make[3]: Leaving directory '/home/praveen/xen/extras/mini-os-remote' > Makefile:562: recipe for target 'pv-grub' failed > make[2]: *** [pv-grub] Error 2 > make[2]: Leaving directory '/home/praveen/xen/stubdom' > Makefile:105: recipe for target 'install-stubdom' failed > make[1]: *** [install-stubdom] Error 2 > make[1]: Leaving directory '/home/praveen/xen' > Makefile:127: recipe for target 'world' failed > make: *** [world] Error 2 > praveen@praveen-Aspire-E5-573G:~/xen$ > > Any pointers will be helpful. Thanks in advance. Well, there's a similar patch for mini-os that you need: http://xenbits.xen.org/gitweb/?p=mini-os.git;a=commit;h=ca013fa9baf92f47469ba1f2e1aaa31c41d8a0bb Paul > > Regards, > > ~Praveen. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |