[rrd-users] Re: rrdtool-1.2.12 ... the christmas release

Dag Wieers dag at wieers.com
Mon Dec 19 09:29:06 MET 2005


On Sun, 18 Dec 2005, Tobias Oetiker wrote:

> RRDtool 1.2.12 the Christmas Release
> ------------------------------------
> 
> Right in time for the holiday season I am releasing a new version
> of RRDtool with a bunch of new features and bug fixes. Enjoy!
> 
> Merry Christmas and Happy New Year to everyone!
> 
> You can download the latest release of RRDtool from
> 
>   http://people.ee.ethz.ch/oetiker/webtools/rrdtool/pub

I have the following compilation problem on a bunch of older distributions 
(Fedora Core 1, Red Hat Enterprise Linux 3, Red Hat 9, Red Hat 7.3, Red 
Hat Enterprise Linux 2):

	make[3]: Entering directory `/dar/build/rrdtool-1.2.12/bindings/tcl'
	echo "package ifneeded Rrd 1.2.12 \"load /usr/lib/tclrrd1.2.12[info 
	sharedlibextension]\"" > pkgIndex.tcl
	gcc -O2 -march=i386 -mcpu=i686  -fPIC -DPIC -fno-strict-aliasing -Wall 
	-pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmiss
	ing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -O2 
	-march=i386 -mcpu=i686  -fPIC -DPIC -fno-strict-aliasi
	ng -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align 
	-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winlin
	e -W -fPIC -I/usr/include -I../../src -DUSE_TCL_STUBS -c tclrrd.c 
	-DVERSION=\"1.2.12\"
	tclrrd.c:34: error: syntax error before "CONST84"
	tclrrd.c: In function `getopt_init':
	tclrrd.c:39: error: `argc' undeclared (first use in this function)
	tclrrd.c:39: error: (Each undeclared identifier is reported only once
	tclrrd.c:39: error: for each function it appears in.)
	tclrrd.c:41: error: `argv' undeclared (first use in this function)
	tclrrd.c: At top level:
	tclrrd.c:87: error: syntax error before "CONST84"
	tclrrd.c: In function `Rrd_Create':
	tclrrd.c:97: error: `argc' undeclared (first use in this function)
	tclrrd.c:97: error: `argv' undeclared (first use in this function)
	tclrrd.c:102: error: `interp' undeclared (first use in this function)
	tclrrd.c: At top level:
	tclrrd.c:184: error: syntax error before "CONST84"
	tclrrd.c: In function `Rrd_Dump':
	tclrrd.c:186: error: `argc' undeclared (first use in this function)
	tclrrd.c:187: error: `interp' undeclared (first use in this function)
	tclrrd.c:192: error: `argv' undeclared (first use in this function)
	tclrrd.c: At top level:
	tclrrd.c:210: error: syntax error before "CONST84"
	tclrrd.c: In function `Rrd_Last':
	tclrrd.c:214: error: `argc' undeclared (first use in this function)
	tclrrd.c:215: error: `interp' undeclared (first use in this function)
	tclrrd.c:220: error: `argv' undeclared (first use in this function)
	tclrrd.c: At top level:
	tclrrd.c:238: error: syntax error before "CONST84"
	tclrrd.c: In function `Rrd_Update':
	tclrrd.c:243: error: `argc' undeclared (first use in this function)
	tclrrd.c:243: error: `argv' undeclared (first use in this function)
	tclrrd.c:248: error: `interp' undeclared (first use in this function)
	tclrrd.c: At top level:
	tclrrd.c:308: error: syntax error before "CONST84"
	tclrrd.c: In function `Rrd_Fetch':
	tclrrd.c:318: error: `argc' undeclared (first use in this function)
	tclrrd.c:318: error: `argv' undeclared (first use in this function)
	tclrrd.c:322: error: `interp' undeclared (first use in this function)
	tclrrd.c: At top level:
	tclrrd.c:349: error: syntax error before "CONST84"
	tclrrd.c: In function `Rrd_Graph':
	tclrrd.c:360: error: `CONST84' undeclared (first use in this function)
	tclrrd.c:360: error: syntax error before "char"
	tclrrd.c:366: error: `interp' undeclared (first use in this function)
	tclrrd.c:366: error: `argv' undeclared (first use in this function)
	tclrrd.c:408: error: `save' undeclared (first use in this function)
	tclrrd.c:410: error: `argc' undeclared (first use in this function)
	tclrrd.c: At top level:
	tclrrd.c:452: error: syntax error before "CONST84"
	tclrrd.c: In function `Rrd_Tune':
	tclrrd.c:456: error: `argc' undeclared (first use in this function)
	tclrrd.c:456: error: `argv' undeclared (first use in this function)
	tclrrd.c:461: error: `interp' undeclared (first use in this function)
	tclrrd.c: At top level:
	tclrrd.c:473: error: syntax error before "CONST84"
	tclrrd.c: In function `Rrd_Resize':
	tclrrd.c:477: error: `argc' undeclared (first use in this function)
	tclrrd.c:477: error: `argv' undeclared (first use in this function)
	tclrrd.c:482: error: `interp' undeclared (first use in this function)
	tclrrd.c: At top level:
	tclrrd.c:494: error: syntax error before "CONST84"
	tclrrd.c: In function `Rrd_Restore':
	tclrrd.c:498: error: `argc' undeclared (first use in this function)
	tclrrd.c:498: error: `argv' undeclared (first use in this function)
	tclrrd.c:503: error: `interp' undeclared (first use in this function)
	make[3]: *** [tclrrd.o] Error 1
	make[3]: Leaving directory `/dar/build/rrdtool-1.2.12/bindings/tcl'
	make[2]: *** [all-recursive] Error 1
	make[2]: Leaving directory `/dar/build/rrdtool-1.2.12/bindings'
	make[1]: *** [all-recursive] Error 1
	make[1]: Leaving directory `/dar/build/rrdtool-1.2.12'
	make: *** [all] Error 2

I also noticed that the 1.2.12 package install the following 2 files in a 
1.2.11 directory:

	/usr/share/tclrrd1.2.11/ifOctets.tcl
	/usr/share/tclrrd1.2.11/pkgIndex.tcl

So somewhere 1.2.11 is still being referenced.

As usual, if I get this fixed, you can find new releases at:

	http://dag.wieers.com/packages/rrdtool/

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list