[syslog-ng]Problem compiling libol-0.2.23 and syslog-ng-1.4.1
2
Hamilton, Andrew Mr RAYTHEON 5 SIG CMD
HamiltonA@hq.5sigcmd.army.mil
Fri, 20 Jul 2001 13:12:41 +0200
--- Balazs Scheidler <bazsi@balabit.hu> wrote:
> try this patch:
>
> diff -u -r1.10.2.1 afstreams.c
> --- afstreams.c 2001/02/25 12:30:22 1.10.2.1
> +++ afstreams.c 2001/07/16 08:26:55
> @@ -164,7 +164,7 @@
> {
> NEW(stream_fd, f);
>
> - init_file(backend, &f->super, fd);
> + init_file(backend, &f->super, fd, NULL);
> f->super.prepare = prepare_stream_fd;
> f->super.read = stream_read_callback;
> f->super.want_read = 1;
-----Original Message-----
From: James Eborall [mailto:james.eborall@mci.co.uk]
Sent: Friday, July 20, 2001 5:08 PM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]Problem compiling libol-0.2.23 and syslog-ng-1.4.12
I have a problem compiling syslog-ng on Sol 2.7.
libol compiles and installs ok.
syslog-ng won't compile,
afstreams.c: In function `io_stream_get';
afstreams.c:167: too few arguments to function `init_file'
I've checked and the proto in libol/src/io.h has 4 arguments whereas the
usage in afstreams.c is with 3,
anyone have a fix?
james