Have compiled and installed eventlog-0.2.12 (into /usr/local/syslog-ng).
Now trying to compile syslog-ng I’m hitting the error shown at the end.
Following commands were used to configure the environment for the compile
export PKG_CONFIG_PATH=/usr/local/syslog-ng/lib/pkgconfig
./configure --prefix=/usr/local/syslog-ng --enable-sun-streams --enable-tcp-wrapper --enable-ipv6 --enable-sql --enable-ssh --with-ld-library-path=/usr/local/syslog-ng/lib --disable-amqp --enable-sun-door
Any suggestions ?
Thanks
Ian
CC modules/afsocket/modules_afsocket_libafsocket_notls_la-transport-mapper-unix.lo
CC modules/afsocket/modules_afsocket_libafsocket_notls_la-transport-unix-socket.lo
modules/afsocket/transport-unix-socket.c: In function â_format_proc_file_nameâ:
modules/afsocket/transport-unix-socket.c:50:3: warning: format â%dâ expects argument of type âintâ, but argument 4 has type âpid_tâ [-Wformat=]
g_snprintf(buf, buflen, "/proc/%d/%s", pid, proc_file);
^
modules/afsocket/transport-unix-socket.c: In function â_unix_socket_readâ:
modules/afsocket/transport-unix-socket.c:219:6: error: âstruct msghdrâ has no member named âmsg_controlâ
msg.msg_control = ctlbuf;
^
modules/afsocket/transport-unix-socket.c:220:6: error: âstruct msghdrâ has no member named âmsg_controllenâ
msg.msg_controllen = sizeof(ctlbuf);
^
modules/afsocket/transport-unix-socket.c: In function âlog_transport_unix_dgram_socket_newâ:
modules/afsocket/transport-unix-socket.c:261:3: warning: implicit declaration of function âsocket_set_pass_credentialsâ [-Wimplicit-function-declaration]
socket_set_pass_credentials(fd);
^
modules/afsocket/transport-unix-socket.c: At top level:
modules/afsocket/transport-unix-socket.c:36:1: warning: â_add_nv_pair_intâ defined but not used [-Wunused-function]
_add_nv_pair_int(LogTransportAuxData *aux, const gchar *name, gint value)
^
modules/afsocket/transport-unix-socket.c:102:1: warning: â_add_nv_pair_proc_read_unless_unsetâ defined but not used [-Wunused-function]
_add_nv_pair_proc_read_unless_unset(LogTransportAuxData *aux, const gchar *name, pid_t pid, const gchar *proc_file, const gchar *unset_value)
^
modules/afsocket/transport-unix-socket.c:115:1: warning: â_add_nv_pair_proc_read_argvâ defined but not used [-Wunused-function]
_add_nv_pair_proc_read_argv(LogTransportAuxData *aux, const gchar *name, pid_t pid, const gchar *proc_file)
^
modules/afsocket/transport-unix-socket.c:135:1: warning: â_add_nv_pair_proc_readlinkâ defined but not used [-Wunused-function]
_add_nv_pair_proc_readlink(LogTransportAuxData *aux, const gchar *name, pid_t pid, const gchar *proc_file)
^
gmake[2]: *** [modules/afsocket/modules_afsocket_libafsocket_notls_la-transport-unix-socket.lo] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2