Skip to contentSkip to conversation

Xen staging: libxendevicemodel.so.1 [...] not found

DISCUSSION Razvan Cojocaru 3 participants 5 messages Mar 2, 2017

lore
Share & tools
lore
#0 lore raw

Hello,

Just pulled the latest staging and I get:

qemu successfuly configured for Xen qemu-dm build
=== PCI passthrough capability has been enabled ===
make[2]: Entering directory `~/work/xen.git/tools/qemu-xen-traditional-dir-remote'
=== PCI passthrough capability has been enabled ===
=== PCI passthrough capability has been enabled ===
make[3]: Entering directory `~/work/xen.git/tools/qemu-xen-traditional-dir-remote/i386-dm'
LINK i386-dm/qemu-dm
/usr/bin/ld: warning: libxendevicemodel.so.1, needed by ~/work/xen.git/tools/../tools/libxc/libxenctrl.so, not found (try using -rpath or -rpath-link) ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_map_pcidev_to_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_get_ioreq_server_info@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_open@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_unmap_io_range_from_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_modified_memory@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_ioreq_server_state@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_track_dirty_vram@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_close@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_mem_type@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_destroy_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_pci_intx_level@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_create_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_unmap_pcidev_from_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_inject_event@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_pci_link_route@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_inject_msi@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_isa_irq_level@VERS_1.0' ~/work/xen.git/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
make[3]: *** [qemu-dm] Error 1

Just thought somebody'd like to know.

Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw
Quoted 62 lines

-----Original Message-----
From: Xen-devel [mailto:[email protected]] On Behalf Of Razvan Cojocaru
Sent: 02 March 2017 09:19
To: Xen-devel <[email protected]>
Subject: [Xen-devel] Xen staging: libxendevicemodel.so.1 [...] not found

Hello,

Just pulled the latest staging and I get:

qemu successfuly configured for Xen qemu-dm build
=== PCI passthrough capability has been enabled ===
make[2]: Entering directory `~/work/xen.git/tools/qemu-xen-traditional-dir-remote'
=== PCI passthrough capability has been enabled ===
=== PCI passthrough capability has been enabled ===
make[3]: Entering directory `~/work/xen.git/tools/qemu-xen-traditional-dir-remote/i386-dm'
LINK i386-dm/qemu-dm
/usr/bin/ld: warning: libxendevicemodel.so.1, needed by ~/work/xen.git/tools/../tools/libxc/libxenctrl.so, not found (try using -rpath or -rpath-link) ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_map_pcidev_to_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_get_ioreq_server_info@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_open@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_unmap_io_range_from_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_modified_memory@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_ioreq_server_state@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_track_dirty_vram@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_close@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_mem_type@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_destroy_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_pci_intx_level@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_create_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_unmap_pcidev_from_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_inject_event@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_pci_link_route@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_inject_msi@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_isa_irq_level@VERS_1.0' ~/work/xen.git/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
make[3]: *** [qemu-dm] Error 1

Quoted 2 lines

Just thought somebody'd like to know.

Are you using a custom qemu-trad? You need to make sure it has the following patches applied:

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

Paul

Quoted 8 lines

Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
Quoted 62 lines · Paul Durrant
Quoted 62 lines

-----Original Message-----
From: Xen-devel [mailto:[email protected]] On Behalf Of Razvan Cojocaru
Sent: 02 March 2017 09:19
To: Xen-devel <[email protected]>
Subject: [Xen-devel] Xen staging: libxendevicemodel.so.1 [...] not found

Hello,

Just pulled the latest staging and I get:

qemu successfuly configured for Xen qemu-dm build
=== PCI passthrough capability has been enabled ===
make[2]: Entering directory `~/work/xen.git/tools/qemu-xen-traditional-dir-remote'
=== PCI passthrough capability has been enabled ===
=== PCI passthrough capability has been enabled ===
make[3]: Entering directory `~/work/xen.git/tools/qemu-xen-traditional-dir-remote/i386-dm'
LINK i386-dm/qemu-dm
/usr/bin/ld: warning: libxendevicemodel.so.1, needed by ~/work/xen.git/tools/../tools/libxc/libxenctrl.so, not found (try using -rpath or -rpath-link) ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_map_pcidev_to_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_get_ioreq_server_info@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_open@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_unmap_io_range_from_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_modified_memory@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_ioreq_server_state@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_track_dirty_vram@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_close@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_mem_type@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_destroy_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_pci_intx_level@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_create_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_unmap_pcidev_from_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_inject_event@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_pci_link_route@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_inject_msi@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_isa_irq_level@VERS_1.0' ~/work/xen.git/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
make[3]: *** [qemu-dm] Error 1

Quoted 7 lines
Quoted 2 lines

Just thought somebody'd like to know.

Are you using a custom qemu-trad? You need to make sure it has the following patches applied:

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

No, just did ./configure --disable-systemd --prefix=/usr and a make dist. Those patches have not made it into staging yet apparently - git log doesn't show them. I'll apply them manually.

Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw
Quoted 76 lines

-----Original Message-----
From: Razvan Cojocaru [mailto:[email protected]]
Sent: 02 March 2017 09:27
To: Paul Durrant <[email protected]>; Xen-devel <xen- [email protected]>
Subject: Re: [Xen-devel] Xen staging: libxendevicemodel.so.1 [...] not found

Quoted 62 lines · Paul Durrant
Quoted 62 lines

-----Original Message-----
From: Xen-devel [mailto:[email protected]] On Behalf Of Razvan Cojocaru
Sent: 02 March 2017 09:19
To: Xen-devel <[email protected]>
Subject: [Xen-devel] Xen staging: libxendevicemodel.so.1 [...] not found

Hello,

Just pulled the latest staging and I get:

qemu successfuly configured for Xen qemu-dm build
=== PCI passthrough capability has been enabled ===
make[2]: Entering directory `~/work/xen.git/tools/qemu-xen-traditional-dir-remote'
=== PCI passthrough capability has been enabled ===
=== PCI passthrough capability has been enabled ===
make[3]: Entering directory `~/work/xen.git/tools/qemu-xen-traditional-dir-remote/i386-dm'
LINK i386-dm/qemu-dm
/usr/bin/ld: warning: libxendevicemodel.so.1, needed by ~/work/xen.git/tools/../tools/libxc/libxenctrl.so, not found (try using -rpath or -rpath-link) ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_map_pcidev_to_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_get_ioreq_server_info@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_open@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_unmap_io_range_from_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_modified_memory@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_ioreq_server_state@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_track_dirty_vram@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_close@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_mem_type@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_destroy_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_pci_intx_level@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_create_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_unmap_pcidev_from_ioreq_server@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_inject_event@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_pci_link_route@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_inject_msi@VERS_1.0' ~/work/xen.git/tools/../tools/libxc/libxenctrl.so: undefined reference to xendevicemodel_set_isa_irq_level@VERS_1.0' ~/work/xen.git/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
make[3]: *** [qemu-dm] Error 1

Quoted 4 lines
Quoted 2 lines

Just thought somebody'd like to know.

Are you using a custom qemu-trad? You need to make sure it has the

following patches applied:

Quoted 1 line
Quoted 8 lines
Quoted 1 line

http://xenbits.xen.org/gitweb/?p=qemu-xen-

traditional.git;a=commit;h=58b9047bf2da88d2976bd1b7ba50dfdcc68b503d

Quoted 1 line

http://xenbits.xen.org/gitweb/?p=qemu-xen-

traditional.git;a=commit;h=8b4834ee1202852ed83a9fc61268c65fb6961ea7

No, just did ./configure --disable-systemd --prefix=/usr and a make dist. Those patches have not made it into staging yet apparently - git log doesn't show them. I'll apply them manually.

The tag in staging has been updated. If you do a 'make mrproper' or just blow away your qemu-trad repo then 'make tools' should updated it for you.

Paul

Quoted 4 lines

Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel