syslog-ng 1.9.5 under Solaris 10 (sparc)
I know that release 1.9.5 is in development phase. Maybe the below is useful to "our" developers. FYI - I have installed 1.6.8 with no troubles (up to now...) Regards, Andrea # /usr/local/bin/make /usr/local/bin/make all-recursive make[1]: Entering directory `/lhome/esacom96/admest/packages/Sol10/balabit/syslog-ng-1.9.5' Making all in src make[2]: Entering directory `/lhome/esacom96/admest/packages/Sol10/balabit/syslog-ng-1.9.5/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT misc.o -MD -MP -MF ".deps/misc.Tpo" \ -c -o misc.o `test -f 'misc.c' || echo './'`misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; \ else rm -f ".deps/misc.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT utils.o -MD -MP -MF ".deps/utils.Tpo" \ -c -o utils.o `test -f 'utils.c' || echo './'`utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; \ else rm -f ".deps/utils.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT messages.o -MD -MP -MF ".deps/messages.Tpo" \ -c -o messages.o `test -f 'messages.c' || echo './'`messages.c; \ then mv -f ".deps/messages.Tpo" ".deps/messages.Po"; \ else rm -f ".deps/messages.Tpo"; exit 1; \ fi In file included from messages.c:24: messages.h:49: error: parse error before "EVTTAG" messages.c:40: error: parse error before '*' token messages.c:40: warning: type defaults to `int' in declaration of `evt_context' messages.c:40: warning: data definition has no type or storage class messages.c: In function `msg_send_internal_message': messages.c:56: warning: int format, pid_t arg (arg 5) messages.c: At top level: messages.c:63: error: parse error before "EVTTAG" messages.c: In function `msg_event': messages.c:69: error: `prio' undeclared (first use in this function) messages.c:69: error: (Each undeclared identifier is reported only once messages.c:69: error: for each function it appears in.) messages.c:69: error: `desc' undeclared (first use in this function) messages.c:69: warning: passing arg 1 of `evt_rec_init' from incompatible pointer type messages.c:69: warning: assignment makes pointer from integer without a cast messages.c:70: error: `tag1' undeclared (first use in this function) messages.c:72: warning: implicit declaration of function `evt_rec_add_tag' messages.c:74: warning: implicit declaration of function `evt_rec_add_tagsv' messages.c:80: error: `EVT_PRI_DEBUG' undeclared (first use in this function) messages.c:84: warning: implicit declaration of function `evt_rec_get_syslog_pri' messages.c:73: error: `va_start' used in function with fixed args messages.c: In function `msg_log_func': messages.c:94: error: `EVT_PRI_INFO' undeclared (first use in this function) messages.c:97: error: `EVT_PRI_DEBUG' undeclared (first use in this function) messages.c:99: error: `EVT_PRI_WARNING' undeclared (first use in this function) messages.c:101: error: `EVT_PRI_ERR' undeclared (first use in this function) messages.c:103: error: `EVT_FAC_SYSLOG' undeclared (first use in this function) messages.c: In function `msg_init': messages.c:119: warning: implicit declaration of function `evt_ctx_init' messages.c:119: error: `EVT_FAC_SYSLOG' undeclared (first use in this function) messages.c:119: warning: assignment makes pointer from integer without a cast messages.c: In function `msg_deinit': messages.c:130: warning: implicit declaration of function `evt_ctx_free' make[2]: *** [messages.o] Error 1 make[2]: Leaving directory `/lhome/esacom96/admest/packages/Sol10/balabit/syslog-ng-1.9.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/lhome/esacom96/admest/packages/Sol10/balabit/syslog-ng-1.9.5' make: *** [all] Error 2
On Wed, 2005-08-10 at 17:15 +0200, Andrea.DAlessandro@esa.int wrote:
I know that release 1.9.5 is in development phase. Maybe the below is useful to "our" developers. FYI - I have installed 1.6.8 with no troubles (up to now...) if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -MT messages.o -MD -MP -MF ".deps/messages.Tpo" \ -c -o messages.o `test -f 'messages.c' || echo './'`messages.c; \ then mv -f ".deps/messages.Tpo" ".deps/messages.Po"; \ else rm -f ".deps/messages.Tpo"; exit 1; \ fi In file included from messages.c:24: messages.h:49: error: parse error before "EVTTAG" messages.c:40: error: parse error before '*' token messages.c:40: warning: type defaults to `int' in declaration of `evt_context'
as it seems it could not include evtlog.h, or evtlog.h from eventlog clashes with some system header on Solaris. Can you confirm that? -- Bazsi
participants (2)
-
Andrea.DAlessandroļ¼ esa.int
-
Balazs Scheidler