[Slackbuilds-users] Libvirt no building

Luveh Keraph 1.41421 at gmail.com
Wed Mar 25 16:57:01 UTC 2020


That results in a different error:

emu_driver.c:(.text+0x2d1ba): undefined reference to `virStorageFileDeinit'
qemu_driver.c:(.text+0x2d219): undefined reference to `virGetLastErrorCode'
qemu_driver.c:(.text+0x2d5a5): undefined reference to `virStorageFileCreate'
qemu_driver.c:(.text+0x2d8dc): undefined reference to `virGetLastErrorCode'
qemu_driver.c:(.text+0x2ddf1): undefined reference to `virStorageFileUnlink'
qemu_driver.c:(.text+0x2df09): undefined reference to `virGetLastErrorCode'
./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
In function `qemuDomainManagedSave':
qemu_driver.c:(.text+0x2e4ba): undefined reference to
`virDomainObjCheckActive'
./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
In function `qemuDomainSaveFlags':
qemu_driver.c:(.text+0x2e77c): undefined reference to
`virDomainObjCheckActive'
./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
In function `qemuDomainCoreDumpWithFormat':
qemu_driver.c:(.text+0x2ef81): undefined reference to
`virDomainObjCheckActive'
qemu_driver.c:(.text+0x2f1a7): undefined reference to `virGetLastErrorCode'
./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
In function `qemuProcessEventHandler':
qemu_driver.c:(.text+0x2ff07): undefined reference to
`virDomainObjCheckActive'
./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_driver.o):
In function `qemuDomainStorageCloseStat':
qemu_driver.c:(.text+0x27cf): undefined reference to `virStorageFileDeinit'
./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_security.o):
In function `qemuSecurityStartTPMEmulator':
qemu_security.c:(.text+0x808): undefined reference to
`virSecurityManagerSetTPMLabels'
qemu_security.c:(.text+0x890): undefined reference to
`virSecurityManagerRestoreTPMLabels'
./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_security.o):
In function `qemuSecurityCleanupTPMEmulator':
qemu_security.c:(.text+0x8b8): undefined reference to
`virSecurityManagerRestoreTPMLabels'
./.libs/libvirt_driver_qemu_impl.a(libvirt_driver_qemu_impl_la-qemu_tpm.o):
In function `qemuExtTPMStart':
qemu_tpm.c:(.text+0xac6): undefined reference to `virFileChownFiles'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libvirt_driver_qemu.la' with the above
command before installing it
Makefile:6541: recipe for target 'install-modLTLIBRARIES' failed
make[4]: *** [install-modLTLIBRARIES] Error 1
make[4]: Leaving directory '/tmp/SBo/libvirt-4.5.0/src'
Makefile:12432: recipe for target 'install-am' failed
make[3]: *** [install-am] Error 2
make[3]: Leaving directory '/tmp/SBo/libvirt-4.5.0/src'
Makefile:12426: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/tmp/SBo/libvirt-4.5.0/src'
Makefile:2107: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/libvirt-4.5.0'
Makefile:2415: recipe for target 'install-strip' failed
make: *** [install-strip] Error 2

I do have the latest qemu installed, but I don't want to have to remove it
for the sake of libvirt.


On Wed, Mar 25, 2020 at 10:00 AM Matteo Bernardini <
matteo.bernardini at gmail.com> wrote:

> Il giorno mer 25 mar 2020 alle ore 16:32 Luveh Keraph
> <1.41421 at gmail.com> ha scritto:
> >
> > I just downloaded the latest libvirt files from Slackbuilds, and the
> build process gets aborted as follows:
> >
> > make[3]: Leaving directory '/tmp/SBo/libvirt-4.5.0/src'
> > make[2]: Leaving directory '/tmp/SBo/libvirt-4.5.0/src'
> > Making all in tools
> > make[2]: Entering directory '/tmp/SBo/libvirt-4.5.0/tools'
> >   GEN      libvirt-guests.sh
> > make  all-am
> > make[3]: Entering directory '/tmp/SBo/libvirt-4.5.0/tools'
> >   CC       nss/nss_libnss_libvirt_impl_la-libvirt_nss.lo
> >   CCLD     nss/libnss_libvirt_impl.la
> >   CCLD     nss/libnss_libvirt.la
> >   CC       nss/nss_libnss_libvirt_guest_impl_la-libvirt_nss.lo
> >   CCLD     nss/libnss_libvirt_guest_impl.la
> >   CCLD     nss/libnss_libvirt_guest.la
> >   CC       libvirt_shell_la-vsh.lo
> >   CCLD     libvirt_shell.la
> >   GEN      wireshark/src/libvirt/protocol.h
> >   CC       wireshark/src/wireshark_src_libvirt_la-packet-libvirt.lo
> > wireshark/src/packet-libvirt.c:26:30: fatal error: wireshark/config.h:
> No such file or directory
> > compilation terminated.
> > Makefile:2803: recipe for target
> 'wireshark/src/wireshark_src_libvirt_la-packet-libvirt.lo' failed
> > make[3]: *** [wireshark/src/wireshark_src_libvirt_la-packet-libvirt.lo]
> Error 1
> > make[3]: Leaving directory '/tmp/SBo/libvirt-4.5.0/tools'
> > Makefile:2393: recipe for target 'all' failed
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory '/tmp/SBo/libvirt-4.5.0/tools'
> > Makefile:2107: recipe for target 'all-recursive' failed
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory '/tmp/SBo/libvirt-4.5.0'
> > Makefile:2000: recipe for target 'all' failed
> > make: *** [all] Error 2
>
> as a workaround I think you can remove temporarily wireshark and try
> again to build libvirt.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200325/a9ca89f2/attachment-0001.htm>


More information about the SlackBuilds-users mailing list