<div>Hi,</div> <div> </div> <div>I'm trying to compile syslog-ng-2.0.2(syslog-ng-2.0.2+20070228.tar, downloaded latest snapshot on 28 Feb 2007) on Solaris 8</div> <div> </div> <div>(# isainfo -kv<BR>64-bit sparcv9 kernel modules<BR>#)</div> <div>when I execute 'make' it gives errors in glib-2.0 libraries , details below:</div> <div>******************************************************************************************</div> <div> </div> <div>In file included from /usr/local/include/glib-2.0/glib/galloca.h:30,<BR> from /usr/local/include/glib-2.0/glib.h:30,<BR> from syslog-ng.h:37,<BR> from
misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gtypes.h:32: error: syntax error before "typedef"<BR>In file included from /usr/local/include/glib-2.0/glib.h:31,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/garray.h:32: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/garray.h:34: error: syntax error before "typedef"<BR>In file included from /usr/local/include/glib-2.0/glib/gerror.h:24,<BR> from
/usr/local/include/glib-2.0/glib/gthread.h:30,<BR> from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,<BR> from /usr/local/include/glib-2.0/glib.h:32,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gquark.h:32: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gquark.h:34: error: syntax error before "typedef"<BR>/usr/local/include/glib-2.0/glib/gquark.h:41: error: syntax error before
"gchar"<BR>/usr/local/include/glib-2.0/glib/gquark.h:41: error: syntax error before "G_GNUC_CONST"<BR>/usr/local/include/glib-2.0/glib/gquark.h:41: warning: type defaults to `int' in declaration of `G_GNUC_CONST'<BR>/usr/local/include/glib-2.0/glib/gquark.h:41: warning: data definition has no type or storage class<BR>In file included from /usr/local/include/glib-2.0/glib/gthread.h:30,<BR> from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,<BR> from /usr/local/include/glib-2.0/glib.h:32,<BR> from syslog-ng.h:37,<BR> from
misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gerror.h:26: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gerror.h:28: error: syntax error before "typedef"<BR>/usr/local/include/glib-2.0/glib/gerror.h:40: error: syntax error before "G_GNUC_PRINTF"<BR>/usr/local/include/glib-2.0/glib/gerror.h:40: warning: type defaults to `int' in declaration of `G_GNUC_PRINTF'<BR>/usr/local/include/glib-2.0/glib/gerror.h:40: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gerror.h:60: error: syntax error before "G_GNUC_PRINTF"<BR>/usr/local/include/glib-2.0/glib/gerror.h:60: warning: type defaults to `int' in declaration of `G_GNUC_PRINTF'<BR>/usr/local/include/glib-2.0/glib/gerror.h:60: warning: data definition has no type or storage class<BR>In file included from
/usr/local/include/glib-2.0/glib/gthread.h:32,<BR> from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,<BR> from /usr/local/include/glib-2.0/glib.h:32,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gatomic.h:35: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gatomic.h:37: error: syntax error before "gint"<BR>In file included from
/usr/local/include/glib-2.0/glib/gasyncqueue.h:30,<BR> from /usr/local/include/glib-2.0/glib.h:32,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gthread.h:34: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gthread.h:39: error: syntax error before "extern"<BR>/usr/local/include/glib-2.0/glib/gthread.h:255: error: syntax error before "GSystemThread"<BR>/usr/local/include/glib-2.0/glib/gthread.h:255: warning: no semicolon at end of struct or union<BR>In file included from
/usr/local/include/glib-2.0/glib.h:32,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gasyncqueue.h:32: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gasyncqueue.h:34: error: syntax error before "typedef"<BR>In file included from /usr/local/include/glib-2.0/glib.h:34,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from
misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gbacktrace.h:32: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gbacktrace.h:43: error: syntax error before "void"<BR>In file included from /usr/local/include/glib-2.0/glib/glist.h:30,<BR> from /usr/local/include/glib-2.0/glib/gcache.h:30,<BR> from /usr/local/include/glib-2.0/glib.h:35,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gmem.h:32: error: syntax error before
"G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gmem.h:34: error: syntax error before "typedef"<BR>/usr/local/include/glib-2.0/glib/gmem.h:48: error: syntax error before "G_GNUC_MALLOC"<BR>/usr/local/include/glib-2.0/glib/gmem.h:48: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gmem.h:48: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gmem.h:49: error: syntax error before "G_GNUC_MALLOC"<BR>/usr/local/include/glib-2.0/glib/gmem.h:49: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gmem.h:49: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gmem.h:53: error: syntax error before "G_GNUC_MALLOC"<BR>/usr/local/include/glib-2.0/glib/gmem.h:53: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gmem.h:53: warning: data definition has
no type or storage class<BR>/usr/local/include/glib-2.0/glib/gmem.h:74: error: syntax error before "n_bytes"<BR>/usr/local/include/glib-2.0/glib/gmem.h:76: error: syntax error before "gsize"<BR>/usr/local/include/glib-2.0/glib/gmem.h:79: error: syntax error before "n_blocks"<BR>/usr/local/include/glib-2.0/glib/gmem.h:81: error: syntax error before "n_bytes"<BR>/usr/local/include/glib-2.0/glib/gmem.h:83: error: syntax error before "gsize"<BR>In file included from /usr/local/include/glib-2.0/glib/gcache.h:30,<BR> from /usr/local/include/glib-2.0/glib.h:35,<BR> from syslog-ng.h:37,<BR> from
misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/glist.h:32: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/glist.h:34: error: syntax error before "typedef"<BR>In file included from /usr/local/include/glib-2.0/glib.h:35,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gcache.h:32: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gcache.h:34: error: syntax error before "typedef"<BR>In file included from
/usr/local/include/glib-2.0/glib.h:36,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gcompletion.h:32: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gcompletion.h:34: error: syntax error before "typedef"<BR>/usr/local/include/glib-2.0/glib/gcompletion.h:43: error: syntax error before "gsize"<BR>In file included from /usr/local/include/glib-2.0/glib/gconvert.h:30,<BR> from /usr/local/include/glib-2.0/glib.h:37,<BR>
from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/lib/../lib/gcc/sparc-sun-solaris2.8/3.4.6/include/stddef.h:151: error: syntax error before "typedef"<BR>In file included from /usr/local/include/glib-2.0/glib.h:37,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gconvert.h:35: error: syntax error before "typedef"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:56: error: syntax error before
"gsize"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:63: error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:68: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:68: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:70: error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:74: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:74: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:76: error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:82: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:82: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:88:
error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:91: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:91: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:93: error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:96: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:96: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:109: error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:112: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:112: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:114: error: syntax error before
"gssize"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:117: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:117: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:121: error: syntax error before "G_GNUC_MALLOC"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:121: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:121: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:125: error: syntax error before "G_GNUC_MALLOC"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:125: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:125: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:126: error: syntax error before
"G_GNUC_MALLOC"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:126: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:126: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:127: error: syntax error before "gchar"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:129: error: syntax error before "G_GNUC_MALLOC"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:129: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:129: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gconvert.h:131: error: syntax error before "G_GNUC_MALLOC"<BR>/usr/local/include/glib-2.0/glib/gconvert.h:131: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'<BR>/usr/local/include/glib-2.0/glib/gconvert.h:131: warning: data definition has no type or storage class<BR>In file included
from /usr/local/include/glib-2.0/glib.h:38,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gdataset.h:32: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gdataset.h:34: error: syntax error before "typedef"<BR>In file included from /usr/local/include/glib-2.0/glib.h:39,<BR> from syslog-ng.h:37,<BR> from misc.h:27,<BR> from
misc.c:24:<BR>/usr/local/include/glib-2.0/glib/gdate.h:32: error: syntax error before "G_BEGIN_DECLS"<BR>/usr/local/include/glib-2.0/glib/gdate.h:43: error: syntax error before "typedef"<BR>/usr/local/include/glib-2.0/glib/gdate.h:130: error: syntax error before "G_GNUC_CONST"<BR>/usr/local/include/glib-2.0/glib/gdate.h:130: warning: type defaults to `int' in declaration of `G_GNUC_CONST'<BR>/usr/local/include/glib-2.0/glib/gdate.h:130: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gdate.h:131: error: syntax error before "G_GNUC_CONST"<BR>/usr/local/include/glib-2.0/glib/gdate.h:131: warning: type defaults to `int' in declaration of `G_GNUC_CONST'<BR>/usr/local/include/glib-2.0/glib/gdate.h:131: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gdate.h:132: error: syntax error before "G_GNUC_CONST"<BR>/usr/local/include/glib-2.0/glib/gdate.h:132: warning: type defaults to `int' in
declaration of `G_GNUC_CONST'<BR>/usr/local/include/glib-2.0/glib/gdate.h:132: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gdate.h:133: error: syntax error before "G_GNUC_CONST"<BR>/usr/local/include/glib-2.0/glib/gdate.h:133: warning: type defaults to `int' in declaration of `G_GNUC_CONST'<BR>/usr/local/include/glib-2.0/glib/gdate.h:133: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gdate.h:134: error: syntax error before "G_GNUC_CONST"<BR></div> <div>------output truncated-----------------------------</div> <div>/usr/local/include/glib-2.0/glib/gstrfuncs.h:104: error: syntax error before "g_strlcpy"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:106: error: syntax error before "gsize"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:106: warning: type defaults to `int' in declaration of `g_strlcpy'<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:106: warning: data definition has
no type or storage class<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:107: error: syntax error before "g_strlcat"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:109: error: syntax error before "gsize"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:109: warning: type defaults to `int' in declaration of `g_strlcat'<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:109: warning: data definition has no type or storage class<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:111: error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:116: error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:156: error: syntax error before "gsize"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:158: error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:160: error: syntax error before "gssize"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:188: error: syntax error before
"gsize"<BR>/usr/local/include/glib-2.0/glib/gstrfuncs.h:189: error: syntax error before "length"<BR>make: Fatal error: Command failed for target `misc.o'<BR>Current working directory /shamim/syslog-ng-2.0.2/src<BR>make: Fatal error: Command failed for target `all-recursive'<BR>Current working directory /shamim/syslog-ng-2.0.2<BR>make: Fatal error: Command failed for target `all'<BR>********************************************************************************************************<BR></div> <div>Any suggestion please. Or anyone has done it...</div> <div> </div> <div> </div> <div>Shamimuddin</div> <div>CSC Noida</div><p> 
                <hr size=1>
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the <a href="http://uk.rd.yahoo.com/mail/uk/taglines/default/championships/games/*http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk/">Yahoo! Mail Championships</a>. Plus: play games and win prizes.