[rrd-users] Re: compile problem rrdtool-1.2.12 on RH8
Alan McKay
alan.mckay at gmail.com
Wed Apr 19 20:32:30 MEST 2006
> Ug, I'm going through the docs again and see a whack of dependencies
> that I'm going to have to check on. So one of them will likely be the
> solution. That's probably why this wasn't answered before ... too
> dumb a question :-/
OK, that still gave me no joy. But a bit of poking around and the
following worked :
edit src/Makefile
change
-I/usr/include/freetype2
to :
-I/localdisk/opt/include/freetype2
and it gets quite a bit further, but then dies elsewhere about tcl
gcc -g -O2 -fPIC -DPIC -fno-strict-aliasing -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -W -g -O2 -fPIC
-DPIC -fno-strict-aliasing -Wall -pedantic -Wshadow -Wpointer-arith
-Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W -fPIC -I/usr/include -I../../src
-DUSE_TCL_STUBS -c tclrrd.c -DVERSION=\"1.2.12\"
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from /usr/include/tcl.h:1680,
from tclrrd.c:20:
/usr/include/tclDecls.h:171: warning: declaration of `index' shadows a
global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
/usr/include/tclDecls.h:696: warning: declaration of `index' shadows a
global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
/usr/include/tclDecls.h:1025: warning: declaration of `index' shadows
a global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
/usr/include/tclDecls.h:1036: warning: declaration of `index' shadows
a global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
/usr/include/tclDecls.h:1195: warning: declaration of `index' shadows
a global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
/usr/include/tclDecls.h:1356: warning: declaration of `index' shadows
a global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
/usr/include/tclDecls.h:1557: warning: declaration of `index' shadows
a global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
/usr/include/tclDecls.h:1670: warning: declaration of `index' shadows
a global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
/usr/include/tclDecls.h:1675: warning: declaration of `index' shadows
a global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
/usr/include/tclDecls.h:1731: warning: declaration of `index' shadows
a global declaration
/usr/include/string.h:267: warning: shadowed declaration is here
In file included from ../../src/rrd_tool.h:31,
from tclrrd.c:21:
/usr/include/stdlib.h:512: warning: ISO C89 does not support `long long'
tclrrd.c:34: parse error before "CONST84"
tclrrd.c: In function `getopt_init':
tclrrd.c:39: `argc' undeclared (first use in this function)
tclrrd.c:39: (Each undeclared identifier is reported only once
tclrrd.c:39: for each function it appears in.)
tclrrd.c:41: `argv' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:87: parse error before "CONST84"
tclrrd.c: In function `Rrd_Create':
tclrrd.c:97: `argc' undeclared (first use in this function)
tclrrd.c:97: `argv' undeclared (first use in this function)
tclrrd.c:102: `interp' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:184: parse error before "CONST84"
tclrrd.c: In function `Rrd_Dump':
tclrrd.c:186: `argc' undeclared (first use in this function)
tclrrd.c:187: `interp' undeclared (first use in this function)
tclrrd.c:192: `argv' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:210: parse error before "CONST84"
tclrrd.c: In function `Rrd_Last':
tclrrd.c:214: `argc' undeclared (first use in this function)
tclrrd.c:215: `interp' undeclared (first use in this function)
tclrrd.c:220: `argv' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:238: parse error before "CONST84"
tclrrd.c: In function `Rrd_Update':
tclrrd.c:243: `argc' undeclared (first use in this function)
tclrrd.c:243: `argv' undeclared (first use in this function)
tclrrd.c:248: `interp' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:308: parse error before "CONST84"
tclrrd.c: In function `Rrd_Fetch':
tclrrd.c:318: `argc' undeclared (first use in this function)
tclrrd.c:318: `argv' undeclared (first use in this function)
tclrrd.c:322: `interp' undeclared (first use in this function)
tclrrd.c: At top level:
[... and so on ...]
--
"True Budo is done for the sake of building peace. Train every day so as to make
peace between this spirit and all things manifested on the face of the Earth"
- Ueshiba Morihei
--
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