Atsushi SAKAI <[EMAIL PROTECTED]> 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
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to