gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLM_COMPILATION -DRUNTIME_ENDIAN -g -O2 -Wall -I/opt/local/include -I/opt/local/include -I/opt/local/include -MT lm-socket.lo -MD -MP -MF .deps/lm-socket.Tpo -c lm-socket.c -fno-common -DPIC -o .libs/lm-socket.o
In file included from lm-socket.c:27:
/usr/include/resolv.h:189: error: array type has incomplete element type
/usr/include/resolv.h:203: error: field 'addr' has incomplete type
/usr/include/resolv.h:231: error: field 'sin' has incomplete type
lm-socket.c: In function 'socket_parse_srv_response':
lm-socket.c:632: error: 'HEADER' undeclared (first use in this function)
lm-socket.c:632: error: (Each undeclared identifier is reported only once
lm-socket.c:632: error: for each function it appears in.)
lm-socket.c:632: error: 'head' undeclared (first use in this function)
lm-socket.c:642: error: parse error before ')' token
lm-socket.c:650: error: 'QFIXEDSZ' undeclared (first use in this function)
lm-socket.c:662: warning: implicit declaration of function 'GETSHORT'
lm-socket.c: In function 'lm_socket_create':
lm-socket.c:738: error: 'C_IN' undeclared (first use in this function)
lm-socket.c:738: error: 'T_SRV' undeclared (first use in this function)
gmake
[2]: ***
[lm-socket.lo] Error 1
gmake
[2]: Leaving directory `/Users/jeremy/src/kde/decibel/loudmouth-1.3.1/loudmouth'
gmake
[1]: ***
[all-recursive] Error 1
gmake
[1]: Leaving directory `/Users/jeremy/src/kde/decibel/loudmouth-1.3.1'
gmake: ***
[all] Error 2
Reported by: Jeremy Huddlestone