<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV>
<P><FONT size=2></FONT></P>
<P><SPAN class=931120516-13022007><FONT face="Trebuchet MS" size=2>Hi
Bazsi,</FONT></SPAN></P>
<P><SPAN class=931120516-13022007><FONT face="Trebuchet MS" size=2>Need your
help in compiling syslog-ng for Solaris. Im getting the following error when i
'make'.</FONT></SPAN></P>
<P><SPAN class=931120516-13022007><FONT face="Trebuchet MS" color=#0000ff
size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></SPAN></P><SPAN
class=931120516-13022007>
<P><FONT size=2></FONT></P>
<P><FONT face="Trebuchet MS" size=2>"./messages.h", line 33: syntax error in
macro parameters<BR>"./messages.h", line 34: syntax error in macro
parameters<BR>"./messages.h", line 35: syntax error in macro
parameters<BR>"./messages.h", line 37: syntax error in macro
parameters<BR>"./messages.h", line 43: syntax error in macro parameters<BR>cc:
acomp failed for messages.c<BR>*** Error code 2<BR>make: Fatal error: Command
failed for target `messages.o'<BR>Current working directory
/syslog-ng-2.0.1/src<BR>*** Error code 1<BR>make: Fatal error: Command failed
for target `all-recursive'<BR>Current working directory /syslog-ng-2.0.1<BR>***
Error code 1<BR>make: Fatal error: Command failed for target `all'</FONT></P>
<P><BR><FONT face="Trebuchet MS" size=2>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</FONT></P>
<P><BR><FONT face="Trebuchet MS" size=2>*** Error code 2<BR>make: Fatal error:
Command failed for target `messages.o'<BR>Current working directory
/syslog-ng-2.0.1/src<BR>*** Error code 1<BR>make: Fatal error: Command failed
for target `all-recursive'<BR>Current working directory /syslog-ng-2.0.1<BR>***
Error code 1<BR>make: Fatal error: Command failed for target `all'</FONT></P>
<P><SPAN class=931120516-13022007><FONT face="Trebuchet MS" color=#0000ff
size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></SPAN></P>
<P><SPAN class=931120516-13022007></SPAN><FONT face="Trebuchet MS"><FONT
size=2>I<SPAN class=931120516-13022007> suspect problem with macro
defenition in message.h. </SPAN></FONT></FONT></P>
<P><FONT face="Trebuchet MS" color=#0000ff size=2>#define msg_fatal(desc, tag1,
tags, ...)msg_event_send(msg_event_create(EVT_PRI_CRIT, desc, tag1, ##tags
))<BR>#define msg_error(desc, tag1, tags,
...)msg_event_send(msg_event_create(EVT_PRI_ERR, desc, tag1, ##tags
))<BR>#define msg_notice(desc, tag1,tags, ... )
msg_event_send(msg_event_create(EVT_PRI_NOTICE, desc, tag1, ##tags ))</FONT></P>
<P><SPAN class=931120516-13022007><FONT face="Trebuchet MS" size=2>Please
help.</FONT></SPAN></P>
<P><SPAN class=931120516-13022007><FONT face="Trebuchet MS"
size=2>Thanks,</FONT></SPAN></P>
<P><SPAN class=931120516-13022007><FONT face="Trebuchet MS"
size=2>Rajeesh</FONT></SPAN></P></SPAN></DIV></BODY></HTML>