[rrd-users] compile/make problem with rrdtool-1.0.45
Son Trinh
sontrinh01 at aol.com
Thu Oct 23 02:09:09 MEST 2003
Hi,
I was able to install rrdtool-1.0.45 without any difficulty with my first
twomachines. However, I am running into some strange problem with the last
two machines.
Here's some background info:
bash-2.05# echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/opt/openssh/bin:/usr/local/bin:/usr/ccs/bin
Perl (tried both from sunfreeware.com and Activestate)
bash-2.05# perl -v
This is perl, v5.8.0 built for sun4-solaris-thread-multi
(with 1 registered patch, see perl -V for more detail)
bash-2.05# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2
When I run "make" i get this error trying to compile gd1.3 below. I
couldn'tfind any information in the archive or on the net.
Many thanks in advance
-Son
===========
<snip>
Making all in gd1.3
make[1]: Entering directory `/tmp/rrdtool-1.0.45/gd1.3'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../config
-g -O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -fPIC
-c gd.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC -c gd.c -o gd.o
In file included from gd.c:2:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/include/math.h:25:26:
iso/math_iso.h: No such file or directory
gd.c: In function `gdImageBrushApply':
gd.c:173: warning: declaration of `y1' shadows a global declaration
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/include/math.h:155: warning:
shadowed declaration is here
gd.c: At top level:
gd.c:230: warning: declaration of `y1' shadows a global declaration
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/include/math.h:155: warning:
shadowed declaration is here
gd.c:319: warning: declaration of `y1' shadows a global declaration
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/include/math.h:155: warning:
shadowed declaration is here
gd.c: In function `gdImageString':
gd.c:484: warning: pointer targets in passing arg 1 of `strlen' differ in
signedness
gd.c: In function `gdImageStringUp':
gd.c:496: warning: pointer targets in passing arg 1 of `strlen' differ in
signedness
gd.c: At top level:
gd.c:1560: warning: declaration of `y1' shadows a global declaration
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/include/math.h:155: warning:
shadowed declaration is here
gd.c:1568: warning: declaration of `y1' shadows a global declaration
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/include/math.h:155: warning:
shadowed declaration is here
gd.c: In function `gdImageCopyResized':
gd.c:1652: warning: implicit declaration of function `floor'
gd.c: At top level:
gd.c:1721: warning: no previous prototype for `gdGetWord'
gd.c:1737: warning: no previous prototype for `gdPutWord'
gd.c:1743: warning: no previous prototype for `gdGetByte'
gd.c: In function `gdImageCreateFromXbm':
gd.c:1893: warning: declaration of `h' shadows a previous local
gd.c:1836: warning: shadowed declaration is here
gd.c:1917: warning: unsigned int format, int arg (arg 3)
gd.c: In function `gdImageFilledPolygon':
gd.c:1963: warning: declaration of `y1' shadows a global declaration
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/include/math.h:155: warning:
shadowed declaration is here
gd.c:1997: warning: declaration of `y1' shadows a previous local
gd.c:1963: warning: shadowed declaration is here
gd.c:1997: warning: declaration of `y2' shadows a previous local
gd.c:1963: warning: shadowed declaration is here
gd.c: In function `gdImageSetBrush':
gd.c:2097: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
gd.c: In function `gdImageSetTile':
gd.c:2123: warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
gd.c: At top level:
gd.c:1557: warning: `ZeroDataBlock' defined but not used
make[1]: *** [gd.lo] Error 1
make[1]: Leaving directory `/tmp/rrdtool-1.0.45/gd1.3'
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
--
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