From: Paul Durrant <Paul.Durrant@citrix.com>
To: 'Praveen Kumar' <kpraveen.lkml@gmail.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: Linking issue with latest git pull
Date: Fri, 3 Mar 2017 11:55:17 +0000 [thread overview]
Message-ID: <2ff9142039b24c409ddae99f6a5a15ac@AMSPEX02CL03.citrite.net> (raw)
In-Reply-To: <CABcWhv6N5-VU+60yg=L4XoD0HNdaNgWmS5iv3zgZU235L4P4+w@mail.gmail.com>
Please don't post HTML...
---
From: Xen-devel [mailto:xen-devel-bounces@lists.xen.org] On Behalf Of Praveen Kumar
Sent: 03 March 2017 11:23
To: xen-devel@lists.xenproject.org
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@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-03-03 11:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-03 11:23 Linking issue with latest git pull Praveen Kumar
2017-03-03 11:55 ` Paul Durrant [this message]
2017-03-03 16:48 ` Praveen Kumar
2017-03-03 16:50 ` Paul Durrant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2ff9142039b24c409ddae99f6a5a15ac@AMSPEX02CL03.citrite.net \
--to=paul.durrant@citrix.com \
--cc=kpraveen.lkml@gmail.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).