[syslog-ng]Syslog 1.4.12, Solaris 8-x86: Too few arguments...

Sander sander@sanderscorner.com
Fri, 13 Jul 2001 23:25:10 +0200


I'm trying to compile syslog-ng 1.4.12 using gcc-2.95.3 and
receive this error:

gcc -DHAVE_CONFIG_H -I. -I/v/src/syslog-ng-1.4.12/src
-I.     -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE
-c afstreams.c
afstreams.c: In function `io_stream_get':
afstreams.c:167: too few arguments to function `init_file'
*** Error code 1
make: Fatal error: Command failed for target `afstreams.o'
Current working directory /v/src/syslog-ng-1.4.12/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Current working directory /v/src/syslog-ng-1.4.12/src
*** Error code 1
make: Fatal error: Command failed for target
`all-recursive-am'
Current working directory /v/src/syslog-ng-1.4.12/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Anyone seen this before?

Sander


P.S.:
Another minor point (just a warning), gcc also complains
about this:
gcc -DHAVE_CONFIG_H -I. -I/v/src/syslog-ng-1.4.12/src
-I.     -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE
-c log.c
log.c: In function `parse_log_msg':
log.c:58: warning: subscript has type `char'