[syslog-ng] Syslog-ng error message

Robert Gahl bgahl at bawcsa.org
Tue May 23 22:25:30 CEST 2006


On Tue, May 23, 2006 2:48 pm, Balazs Scheidler said:

> This is a bug in 1.9.10 which was fixed in snapshots later than
> 2006-05-01.
>
> I'm about to release 1.9.11, so you could simply wait for that.
>
> BTW: if you are new to syslog-ng you might prefer to stay with the
> current stable series, which is 1.6.x, however testing the 1.9.x branch
> is certainly appreciated, I would like to release it as the new stable
> release soon.

Thanks, Balazs. I've dl'd 1.9.11 and am having a different problem
compiling it now. My configure line looks like:

./configure CFLAGS="-lrt -L/usr/local/lib -R/usr/local/lib"
--enable-dynamic-linking --disable-ipv6

The configure seems to go flawlessly, but when I gmake, I get:

if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -I/usr/local/include/eventlog  
-D_GNU_SOURCE  -lrt -L/usr/local/lib -R/usr/local/lib -Wall -g -MT
afinet.o -MD -MP -MF ".deps/afinet.Tpo" \
  -c -o afinet.o `test -f 'afinet.c' || echo './'`afinet.c; \
then mv -f ".deps/afinet.Tpo" ".deps/afinet.Po"; \
else rm -f ".deps/afinet.Tpo"; exit 1; \
fi
afinet.c: In function `afinet_resolve_name':
afinet.c:81: warning: implicit declaration of function `memset'
afinet.c: In function `afinet_setup_socket':
afinet.c:156: error: `SOL_IP' undeclared (first use in this function)
afinet.c:156: error: (Each undeclared identifier is reported only once
afinet.c:156: error: for each function it appears in.)
afinet.c: In function `afinet_sd_new':
afinet.c:246: warning: implicit declaration of function
`g_sockaddr_inet6_new'
afinet.c:246: warning: assignment makes pointer from integer without a cast
afinet.c: In function `afinet_dd_new':
afinet.c:303: warning: assignment makes pointer from integer without a cast
afinet.c:304: warning: assignment makes pointer from integer without a cast
gmake[2]: *** [afinet.o] Error 1
gmake[2]: Leaving directory `/usr/local/src/syslog-ng-1.9.11/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/syslog-ng-1.9.11'
gmake: *** [all] Error 2

I've been digging around for the SOL_IP declaration, but w/o luck. If this
is too much trouble, I'll bounce back to 1.6.x.



More information about the syslog-ng mailing list