Hi :
getting this strange build error here. Googling did not help. Anyone has
any ideas as to what I am missing? I am on Ubuntu 20.04 LTS.
FAILED: src/libvirt-admin.so.0.7006.0
cc -o src/libvirt-admin.so.0.7006.0
src/libvirt-admin.so.0.7006.0.p/meson-generated_.._admin_admin_protocol.c.o
src/libvirt-admin.so.0.7006.0.p/admin_libvirt-admin.c.o
src/libvirt-admin.so.0.7006.0.p/datatypes.c.o -Wl,--as-needed
-Wl,--no-undefined -shared -fPIC -Wl,--start-group
-Wl,-soname,libvirt-admin.so.0
'-Wl,-rpath,$ORIGIN/:XXXXXXXXXXXXXXXXXXXXXXX'
-Wl,-rpath-link,/home/anisinha/workspace/libvirt/build/src
src/libvirt.so.0.7006.0
-Wl,--version-script=/home/anisinha/workspace/libvirt/build/src/admin/libvirt_admin.syms
-Wl,-z,nodelete /usr/lib/x86_64-linux-gnu/libcap-ng.so
/usr/lib/x86_64-linux-gnu/libgnutls.so -Wl,-z,relro -Wl,-z,now
-Wl,--no-copy-dt-needed-entries /usr/lib/x86_64-linux-gnu/libglib-2.0.so
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so
/usr/lib/x86_64-linux-gnu/libgio-2.0.so
/usr/lib/x86_64-linux-gnu/libxml2.so -Wl,--end-group
/usr/bin/ld: src/libvirt-admin.so.0.7006.0.p/admin_libvirt-admin.c.o: in
function `callFull':
/home/anisinha/workspace/libvirt/build/../src/admin/admin_remote.c:99:
undefined reference to `virNetClientProgramCall'
/usr/bin/ld: src/libvirt-admin.so.0.7006.0.p/admin_libvirt-admin.c.o: in
function `remoteAdminConnectClose':
/home/anisinha/workspace/libvirt/build/../src/admin/admin_remote.c:197:
undefined reference to `virNetClientSetCloseCallback'
/usr/bin/ld:
/home/anisinha/workspace/libvirt/build/../src/admin/admin_remote.c:199:
undefined reference to `virNetClientClose'
/usr/bin/ld: src/libvirt-admin.so.0.7006.0.p/admin_libvirt-admin.c.o: in
function `remoteAdminPrivNew':
/home/anisinha/workspace/libvirt/build/../src/admin/admin_remote.c:225:
undefined reference to `virNetClientNewUNIX'
/usr/bin/ld:
/home/anisinha/workspace/libvirt/build/../src/admin/admin_remote.c:228:
undefined reference to `virNetClientProgramNew'
/usr/bin/ld:
/home/anisinha/workspace/libvirt/build/../src/admin/admin_remote.c:233:
undefined reference to `virNetClientAddProgram'
/usr/bin/ld: src/libvirt-admin.so.0.7006.0.p/admin_libvirt-admin.c.o: in
function `remoteAdminConnectOpen':
/home/anisinha/workspace/libvirt/build/../src/admin/admin_remote.c:159:
undefined reference to `virNetClientRegisterAsyncIO'
/usr/bin/ld:
/home/anisinha/workspace/libvirt/build/../src/admin/admin_remote.c:166:
undefined reference to `virNetClientSetCloseCallback'
/usr/bin/ld: src/libvirt-admin.so.0.7006.0.p/admin_libvirt-admin.c.o: in
function `virAdmConnectIsAlive':
/home/anisinha/workspace/libvirt/build/../src/admin/libvirt-admin.c:397:
undefined reference to `virNetClientIsOpen'
Thanks
ani