[syslog-ng]Problem compiling on Solaris 8 (sparc)

Victor victord@paid.com
Thu, 18 Apr 2002 01:36:56 -0400


> Hi all,
>
> 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'
> make[3]: *** [afstreams.o] Error 1
> make[3]: Leaving directory `/usr/local/src/syslog-ng/syslog-ng-1.5.16/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/syslog-ng/syslog-ng-1.5.16/src'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/usr/local/src/syslog-ng/syslog-ng-1.5.16/src'
> make: *** [all-recursive] Error 1
>
>
> Thanks in advance,
> Sharon.

I had this issue too. I think the problem is that the make_class script is
not a bourne shell script. It's a scsh script. So I think you need scheme,
or something like that. I just compiled it on linux and copied the
classname.c.x files over to sun and it worked great.