Re: [libvirt] [PATCH] fix MinGW compilation(200808)

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

 



Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx> wrote:
> I have a question about inet_pton().
> I try to compile libvirt on MinGW after some modification.
> The error message says follows.
> C:/msys/1.0/home/sakaia/work/libvirt/src/network_conf.c:290: undefined reference to `inet_pton'
> C:/msys/1.0/home/sakaia/work/libvirt/src/network_conf.c:296: undefined reference to `inet_pton'

Thanks for the report.
When the system does not declare inet_pton,
gnulib arranges for it to be in gnulib/lib/arpa/inet.h.
Since network_conf.c does include <arpa/inet.h>, and -I
directives point to the containing directory, it should
use that file.

Please run "make distclean" (or start from a fresh checkout), then run
the usual ./autogen.sh command, to ensure that you don't have any stale,
generated files.  If the problem persists, please post the contents of
the generated gnulib/lib/arpa/inet.h.

--
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]