Re: [libvirt] [PATCH] mingw: Fix symbol export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/03/2010 12:55 PM, Matthias Bolte wrote:
> In commit 98fb83ce25f46e0236706fa6e0943032d921935f I changed the
> version script handling. But it seems that I didn't test this properly
> and broke it. The .def file is passed to the compiler directly, but it
> should get passed to the linker instead.
> 
> Set VERSION_SCRIPT_FLAGS to -Wl, to pass the .def file correctly to
> the linker.
> 
> This fixes the undefined symbol errors while linking virsh.

ACK.

I'm still getting some other errors using autobuild.sh, but they are
independent of this one and shouldn't hold up this one from going in:

  CCLD   libvirt.la
Info: resolving _xmlFree by linking to __imp__xmlFree (auto-import)
Creating library file: .libs/libvirt.dll.a
/usr/lib/gcc/i686-pc-mingw32/4.4.1/../../../../i686-pc-mingw32/bin/ld:
warning: auto-importing has been activated without --enable-auto-import
specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.
Cannot export linuxDomainInterfaceStats: symbol not defined
Cannot export virCondWaitUntil: symbol not defined
Cannot export virPipeReadUntilEOF: symbol not defined
Cannot export xenLinuxDomainBlockStats: symbol not defined
collect2: ld returned 1 exit status

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]