[rrd-users] Problem with compiling rrdtool on Sparc-Solaris 8

Robert_Thompson at Lenox.com Robert_Thompson at Lenox.com
Thu Jan 17 21:00:55 MET 2002

Hopefully someone has already seen this problem.

I am trying to compile rrdtool-1.0.33
on solaris8 with GNU Make version 3.79 and gcc version 2.95.
I start the compile with

# sh configure --enable-shared
# make CC=gcc

but.... Here is the error I am getting when I run make

Checking if your kit is complete...
Looks good
Writing Makefile for RRDs
cd perl-shared && make
make[2]: Entering directory `/export/home/apps/orca/rrdtool-1.0.33/perl-shared'
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/RRDs
mkdir blib/lib/auto
mkdir blib/lib/auto/RRDs
mkdir blib/man3
cp ntmake.pl blib/lib/ntmake.pl
cp RRDs.pm blib/lib/RRDs.pm
/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
/usr/perl5/5.00503/ExtUtils/xsubpp  -typemap /usr/perl5/5.00503/ExtUtils/typemap
 RRDs.xs >xstmp.c && mv xstmp.c RRDs.c
gcc -c -I../src -I../gd1.3  -xO3 -xdepend    -DVERSION=\"1.000331\"
-DXS_VERSION=\"1.000331\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: RRDs.c: linker input file unused since linking not done
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
LD_RUN_PATH="" cc -o blib/arch/auto/RRDs/RRDs.so  -G RRDs.o -L../src/.libs/
-lrrd_private -lm
cc: RRDs.o: No such file or directory
make[2]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1
make[2]: Leaving directory `/export/home/apps/orca/rrdtool-1.0.33/perl-shared'
make[1]: *** [perl_shared] Error 2
make[1]: Leaving directory `/export/home/apps/orca/rrdtool-1.0.33'
make: *** [all-recursive] Error 1

Many thanks in advance if anyone can help!

Bob T.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list