I got a bunch of errors (as predicted) when running gmond built as a 32 bit app 
on a 64 bit solaris.

I tried to build it 64 bit using gcc-3.3


[EMAIL PROTECTED] uname -a
SunOS finprod2.nyc.deshaw.com 5.8 Generic_108528-15 sun4u sparc

[EMAIL PROTECTED] gcc -v
Reading specs from /proj/lang/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.8/3.3/specs
Configured with: ../configure --prefix=/proj/lang/gcc-3.3 
--target=sparc-sun-solaris2.8 --disable-nls --enable-shared 
--enable-languages=c,c++
Thread model: posix
gcc version 3.3

I have tried with

        CFLAGS=-m64
        LDFLAGS=-64

and tried to kludge together a binary by hand but to no avail:

                [EMAIL PROTECTED] /bin/bash ../../libtool --mode=link 
/usr/ccs/bin/ld -64  -o gstat  gstat.o cmdline.o ../../lib/.libs/libganglia.a 
../../lib/libgetopthelper.a -ldl -lkvm -lkstat -lresolv -lnsl -lnsl -lsocket 
-lpthread 
                /usr/ccs/bin/ld -64 -o gstat gstat.o cmdline.o  
../../lib/.libs/libganglia.a ../../lib/libgetopthelper.a -ldl -lkvm -lkstat 
-lresolv -lnsl -lnsl -lsocket -lpthread
                ld: fatal: file ../../lib/.libs/libganglia.a: unknown file type
                ld: warning: file ../../lib/libgetopthelper.a ignored: unable 
to locate archive symbol table
                ld: fatal: File processing errors. No output written to gstat
                [EMAIL PROTECTED] file ../../lib/.libs/libganglia.a 
                ../../lib/.libs/libganglia.a: current ar archive

anyone got a configure invocation that builds easily on Solaris 2.8 64 bit with 
gcc-3.3 or sun studio-7 compilers?


pjjH


Reply via email to