[liboping] Cygwin attempt, For the Record
Soren A
wetware.interrupt at yahoo.com
Tue Jan 29 21:48:48 CET 2008
Greetings.
I just subscribed.
Thought I'd post the results (failures) for the attempt to compile
liboping on Cygwin (www.cygwin.com). That way anyone else who
follows can confirm the same failures, or can check beforehand to
see what to expect.
I'm not implying by posting this, that I have the opinion that
liboping *should* have built on Cygwin, or that liboping *has to
become able to* build on Cygwin. Neither of these is my opinion. Of
course, I am sure that there will be potential liboping users who
will *want* liboping to build on Cygwin. How many such users, I
can't know, naturally ;-).
As to the failures, it is just a porting job, I guess. I won't have
the time soon to dive into it myself, but it could happen
eventually.
As a reminder (in connection with the previous posting I made to
this List), I'm collecting my "stuff" relating to liboping at
URL: http://intrepid.perlmonk.org/rwbconfigs/
Cheers,
Soren "somian" Andersen
Cleaned-up console output on Windows XP SP2, Cygwin:
Making all in src
make[1]: Entering directory
`/home/somian/SoftwareBuilds/liboping-develbranch/src'
make all-recursive
make[2]: Entering directory
`/home/somian/SoftwareBuilds/liboping-develbranch/src'
Making all in mans
make[3]: Entering directory
`/home/somian/SoftwareBuilds/liboping-develbranch/src/mans'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/somian/SoftwareBuilds/liboping-develbranch/src/mans'
make[3]: Entering directory
`/home/somian/SoftwareBuilds/liboping-develbranch/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -Wall -Werror -g -O2 -c -o liboping.lo liboping.c
gcc -DHAVE_CONFIG_H -I. -Wall -Werror -g -O2 -c liboping.c
-DDLL_EXPORT -DPIC -o .libs/liboping.o
liboping.c: In function `ping_receive_ipv4':
liboping.c:234: error: invalid application of `sizeof' to
incomplete type `icmp'
liboping.c:238: error: invalid application of `sizeof' to
incomplete type `icmp'
liboping.c:239: error: invalid application of `sizeof' to
incomplete type `icmp'
liboping.c:241: error: dereferencing pointer to incomplete type
liboping.c:241: error: `ICMP_ECHOREPLY' undeclared (first use in
this function)
liboping.c:241: error: (Each undeclared identifier is reported only
once
liboping.c:241: error: for each function it appears in.)
liboping.c:247: error: dereferencing pointer to incomplete type
liboping.c:248: error: dereferencing pointer to incomplete type
liboping.c:250: error: invalid application of `sizeof' to
incomplete type `icmp'
liboping.c:259: error: dereferencing pointer to incomplete type
liboping.c:259: error: dereferencing pointer to incomplete type
liboping.c:259: error: dereferencing pointer to incomplete type
liboping.c:259: error: dereferencing pointer to incomplete type
liboping.c:260: error: dereferencing pointer to incomplete type
liboping.c:260: error: dereferencing pointer to incomplete type
liboping.c:260: error: dereferencing pointer to incomplete type
liboping.c:260: error: dereferencing pointer to incomplete type
liboping.c: In function `ping_receive_ipv6':
liboping.c:319: error: invalid application of `sizeof' to
incomplete type `icmp6_hdr'
liboping.c:323: error: invalid application of `sizeof' to
incomplete type `icmp'
liboping.c:324: error: invalid application of `sizeof' to
incomplete type `icmp'
liboping.c:326: error: dereferencing pointer to incomplete type
liboping.c:332: error: dereferencing pointer to incomplete type
liboping.c:338: error: dereferencing pointer to incomplete type
liboping.c:338: error: dereferencing pointer to incomplete type
liboping.c:338: error: dereferencing pointer to incomplete type
liboping.c:338: error: dereferencing pointer to incomplete type
liboping.c:339: error: dereferencing pointer to incomplete type
liboping.c:339: error: dereferencing pointer to incomplete type
liboping.c:339: error: dereferencing pointer to incomplete type
liboping.c:339: error: dereferencing pointer to incomplete type
liboping.c:346: error: `AF_INET6' undeclared (first use in this
function)
liboping.c: In function `ping_receive_one':
liboping.c:402: error: `AF_INET6' undeclared (first use in this
function)
liboping.c: In function `ping_send_one_ipv4':
liboping.c:592: error: invalid use of undefined type `struct icmp'
liboping.c:594: error: dereferencing pointer to incomplete type
liboping.c:594: error: `ICMP_ECHO' undeclared (first use in this
function)
liboping.c:595: error: dereferencing pointer to incomplete type
liboping.c:596: error: dereferencing pointer to incomplete type
liboping.c:597: error: dereferencing pointer to incomplete type
liboping.c:598: error: dereferencing pointer to incomplete type
liboping.c:600: error: invalid application of `sizeof' to
incomplete type `icmp'
liboping.c:604: error: invalid application of `sizeof' to
incomplete type `icmp'
liboping.c:606: error: dereferencing pointer to incomplete type
liboping.c: In function `ping_send_one_ipv6':
liboping.c:637: error: invalid use of undefined type `struct
icmp6_hdr'
liboping.c:639: error: dereferencing pointer to incomplete type
liboping.c:640: error: dereferencing pointer to incomplete type
liboping.c:643: error: dereferencing pointer to incomplete type
liboping.c:644: error: dereferencing pointer to incomplete type
liboping.c:645: error: dereferencing pointer to incomplete type
liboping.c:647: error: invalid application of `sizeof' to
incomplete type `icmp6_hdr'
liboping.c:651: error: invalid application of `sizeof' to
incomplete type `icmp6_hdr'
liboping.c: In function `ping_send_all':
liboping.c:693: error: `AF_INET6' undeclared (first use in this
function)
liboping.c: In function `ping_set_ttl':
liboping.c:738: error: `AF_INET6' undeclared (first use in this
function)
liboping.c:740: error: `IPPROTO_IPV6' undeclared (first use in this
function)
liboping.c:740: error: `IPV6_UNICAST_HOPS' undeclared (first use in
this function)
liboping.c: In function `ping_setopt':
liboping.c:902: error: `AF_INET6' undeclared (first use in this
function)
liboping.c:926: error: storage size of 'ai_hints' isn't known
liboping.c:940: warning: implicit declaration of function
`getaddrinfo'
liboping.c:945: error: `EAI_SYSTEM' undeclared (first use in this
function)
liboping.c:946: warning: implicit declaration of function
`gai_strerror'
liboping.c:965: warning: implicit declaration of function
`freeaddrinfo'
liboping.c:970: error: dereferencing pointer to incomplete type
liboping.c:971: error: dereferencing pointer to incomplete type
liboping.c:972: error: dereferencing pointer to incomplete type
liboping.c:973: error: dereferencing pointer to incomplete type
liboping.c:974: error: dereferencing pointer to incomplete type
liboping.c:926: warning: unused variable `ai_hints'
liboping.c: In function `ping_host_add':
liboping.c:1021: error: storage size of 'ai_hints' isn't known
liboping.c:1076: error: `EAI_SYSTEM' undeclared (first use in this
function)
liboping.c:1086: error: dereferencing pointer to incomplete type
liboping.c:1093: error: dereferencing pointer to incomplete type
liboping.c:1102: error: dereferencing pointer to incomplete type
liboping.c:1103: error: dereferencing pointer to incomplete type
liboping.c:1105: error: dereferencing pointer to incomplete type
liboping.c:1105: error: `AF_INET6' undeclared (first use in this
function)
liboping.c:1109: warning: type-punning to incomplete type might
break strict-aliasing rules
liboping.c:1110: error: dereferencing pointer to incomplete type
liboping.c:1111: error: dereferencing pointer to incomplete type
liboping.c:1112: error: dereferencing pointer to incomplete type
liboping.c:1112: error: `in6addr_any' undeclared (first use in this
function)
liboping.c:1114: error: dereferencing pointer to incomplete type
liboping.c:1115: error: dereferencing pointer to incomplete type
liboping.c:1115: error: `IPPROTO_ICMPV6' undeclared (first use in
this function)
liboping.c:1121: error: dereferencing pointer to incomplete type
liboping.c:1131: error: dereferencing pointer to incomplete type
liboping.c:1131: error: dereferencing pointer to incomplete type
liboping.c:1131: error: dereferencing pointer to incomplete type
liboping.c:1154: error: dereferencing pointer to incomplete type
liboping.c:1156: error: dereferencing pointer to incomplete type
liboping.c:1156: error: dereferencing pointer to incomplete type
liboping.c:1157: error: dereferencing pointer to incomplete type
liboping.c:1158: error: dereferencing pointer to incomplete type
liboping.c:1021: warning: unused variable `ai_hints'
liboping.c: In function `ping_iterator_get_info':
liboping.c:1295: warning: implicit declaration of function
`getnameinfo'
liboping.c:1300: error: `NI_NUMERICHOST' undeclared (first use in
this function)
liboping.c:1303: error: `EAI_MEMORY' undeclared (first use in this
function)
liboping.c:1309: error: `EAI_SYSTEM' undeclared (first use in this
function)
make[3]: *** [liboping.lo] Error 1
make[3]: Leaving directory
`/home/somian/SoftwareBuilds/liboping-develbranch/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/somian/SoftwareBuilds/liboping-develbranch/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/somian/SoftwareBuilds/liboping-develbranch/src'
make: *** [all-recursive] Error 1
--
"All unattended children will be given espresso and a free kitten."
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the liboping
mailing list