[syslog-ng] snapshot dnscache.c missing include
Evan Rempel
erempel at uvic.ca
Tue Nov 28 02:05:14 CET 2006
As of nov 27 snapshot, the dnscache.c file is missing the include of
sys/socket.h
which is required on AIX for the definitions of AF_INET, AF_INET6 ...
Additionally, the logmsg.c has errors that prevent compilation.
source='logmsg.c' object='logmsg.o' libtool=no depfile='.deps/logmsg.Po' tmpdepfile='.deps/logmsg.TPo' depmode=aix /bin/sh ../depcomp xlc -DHAVE_CONFIG_H -I. -I. -I.. -D_ALL_SOURCE
-I/usr/local/include -I/usr/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -D_ALL_SOURCE -I/usr/local/include -I/usr/include
-g -c `test -f 'logmsg.c' || echo './'`logmsg.c
"logmsg.c", line 1.1: 1506-137 (E) Declaration must declare at least one declarator, tag, or the members of an enumeration.
"logmsg.c", line 148.7: 1506-068 (E) Operation between types "unsigned char*" and "char*" is not allowed.
"logmsg.c", line 211.39: 1506-280 (E) Function argument assignment between types "char*" and "unsigned char*" is not allowed.
"logmsg.c", line 219.9: 1506-068 (E) Operation between types "unsigned char*" and "char*" is not allowed.
"logmsg.c", line 237.51: 1506-280 (E) Function argument assignment between types "const char*" and "unsigned char*" is not allowed.
"logmsg.c", line 276.39: 1506-280 (E) Function argument assignment between types "char*" and "unsigned char*" is not allowed.
"logmsg.c", line 283.10: 1506-068 (S) Operation between types "struct tm" and "struct tm*" is not allowed.
"logmsg.c", line 314.18: 1506-068 (E) Operation between types "char*" and "unsigned char*" is not allowed.
"logmsg.c", line 318.26: 1506-068 (E) Operation between types "char*" and "unsigned char*" is not allowed.
"logmsg.c", line 349.18: 1506-068 (E) Operation between types "char*" and "unsigned char*" is not allowed.
"logmsg.c", line 383.19: 1506-068 (E) Operation between types "unsigned char*" and "char*" is not allowed.
"logmsg.c", line 394.18: 1506-068 (E) Operation between types "char*" and "unsigned char*" is not allowed.
"logmsg.c", line 406.15: 1506-068 (E) Operation between types "unsigned char*" and "char*" is not allowed.
"logmsg.c", line 418.14: 1506-068 (E) Operation between types "char*" and "unsigned char*" is not allowed.
"logmsg.c", line 440.15: 1506-068 (E) Operation between types "unsigned char*" and "char*" is not allowed.
"logmsg.c", line 445.15: 1506-068 (E) Operation between types "char*" and "unsigned char*" is not allowed.
"logmsg.c", line 450.34: 1506-280 (E) Function argument assignment between types "char*" and "unsigned char*" is not allowed.
make: 1254-004 The error code from the last command is 1.
More information about the syslog-ng
mailing list