[rrd-users] Re: Compilation problem with RRD 1.0.33

Mark Smith mark.smith at comdev.cc
Fri May 18 19:00:09 MEST 2001


I had the same problem.  You need to change -KPIC to -fPIC in Makefile.

You'll probably also want to change LD=cc to LD=ld and possibly AR=cc to 
AR=ar.  Make sure that gcc, ld and ar are in your path when you run make.

-Mark

John C. A. Bambenek wrote:

>  
>  I get the following error:
>  
>  cd perl-shared && make
>  cc -c -I../src -I../gd1.3  -xO3 -xdepend     -DVERSION=\"1.000331\"
>  -DXS_VERSION=\"1.000331\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
>  -DPERLPATCHLEVEL=5 RRDs.c
>  cc: unrecognized option `-KPIC'
>  cc: language depend not recognized
>  cc: RRDs.c: linker input file unused since linking not done
>  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
>  *** Error code 1
>  make: Fatal error: Command failed for target `blib/arch/auto/RRDs/RRDs.so'
>  Current working directory /usr/local/rrdtool/perl-shared
>  *** Error code 1
>  make: Fatal error: Command failed for target `perl_shared'
>  Current working directory /usr/local/rrdtool
>  *** Error code 1
>  make: Fatal error: Command failed for target `all-recursive'
>  
>  
>  This is a Solaris 8 Ultra 5, with gcc installed (I have cc -> gcc on the
>  system).


--
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