undefined references / symbols
This is the error I am getting when building on Windows (GNU toolchain) with the virt dll from virt-viewer: ``` = note: C:\Users\jacob\IdeaProjects\individual-project\core\target\debug\deps\libvirt-66b7c2cffa8dd039.rlib(virt-66b7c2cffa8dd039.virt.1cjxagzk-cgu.13.rcgu.o): In function `virt::nwfilter::NWFilter::lookup_by_id::h7a9649bb60485960': C:\Users\jacob\.cargo\registry\src\github.com-1ecc6299db9ec823\virt-0.2.11\src\nwfilter.rs:81: undefined reference to `virNWFilterLookupByID' C:\Users\jacob\IdeaProjects\individual-project\core\target\debug\deps\libvirt-66b7c2cffa8dd039.rlib(virt-66b7c2cffa8dd039.virt.1cjxagzk-cgu.4.rcgu.o): In function `virt::network::Network::lookup_by_id::h9089e5c77b0829c2': C:\Users\jacob\.cargo\registry\src\github.com-1ecc6299db9ec823\virt-0.2.11\src\network.rs:140: undefined reference to `virNetworkLookupByID' C:\Users\jacob\IdeaProjects\individual-project\core\target\debug\deps\libvirt-66b7c2cffa8dd039.rlib(virt-66b7c2cffa8dd039.virt.1cjxagzk-cgu.4.rcgu.o): In function `virt::nodedev::NodeDevice::get_uuid_string::h62b164eb8484fdcd': C:\Users\jacob\.cargo\registry\src\github.com-1ecc6299db9ec823\virt-0.2.11\src\nodedev.rs:172: undefined reference to `virNodeDeviceGetUUIDString' C:\Users\jacob\IdeaProjects\individual-project\core\target\debug\deps\libvirt-66b7c2cffa8dd039.rlib(virt-66b7c2cffa8dd039.virt.1cjxagzk-cgu.6.rcgu.o): In function `virt::secret::Secret::get_name::hdc0de2db03f2068f': C:\Users\jacob\.cargo\registry\src\github.com-1ecc6299db9ec823\virt-0.2.11\src\secret.rs:157: undefined reference to `virSecretGetName' C:\Users\jacob\IdeaProjects\individual-project\core\target\debug\deps\libvirt-66b7c2cffa8dd039.rlib(virt-66b7c2cffa8dd039.virt.1cjxagzk-cgu.9.rcgu.o): In function `virt::interface::Interface::lookup_by_id::h0d47dcd55ee90767': C:\Users\jacob\.cargo\registry\src\github.com-1ecc6299db9ec823\virt-0.2.11\src\interface.rs:104: undefined reference to `virInterfaceLookupByUUID' C:\Users\jacob\IdeaProjects\individual-project\core\target\debug\deps\libvirt-66b7c2cffa8dd039.rlib(virt-66b7c2cffa8dd039.virt.1cjxagzk-cgu.9.rcgu.o): In function `virt::interface::Interface::lookup_by_uuid_string::hb4e5489ddf8e5daf': C:\Users\jacob\.cargo\registry\src\github.com-1ecc6299db9ec823\virt-0.2.11\src\interface.rs:146: undefined reference to `virInterfaceLookupByUUIDString' ``` As far as I can see all these symbols do not actually exist in the library? E.g. the actual API looks like this: ``` virNWFilterPtr virNWFilterLookupByUUID (virConnectPtr conn, const unsigned char * uuid) ``` But `virNWFilterLookupByID` doesn't exist so why is it being referenced in the Rust library? I am very confused what is going on here? I can see it builds as is in the CI server?
issue