[syslog-ng] syslog-ng v16 compilation problem

Balazs Scheidler bazsi@balabit.hu
Wed, 26 May 1999 12:48:48 +0200


> Making all in src
> make[1]: Entering directory
> `/usr/src/testing/syslog-ng/syslog-ng-1.1.16/src'
> gcc -DHAVE_CONFIG_H -I. -I/usr/src/testing/syslog-ng/syslog-ng-1.1.16/src
> -I.     -O2 -Wall -I/tmp/syslog-ng/include/libol -c main.c
> gcc -DHAVE_CONFIG_H -I. -I/usr/src/testing/syslog-ng/syslog-ng-1.1.16/src
> -I.     -O2 -Wall -I/tmp/syslog-ng/include/libol -c sources.c
> sources.c: In function `do_read_line':
> sources.c:72: warning: `length' might be used uninitialized in this
> function

oops... this warning is not displayed without -O2... I fixed this in 1.1.17.

> gcc -DHAVE_CONFIG_H -I. -I/usr/src/testing/syslog-ng/syslog-ng-1.1.16/src
> -I.     -O2 -Wall -I/tmp/syslog-ng/include/libol -c cfg-grammar.c
> cfg-grammar.y: In function `yyparse':
> cfg-grammar.y:212: dereferencing pointer to incomplete type

This is strange. I've tried to compile this several times, but this error
did not occur.

I released 1.1.17, which fixes the above problem. (though it should only
occur on HP-UX)

-- 
Bazsi
PGP key: http://www.balabit.hu/pgpkey.txt, or finger bazsi@balabit.hu