[rrd-users] Compiling broken on Solaris 2.5.1
Ruben Cheng
rcheng at uc.edu.ve
Wed Apr 14 23:46:17 MEST 2004
Hi all..
I've been using rrdtool 1.0.42 and I have compiling to 1.0.48, but I got a
compiling error about an undefined reference to snprintf. Bellow there is
an copy of the last output.
I tried to compile every release since 1.0.42 and I noticed that from
1.0.42 throught 1.0.45 there is no compiling problem. The problem arise
from 1.0.46 throught 1.0.48.
I'm using gcc 3.3.3 under Solaris 2.5.1 with GNU ld, etc..
I could have a workaround, It seems to be working. I had to compile an
snprintf implementation from http://www.ijs.si/software/snprintf/, and
making some patching to rrd source to include this source.
Any help ?
************************************************************************************************************************************************************************************************
make all-recursive
make[1]: Entering directory `/dist/rrdtool-1.0.46'
Making all in cgilib-0.4
make[2]: Entering directory `/dist/rrdtool-1.0.46/cgilib-0.4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/dist/rrdtool-1.0.46/cgilib-0.4'
Making all in gd1.3
make[2]: Entering directory `/dist/rrdtool-1.0.46/gd1.3'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/dist/rrdtool-1.0.46/gd1.3'
Making all in zlib-1.1.4
make[2]: Entering directory `/dist/rrdtool-1.0.46/zlib-1.1.4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/dist/rrdtool-1.0.46/zlib-1.1.4'
Making all in libpng-1.0.9
make[2]: Entering directory `/dist/rrdtool-1.0.46/libpng-1.0.9'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/dist/rrdtool-1.0.46/libpng-1.0.9'
Making all in src
make[2]: Entering directory `/dist/rrdtool-1.0.46/src'
/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
rrdcgi rrd_cgi.o ./.libs/librrd.a -lm
rrd_cgi.o(.text+0xa9c): In function `rrdgetenv':
/dist/rrdtool-1.0.46/src/rrd_cgi.c:436: undefined reference to `snprintf'
rrd_cgi.o(.text+0xaf0): In function `rrdgetvar':
/dist/rrdtool-1.0.46/src/rrd_cgi.c:452: undefined reference to `snprintf'
collect2: ld returned 1 exit status
make[2]: *** [rrdcgi] Error 1
make[2]: Leaving directory `/dist/rrdtool-1.0.46/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dist/rrdtool-1.0.46'
make: *** [all] Error 2
************************************************************************************************************************************************************************************************
Rubén Cheng
================================================
Unidad de Medios y Comunicaciones Eléctricas (UMCE)
Universidad de Carabobo
Valencia, Venezuela
Tel.: (241) 824-4080/2939/3284 ext. 225
FAX: (241) 824-5747
Celular: (414) 420-0397
email: rcheng at uc.edu.ve
================================================
--
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