Hi Russel,

 gcc (3.X onward) is the only compiler that we (I) recommend on any
platform. And we never promised anything else :-)

Cheers
Martin

--- Russell Nordquist <[EMAIL PROTECTED]> wrote:

> I am having problems compiling ganglia 3.02 on Sparc Solaris 9
> machine
> using Forte 7 (an older version of Sun Studio). This is the error I
> get:
> 
> [EMAIL PROTECTED]:~/ganglia-3.0.2$make
> make  all-recursive
> Making all in srclib
> Making all in libmetrics
> make  all-recursive
> Making all in solaris
> source='metrics.c' object='metrics.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../build/depcomp \
> /bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I.
> -I.
> -I..     -I.. -I../lib -g -D__STDC__ -D_POSIX_C_SOURCE=199506L
> -DHAVE_STRERROR -c -o metrics.lo metrics.c
>  cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -g -D__STDC__
> -D_POSIX_C_SOURCE=199506L -DHAVE_STRERROR -c metrics.c  -KPIC -DPIC
> -o
> .libs/metrics.o
> command line: warning: macro redefined: __STDC__
> "/usr/include/sys/resource.h", line 126: incomplete struct/union/enum
> timeval: ru_utime
> "../unpifi.h", line 34: syntax error before or at: u_char
> "../unpifi.h", line 34: cannot recover from previous errors
> cc: acomp failed for metrics.c
> *** Error code 1
> make: Fatal error: Command failed for target `metrics.lo'
> Current working directory
> /home/russelln/ganglia-3.0.2/srclib/libmetrics/solaris
> *** Error code 1
> <continues>
> 
> googleing has lead me to the same error for others (including
> sunfreeware) without a posted solution. I have not tried with gcc
> since
> it is not part of our local builds.
> 
> Has anyone successfully compiled ganglia for Solaris 9? If so what
> compiler did you use.
> 
> thanks
> russell
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through
> log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD
> SPLUNK!
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
> 
> 


------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de

Reply via email to