[syslog-ng]Solaris 8 + syslog-ng-1.5.18
Michael Renner
m.renner@inode.at
Thu, 18 Jul 2002 15:13:58 +0200
At 16:43 18.07.2002 +0700, you wrote:
>Dear friends,
>
>Anyone success to compile syslog-ng-1.5.18 on Solaris 8.
Taken from http://www.tuxedo.org/~esr/faqs/smart-questions.html#ASKING :
Send plain text mail, not HTML. (It's not hard to turn off HTML.)
---
Regarding cfg-grammar.y:
gcc -DHAVE_CONFIG_H -I. -I/usr/share/src/syslog-ng-1.5.18/src -I. -g
-O2 -Wall -I/usr/src/libol-0.3.3/src -D_GNU_SOURCE -c cfg-grammar.c
cfg-grammar.y: In function `yyerror':
cfg-grammar.y:703: warning: implicit declaration of function `fprintf'
cfg-grammar.y:703: `stderr' undeclared (first use in this function)
cfg-grammar.y:703: (Each undeclared identifier is reported only once
cfg-grammar.y:703: for each function it appears in.)
make[3]: *** [cfg-grammar.o] Error 1
Bazsi, he's right, syslog-ng 1.5.18 won't compile on Sol8 without adding a
'#include "stdio.h"'. Maybe you should add this to the sources if it
doesn't break anything else.
After fixing that syslog-ng compiles/links/runs fine, your problem has been
explained by Bazsi already.
mfg/best regards
--
Inode Telekommunikationsdienstleistungs GmbH - http://www.inode.at/
Michael Renner - Junior System Engineer
m.renner@inode.at, Tel.: +43 59999 0 Fax.: +43 59999 6599
Buero Wien - Millennium Tower Handelskai 94-96/43 - A-1200 Wien
Buero Graz - Schmiedlstrasse 1 - A-8042 Graz
Buero Sbg - Schillerstrasse 30 - A-5020 Salzburg
Buero Ibk - Eduard Bodem Gasse 5-7 - A-6020 Innsbruck