[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Linking issue with latest git pull



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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.