[syslog-ng] Need help to compile syslog-ng for Solaris
Padmanabhan, Rajeesh (GE Healthcare)
Rajeesh.Padmanabhan at ge.com
Tue Feb 13 17:10:05 CET 2007
Hi Bazsi,
Need your help in compiling syslog-ng for Solaris. Im getting the
following error when i 'make'.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"./messages.h", line 33: syntax error in macro parameters
"./messages.h", line 34: syntax error in macro parameters
"./messages.h", line 35: syntax error in macro parameters
"./messages.h", line 37: syntax error in macro parameters
"./messages.h", line 43: syntax error in macro parameters
cc: acomp failed for messages.c
*** Error code 2
make: Fatal error: Command failed for target `messages.o'
Current working directory /syslog-ng-2.0.1/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /syslog-ng-2.0.1
*** Error code 1
make: Fatal error: Command failed for target `all'
cc -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 -g -c `test -f 'messages.c' || echo './'`messages.c
*** Error code 2
make: Fatal error: Command failed for target `messages.o'
Current working directory /syslog-ng-2.0.1/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /syslog-ng-2.0.1
*** Error code 1
make: Fatal error: Command failed for target `all'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
I suspect problem with macro defenition in message.h.
#define msg_fatal(desc, tag1, tags,
...)msg_event_send(msg_event_create(EVT_PRI_CRIT, desc, tag1, ##tags ))
#define msg_error(desc, tag1, tags,
...)msg_event_send(msg_event_create(EVT_PRI_ERR, desc, tag1, ##tags ))
#define msg_notice(desc, tag1,tags, ... )
msg_event_send(msg_event_create(EVT_PRI_NOTICE, desc, tag1, ##tags ))
Please help.
Thanks,
Rajeesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070213/aa1e74c5/attachment.html
More information about the syslog-ng
mailing list