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

[libvirt] link error on cygwin



Even though I pushed a last-minute patch for 1.2.7 to fix the compiler
phase of the build on cygwin, I'm stumped on how to fix this error from
the link phase:

  CCLD     libvirtd.exe
../src/.libs/libvirt_driver_remote.a(libvirt_net_rpc_server_la-virnetserver.oo):
In function `virNetServerNew':
/home/eblake/libvirt/src/rpc/virnetserver.c:357: multiple definition of
`virNetServerNew'
/home/eblake/libvirt/src/.libs/libvirt.dll.a(d001949.o):(.text+0x0):
first defined here

and several others.  Looks like we are including a link library through
two paths, and cygwin is not as tolerant of that as Linux; but I'm not
sure where in the Makefile.am to tweak to try and fix it.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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