[syslog-ng] compiling on Redhat Linux ES 4 with Solaris support

Balazs Scheidler bazsi at balabit.hu
Fri Jul 29 10:37:58 CEST 2005


On Thu, 2005-07-28 at 14:36 -0600, Jeff Wilson wrote:
> Ok I can compile and configure syslog-ng with out Solaris support but when I 
> add --enable-sun-streams to the configure command and then run make I get an 
> error.  I have searched every where I can for an answer but can not find 
> one. Any help would be appreciated.  here is the out put.
> 
> [syslog-ng-1.6.8]# make
> Making all in src
> make[1]: Entering directory `/root/jeff/syslog-ng-1.6.8/src'
> make  all-recursive
> make[2]: Entering directory `/root/jeff/syslog-ng-1.6.8/src'
> Making all in .
> make[3]: Entering directory `/root/jeff/syslog-ng-1.6.8/src'
> if gcc -DHAVE_CONFIG_H -I. -I/root/jeff/syslog-ng-1.6.8/src -I.     -g -O2 
> -Wall -I/usr/local/include/libol -D_GNU_SOURCE -MT afstreams.o -MD -MP -MF 
> ".deps/afstreams.Tpo" \
>   -c -o afstreams.o `test -f 'afstreams.c' || echo 
> '/root/jeff/syslog-ng-1.6.8/src/'`afstreams.c; \
> then mv -f ".deps/afstreams.Tpo" ".deps/afstreams.Po"; \
> else rm -f ".deps/afstreams.Tpo"; exit 1; \
> fi
> afstreams.c:38:24: sys/strlog.h: No such file or directory
> afstreams.c: In function `do_stream_read':
> afstreams.c:95: error: storage size of 'lc' isn't known
> afstreams.c:95: warning: unused variable `lc'
> afstreams.c: In function `do_init_afstreams_source':
> afstreams.c:238: error: `I_CONSLOG' undeclared (first use in this function)
> afstreams.c:238: error: (Each undeclared identifier is reported only once
> afstreams.c:238: error: for each function it appears in.)

for some reasons you don't have sys/strlog.h header file, which should
be available on your system. Maybe you missed some development packages.

-- 
Bazsi



More information about the syslog-ng mailing list