gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. "-DDEBUG_TRAP=__asm__(\"int \$3\")" -g -O2 -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -MT libavahi_core_la-socket.lo -MD -MP -MF .deps/libavahi_core_la-socket.Tpo -c socket.c -fPIC -DPIC -o .libs/libavahi_core_la-socket.o socket.c: In function `avahi_send_dns_packet_ipv4': socket.c:478: warning: implicit declaration of function `CMSG_SPACE' socket.c:495: warning: pointer targets in assignment differ in signedness socket.c:503: error: structure has no member named `msg_flags' socket.c:504: error: structure has no member named `msg_control' socket.c:505: error: structure has no member named `msg_controllen' socket.c:512: error: structure has no member named `msg_control' socket.c:513: error: structure has no member named `msg_controllen' socket.c:515: warning: implicit declaration of function `CMSG_FIRSTHDR' socket.c:515: warning: assignment makes pointer from integer without a cast socket.c:516: warning: implicit declaration of function `CMSG_LEN' socket.c:520: warning: implicit declaration of function `CMSG_DATA' socket.c:520: warning: cast does not match function type socket.c:528: error: structure has no member named `msg_controllen' socket.c: In function `avahi_send_dns_packet_ipv6': socket.c:478: warning: redundant redeclaration of 'CMSG_SPACE' socket.c:478: warning: previous implicit declaration of 'CMSG_SPACE' was here socket.c:588: warning: pointer targets in assignment differ in signedness socket.c:596: error: structure has no member named `msg_flags' socket.c:602: error: structure has no member named `msg_control' socket.c:603: error: structure has no member named `msg_controllen' socket.c:515: warning: redundant redeclaration of 'CMSG_FIRSTHDR' socket.c:515: warning: previous implicit declaration of 'CMSG_FIRSTHDR' was here socket.c:605: warning: assignment makes pointer from integer without a cast socket.c:516: warning: redundant redeclaration of 'CMSG_LEN' socket.c:516: warning: previous implicit declaration of 'CMSG_LEN' was here socket.c:520: warning: redundant redeclaration of 'CMSG_DATA' socket.c:520: warning: previous implicit declaration of 'CMSG_DATA' was here socket.c:610: warning: cast does not match function type socket.c:618: error: structure has no member named `msg_controllen' socket.c:620: error: structure has no member named `msg_control' socket.c:621: error: structure has no member named `msg_controllen' socket.c: In function `avahi_recv_dns_packet_ipv4': socket.c:659: warning: pointer targets in assignment differ in signedness socket.c:667: error: structure has no member named `msg_control' socket.c:668: error: structure has no member named `msg_controllen' socket.c:669: error: structure has no member named `msg_flags' socket.c:688: error: structure has no member named `msg_flags' socket.c:689: error: structure has no member named `msg_flags' socket.c:515: warning: redundant redeclaration of 'CMSG_FIRSTHDR' socket.c:515: warning: previous implicit declaration of 'CMSG_FIRSTHDR' was here socket.c:708: warning: assignment makes pointer from integer without a cast socket.c:708: warning: implicit declaration of function `CMSG_NXTHDR' socket.c:708: warning: assignment makes pointer from integer without a cast socket.c:520: warning: redundant redeclaration of 'CMSG_DATA' socket.c:520: warning: previous implicit declaration of 'CMSG_DATA' was here socket.c:718: warning: cast does not match function type socket.c:520: warning: redundant redeclaration of 'CMSG_DATA' socket.c:520: warning: previous implicit declaration of 'CMSG_DATA' was here socket.c:724: warning: cast does not match function type socket.c:520: warning: redundant redeclaration of 'CMSG_DATA' socket.c:520: warning: previous implicit declaration of 'CMSG_DATA' was here socket.c:740: warning: cast does not match function type socket.c:520: warning: redundant redeclaration of 'CMSG_DATA' socket.c:520: warning: previous implicit declaration of 'CMSG_DATA' was here socket.c:756: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast socket.c: In function `avahi_recv_dns_packet_ipv6': socket.c:812: warning: pointer targets in assignment differ in signedness socket.c:821: error: structure has no member named `msg_control' socket.c:822: error: structure has no member named `msg_controllen' socket.c:823: error: structure has no member named `msg_flags' socket.c:837: error: structure has no member named `msg_flags' socket.c:838: error: structure has no member named `msg_flags' socket.c:515: warning: redundant redeclaration of 'CMSG_FIRSTHDR' socket.c:515: warning: previous implicit declaration of 'CMSG_FIRSTHDR' was here socket.c:851: warning: assignment makes pointer from integer without a cast socket.c:708: warning: redundant redeclaration of 'CMSG_NXTHDR' socket.c:708: warning: previous implicit declaration of 'CMSG_NXTHDR' was here socket.c:851: warning: assignment makes pointer from integer without a cast socket.c:520: warning: redundant redeclaration of 'CMSG_DATA' socket.c:520: warning: previous implicit declaration of 'CMSG_DATA' was here socket.c:860: warning: cast does not match function type socket.c:520: warning: redundant redeclaration of 'CMSG_DATA' socket.c:520: warning: previous implicit declaration of 'CMSG_DATA' was here socket.c:867: warning: cast does not match function type gmake[2]: *** [libavahi_core_la-socket.lo] Error 1 gmake[2]: Leaving directory `/root/mono/2/avahi-0.6.17/avahi-core' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/root/mono/2/avahi-0.6.17' gmake: *** [all] Error 2