[syslog-ng]Problem compiling on Solaris 8 (sparc)
Ed Ravin
eravin@panix.com
Wed, 17 Apr 2002 17:33:21 -0400 (EDT)
dcntrnoc@cmp.com writes:
> I'm trying to compile syslog-ng version 1.5.16 with gcc version 3.0.3. Yes,
> libol 0.3.2 is installed.
> I am receiving the following error. Any help would be appreciated.
> gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/syslog-ng/syslog-ng-1.5.16/src -I.
> -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c afstreams.c
> afstreams.c: In function `stream_read_callback':
> afstreams.c:148: too few arguments to function `make_log_info'
Someone earlier this week had the same problem, and they posted
this patch:
> --- syslog-ng-1.5.16/src/afstreams.c Sun Jul 8 17:04:21 2001
> +++ syslog-ng-1.5.16-patched/src/afstreams.c Fri Apr 12 18:09:01 2002
> @@ -145,7 +145,7 @@
>
> length = eol - bol;
> if (length) {
> - li = make_log_info(length, bol);
> + li = make_log_info(length, bol, NULL);
> li->pri = pri;
> HANDLE_LOG(self->pipe, li);
> }