[rrd-users] Compiling RRDTOOL on Solaris 9

Rich Norderhaug richn at hotmail.com
Mon Oct 11 02:03:28 MEST 2004


Was there a solution to this problem?  I have the same problem and can not 
find a fix anywhere on the net.

My results of my compile attempt:
rrd_cgi.c:962: warning: subscript has type `char'
/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall -pedantic -Wshadow 
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Winline   -o rrdcgi  rrd_cgi.o librrd.la -lm
gcc -g -O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -o 
.libs/rrdcgi rrd_cgi.o  ./.libs/librrd.so -lm 
-R/usr/local/rrdtool-1.0.49/lib
Undefined                       first referenced
symbol                             in file
cgiInit                             rrd_cgi.o
cgiGetValue                         rrd_cgi.o
cgiDebug                            rrd_cgi.o
ld: fatal: Symbol referencing errors. No output written to .libs/rrdcgi
collect2: ld returned 1 exit status


Thanks,
Rich

----------------
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Problem compiling on Solaris 9 - NOT the 
librrd_private.a error
From: Subscriptions <subs{at}bluedragoninc{dot}com>
Date: Fri, 28 May 2004 23:26:14 -0400
List-help: <mailto:listar at list.ee.ethz.ch?Subject=help>
List-id: <rrd-users.list-id.list.ee.ethz.ch>
List-owner: <mailto:oetiker at ee.ethz.ch>
List-post: <mailto:rrd-users at list.ee.ethz.ch>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:rrd-users-request at list.ee.ethz.ch?Subject=subscribe>
List-unsubscribe: 
<mailto:rrd-users-request at list.ee.ethz.ch?Subject=unsubscribe>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) 
Gecko/20040113
I did the ./configure --enable-shared
then did the make site-perl-install
Got the following error after a long compile...

rrd_cgi.c: In function `parse':
rrd_cgi.c:957: warning: subscript has type `char'
/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline   -o rrdcgi  rrd_cgi.o librrd.la -lm
gcc -g -O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -o
.libs/rrdcgi rrd_cgi.o  ./.libs/librrd.so -lm
-R/usr/local/rrdtool-1.0.48/lib
Undefined                       first referenced
symbol                             in file
cgiInit                             rrd_cgi.o
cgiDebug                            rrd_cgi.o
cgiGetValue                         rrd_cgi.o
ld: fatal: Symbol referencing errors. No output written to .libs/rrdcgi
collect2: ld returned 1 exit status


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