[syslog-ng] Compilation problem on Solaris 8

Shamim shamim_99 at yahoo.com
Thu Mar 1 10:03:09 CET 2007


Hi,
   
  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
   
  (# isainfo -kv
64-bit sparcv9 kernel modules
#)
  when I execute  'make' it gives errors in glib-2.0 libraries , details below:
  ******************************************************************************************
   
  In file included from /usr/local/include/glib-2.0/glib/galloca.h:30,
                 from /usr/local/include/glib-2.0/glib.h:30,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gtypes.h:32: error: syntax error before "typedef"
In file included from /usr/local/include/glib-2.0/glib.h:31,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/garray.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/garray.h:34: error: syntax error before "typedef"
In file included from /usr/local/include/glib-2.0/glib/gerror.h:24,
                 from /usr/local/include/glib-2.0/glib/gthread.h:30,
                 from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gquark.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gquark.h:34: error: syntax error before "typedef"
/usr/local/include/glib-2.0/glib/gquark.h:41: error: syntax error before "gchar"
/usr/local/include/glib-2.0/glib/gquark.h:41: error: syntax error before "G_GNUC_CONST"
/usr/local/include/glib-2.0/glib/gquark.h:41: warning: type defaults to `int' in declaration of `G_GNUC_CONST'
/usr/local/include/glib-2.0/glib/gquark.h:41: warning: data definition has no type or storage class
In file included from /usr/local/include/glib-2.0/glib/gthread.h:30,
                 from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gerror.h:26: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gerror.h:28: error: syntax error before "typedef"
/usr/local/include/glib-2.0/glib/gerror.h:40: error: syntax error before "G_GNUC_PRINTF"
/usr/local/include/glib-2.0/glib/gerror.h:40: warning: type defaults to `int' in declaration of `G_GNUC_PRINTF'
/usr/local/include/glib-2.0/glib/gerror.h:40: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gerror.h:60: error: syntax error before "G_GNUC_PRINTF"
/usr/local/include/glib-2.0/glib/gerror.h:60: warning: type defaults to `int' in declaration of `G_GNUC_PRINTF'
/usr/local/include/glib-2.0/glib/gerror.h:60: warning: data definition has no type or storage class
In file included from /usr/local/include/glib-2.0/glib/gthread.h:32,
                 from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gatomic.h:35: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gatomic.h:37: error: syntax error before "gint"
In file included from /usr/local/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gthread.h:34: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gthread.h:39: error: syntax error before "extern"
/usr/local/include/glib-2.0/glib/gthread.h:255: error: syntax error before "GSystemThread"
/usr/local/include/glib-2.0/glib/gthread.h:255: warning: no semicolon at end of struct or union
In file included from /usr/local/include/glib-2.0/glib.h:32,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gasyncqueue.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gasyncqueue.h:34: error: syntax error before "typedef"
In file included from /usr/local/include/glib-2.0/glib.h:34,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gbacktrace.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gbacktrace.h:43: error: syntax error before "void"
In file included from /usr/local/include/glib-2.0/glib/glist.h:30,
                 from /usr/local/include/glib-2.0/glib/gcache.h:30,
                 from /usr/local/include/glib-2.0/glib.h:35,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gmem.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gmem.h:34: error: syntax error before "typedef"
/usr/local/include/glib-2.0/glib/gmem.h:48: error: syntax error before "G_GNUC_MALLOC"
/usr/local/include/glib-2.0/glib/gmem.h:48: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gmem.h:48: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gmem.h:49: error: syntax error before "G_GNUC_MALLOC"
/usr/local/include/glib-2.0/glib/gmem.h:49: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gmem.h:49: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gmem.h:53: error: syntax error before "G_GNUC_MALLOC"
/usr/local/include/glib-2.0/glib/gmem.h:53: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gmem.h:53: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gmem.h:74: error: syntax error before "n_bytes"
/usr/local/include/glib-2.0/glib/gmem.h:76: error: syntax error before "gsize"
/usr/local/include/glib-2.0/glib/gmem.h:79: error: syntax error before "n_blocks"
/usr/local/include/glib-2.0/glib/gmem.h:81: error: syntax error before "n_bytes"
/usr/local/include/glib-2.0/glib/gmem.h:83: error: syntax error before "gsize"
In file included from /usr/local/include/glib-2.0/glib/gcache.h:30,
                 from /usr/local/include/glib-2.0/glib.h:35,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/glist.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/glist.h:34: error: syntax error before "typedef"
In file included from /usr/local/include/glib-2.0/glib.h:35,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gcache.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gcache.h:34: error: syntax error before "typedef"
In file included from /usr/local/include/glib-2.0/glib.h:36,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gcompletion.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gcompletion.h:34: error: syntax error before "typedef"
/usr/local/include/glib-2.0/glib/gcompletion.h:43: error: syntax error before "gsize"
In file included from /usr/local/include/glib-2.0/glib/gconvert.h:30,
                 from /usr/local/include/glib-2.0/glib.h:37,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/lib/../lib/gcc/sparc-sun-solaris2.8/3.4.6/include/stddef.h:151: error: syntax error before "typedef"
In file included from /usr/local/include/glib-2.0/glib.h:37,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gconvert.h:35: error: syntax error before "typedef"
/usr/local/include/glib-2.0/glib/gconvert.h:56: error: syntax error before "gsize"
/usr/local/include/glib-2.0/glib/gconvert.h:63: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gconvert.h:68: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:68: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:70: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gconvert.h:74: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:74: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:76: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gconvert.h:82: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:82: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:88: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gconvert.h:91: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:91: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:93: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gconvert.h:96: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:96: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:109: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gconvert.h:112: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:112: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:114: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gconvert.h:117: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:117: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:121: error: syntax error before "G_GNUC_MALLOC"
/usr/local/include/glib-2.0/glib/gconvert.h:121: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:121: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:125: error: syntax error before "G_GNUC_MALLOC"
/usr/local/include/glib-2.0/glib/gconvert.h:125: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:125: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:126: error: syntax error before "G_GNUC_MALLOC"
/usr/local/include/glib-2.0/glib/gconvert.h:126: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:126: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:127: error: syntax error before "gchar"
/usr/local/include/glib-2.0/glib/gconvert.h:129: error: syntax error before "G_GNUC_MALLOC"
/usr/local/include/glib-2.0/glib/gconvert.h:129: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:129: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gconvert.h:131: error: syntax error before "G_GNUC_MALLOC"
/usr/local/include/glib-2.0/glib/gconvert.h:131: warning: type defaults to `int' in declaration of `G_GNUC_MALLOC'
/usr/local/include/glib-2.0/glib/gconvert.h:131: warning: data definition has no type or storage class
In file included from /usr/local/include/glib-2.0/glib.h:38,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gdataset.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gdataset.h:34: error: syntax error before "typedef"
In file included from /usr/local/include/glib-2.0/glib.h:39,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/usr/local/include/glib-2.0/glib/gdate.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/local/include/glib-2.0/glib/gdate.h:43: error: syntax error before "typedef"
/usr/local/include/glib-2.0/glib/gdate.h:130: error: syntax error before "G_GNUC_CONST"
/usr/local/include/glib-2.0/glib/gdate.h:130: warning: type defaults to `int' in declaration of `G_GNUC_CONST'
/usr/local/include/glib-2.0/glib/gdate.h:130: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gdate.h:131: error: syntax error before "G_GNUC_CONST"
/usr/local/include/glib-2.0/glib/gdate.h:131: warning: type defaults to `int' in declaration of `G_GNUC_CONST'
/usr/local/include/glib-2.0/glib/gdate.h:131: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gdate.h:132: error: syntax error before "G_GNUC_CONST"
/usr/local/include/glib-2.0/glib/gdate.h:132: warning: type defaults to `int' in declaration of `G_GNUC_CONST'
/usr/local/include/glib-2.0/glib/gdate.h:132: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gdate.h:133: error: syntax error before "G_GNUC_CONST"
/usr/local/include/glib-2.0/glib/gdate.h:133: warning: type defaults to `int' in declaration of `G_GNUC_CONST'
/usr/local/include/glib-2.0/glib/gdate.h:133: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gdate.h:134: error: syntax error before "G_GNUC_CONST"

  ------output truncated-----------------------------
  /usr/local/include/glib-2.0/glib/gstrfuncs.h:104: error: syntax error before "g_strlcpy"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:106: error: syntax error before "gsize"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:106: warning: type defaults to `int' in declaration of `g_strlcpy'
/usr/local/include/glib-2.0/glib/gstrfuncs.h:106: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gstrfuncs.h:107: error: syntax error before "g_strlcat"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:109: error: syntax error before "gsize"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:109: warning: type defaults to `int' in declaration of `g_strlcat'
/usr/local/include/glib-2.0/glib/gstrfuncs.h:109: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/glib/gstrfuncs.h:111: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:116: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:156: error: syntax error before "gsize"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:158: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:160: error: syntax error before "gssize"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:188: error: syntax error before "gsize"
/usr/local/include/glib-2.0/glib/gstrfuncs.h:189: error: syntax error before "length"
make: Fatal error: Command failed for target `misc.o'
Current working directory /shamim/syslog-ng-2.0.2/src
make: Fatal error: Command failed for target `all-recursive'
Current working directory /shamim/syslog-ng-2.0.2
make: Fatal error: Command failed for target `all'
********************************************************************************************************

  Any suggestion please. Or anyone has done it...
   
   
  Shamimuddin
  CSC Noida

 		
---------------------------------
 New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070301/f9fee697/attachment.htm


More information about the syslog-ng mailing list