[rrd-users] rrdtool doesn't compile

John Oliver joliver at john-oliver.net
Tue Oct 31 02:51:19 MET 2006


I'm trying to compile rrdtool-1.2.15 under Red Hat ES4  ./configure
completes successfully.

[root at sddmz01 rrdtool-1.2.15]# rpm -qa | grep tcl
tclx-8.3.5-4
tcl-8.4.7-2



make[3]: Entering directory `/usr/local/src/rrdtool-1.2.15/bindings/tcl'
gcc -g -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W  -fPIC -DPIC -g -O2 -fno-strict-aliasing
-Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W
-fPIC -DPIC -fPIC -I/usr/include -I../../src -DUSE_TCL_STUBS -c tclrrd.c
-DVERSION=\"1.2.15\"
tclrrd.c:20:17: tcl.h: No such file or directory
tclrrd.c:30: error: syntax error before '*' token
tclrrd.c:31: error: syntax error before '*' token
tclrrd.c:93: error: syntax error before "clientData"
tclrrd.c: In function `Rrd_Create':
tclrrd.c:103: error: `argc' undeclared (first use in this function)
tclrrd.c:103: error: (Each undeclared identifier is reported only once
tclrrd.c:103: error: for each function it appears in.)
tclrrd.c:103: error: `argv' undeclared (first use in this function)
tclrrd.c:108: warning: implicit declaration of function
`Tcl_AppendResult'
tclrrd.c:108: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:108: error: `interp' undeclared (first use in this function)
tclrrd.c:111: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:114: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:121: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:128: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:137: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:144: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:156: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:166: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:177: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:183: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:190: error: syntax error before "clientData"
tclrrd.c: In function `Rrd_Dump':
tclrrd.c:192: error: `argc' undeclared (first use in this function)
tclrrd.c:193: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:193: error: `interp' undeclared (first use in this function)
tclrrd.c:195: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:198: error: `argv' undeclared (first use in this function)
tclrrd.c:203: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:209: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:216: error: syntax error before "clientData"
tclrrd.c: In function `Rrd_Last':
tclrrd.c:220: error: `argc' undeclared (first use in this function)
tclrrd.c:221: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:221: error: `interp' undeclared (first use in this function)
tclrrd.c:223: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:226: error: `argv' undeclared (first use in this function)
tclrrd.c:229: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:235: warning: implicit declaration of function `Tcl_SetIntObj'
tclrrd.c:235: warning: nested extern declaration of `Tcl_SetIntObj'
tclrrd.c:235: warning: implicit declaration of function
`Tcl_GetObjResult'
tclrrd.c:235: warning: nested extern declaration of `Tcl_GetObjResult'
tclrrd.c:237: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:244: error: syntax error before "clientData"
tclrrd.c: In function `Rrd_Update':
tclrrd.c:249: error: `argc' undeclared (first use in this function)
tclrrd.c:249: error: `argv' undeclared (first use in this function)
tclrrd.c:254: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:254: error: `interp' undeclared (first use in this function)
tclrrd.c:260: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:272: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:285: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:302: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:308: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:314: error: syntax error before "clientData"
tclrrd.c: In function `Rrd_Fetch':
tclrrd.c:320: error: `Tcl_Obj' undeclared (first use in this function)
tclrrd.c:320: error: `listPtr' undeclared (first use in this function)
tclrrd.c:324: error: `argc' undeclared (first use in this function)
tclrrd.c:324: error: `argv' undeclared (first use in this function)
tclrrd.c:328: warning: nested extern declaration of `Tcl_GetObjResult'
tclrrd.c:328: error: `interp' undeclared (first use in this function)
tclrrd.c:332: warning: implicit declaration of function
`Tcl_ListObjAppendElement'
tclrrd.c:332: warning: nested extern declaration of
`Tcl_ListObjAppendElement'
tclrrd.c:333: warning: implicit declaration of function
`Tcl_NewStringObj'
tclrrd.c:333: warning: nested extern declaration of `Tcl_NewStringObj'
tclrrd.c:343: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:346: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:349: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:355: error: syntax error before "clientData"
tclrrd.c: In function `Rrd_Graph':
tclrrd.c:357: error: `Tcl_Channel' undeclared (first use in this
function)
tclrrd.c:357: error: syntax error before "channel"
tclrrd.c:359: error: `ClientData' undeclared (first use in this
function)
tclrrd.c:359: error: syntax error before "fd1"
tclrrd.c:372: error: `channel' undeclared (first use in this function)
tclrrd.c:372: warning: implicit declaration of function `Tcl_GetChannel'
tclrrd.c:372: warning: nested extern declaration of `Tcl_GetChannel'
tclrrd.c:372: error: `interp' undeclared (first use in this function)
tclrrd.c:372: error: `argv' undeclared (first use in this function)
tclrrd.c:376: error: `TCL_WRITABLE' undeclared (first use in this
function)
tclrrd.c:377: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:379: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:385: warning: implicit declaration of function `Tcl_Flush'
tclrrd.c:385: warning: nested extern declaration of `Tcl_Flush'
tclrrd.c:385: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c:386: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:387: warning: implicit declaration of function `Tcl_GetErrno'
tclrrd.c:387: warning: nested extern declaration of `Tcl_GetErrno'
tclrrd.c:390: warning: implicit declaration of function
`Tcl_GetChannelHandle'
tclrrd.c:390: warning: nested extern declaration of
`Tcl_GetChannelHandle'
tclrrd.c:390: error: `fd1' undeclared (first use in this function)
tclrrd.c:391: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:400: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:408: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:416: error: `argc' undeclared (first use in this function)
tclrrd.c:419: warning: implicit declaration of function
`Tcl_ResetResult'
tclrrd.c:419: warning: nested extern declaration of `Tcl_ResetResult'
tclrrd.c:431: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:446: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c: At top level:
tclrrd.c:458: error: syntax error before "clientData"
tclrrd.c: In function `Rrd_Tune':
tclrrd.c:462: error: `argc' undeclared (first use in this function)
tclrrd.c:462: error: `argv' undeclared (first use in this function)
tclrrd.c:467: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:467: error: `interp' undeclared (first use in this function)
tclrrd.c:470: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:473: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:479: error: syntax error before "clientData"
tclrrd.c: In function `Rrd_Resize':
tclrrd.c:483: error: `argc' undeclared (first use in this function)
tclrrd.c:483: error: `argv' undeclared (first use in this function)
tclrrd.c:488: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:488: error: `interp' undeclared (first use in this function)
tclrrd.c:491: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:494: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:500: error: syntax error before "clientData"
tclrrd.c: In function `Rrd_Restore':
tclrrd.c:504: error: `argc' undeclared (first use in this function)
tclrrd.c:504: error: `argv' undeclared (first use in this function)
tclrrd.c:509: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:509: error: `interp' undeclared (first use in this function)
tclrrd.c:512: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:515: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:526: error: syntax error before "Tcl_CmdProc"
tclrrd.c:526: warning: no semicolon at end of struct or union
tclrrd.c:528: error: syntax error before '}' token
tclrrd.c:528: warning: type defaults to `int' in declaration of
`CmdInfo'
tclrrd.c:528: error: ISO C forbids data definition with no type or
storage class
tclrrd.c:530: error: syntax error before "rrdCmds"
tclrrd.c:530: warning: type defaults to `int' in declaration of
`rrdCmds'
tclrrd.c:531: warning: braces around scalar initializer
tclrrd.c:531: warning: (near initialization for `rrdCmds[0]')
tclrrd.c:531: warning: initialization makes integer from pointer without
a cast
tclrrd.c:531: warning: excess elements in scalar initializer
tclrrd.c:531: warning: (near initialization for `rrdCmds[0]')
tclrrd.c:531: warning: excess elements in scalar initializer
tclrrd.c:531: warning: (near initialization for `rrdCmds[0]')
tclrrd.c:532: warning: braces around scalar initializer
tclrrd.c:532: warning: (near initialization for `rrdCmds[1]')
tclrrd.c:532: warning: initialization makes integer from pointer without
a cast
tclrrd.c:532: warning: excess elements in scalar initializer
tclrrd.c:532: warning: (near initialization for `rrdCmds[1]')
tclrrd.c:532: warning: excess elements in scalar initializer
tclrrd.c:532: warning: (near initialization for `rrdCmds[1]')
tclrrd.c:533: warning: braces around scalar initializer
tclrrd.c:533: warning: (near initialization for `rrdCmds[2]')
tclrrd.c:533: warning: initialization makes integer from pointer without
a cast
tclrrd.c:533: warning: excess elements in scalar initializer
tclrrd.c:533: warning: (near initialization for `rrdCmds[2]')
tclrrd.c:533: warning: excess elements in scalar initializer
tclrrd.c:533: warning: (near initialization for `rrdCmds[2]')
tclrrd.c:534: warning: braces around scalar initializer
tclrrd.c:534: warning: (near initialization for `rrdCmds[3]')
tclrrd.c:534: warning: initialization makes integer from pointer without
a cast
tclrrd.c:534: warning: excess elements in scalar initializer
tclrrd.c:534: warning: (near initialization for `rrdCmds[3]')
tclrrd.c:534: warning: excess elements in scalar initializer
tclrrd.c:534: warning: (near initialization for `rrdCmds[3]')
tclrrd.c:535: warning: braces around scalar initializer
tclrrd.c:535: warning: (near initialization for `rrdCmds[4]')
tclrrd.c:535: warning: initialization makes integer from pointer without
a cast
tclrrd.c:535: warning: excess elements in scalar initializer
tclrrd.c:535: warning: (near initialization for `rrdCmds[4]')
tclrrd.c:535: warning: excess elements in scalar initializer
tclrrd.c:535: warning: (near initialization for `rrdCmds[4]')
tclrrd.c:536: warning: braces around scalar initializer
tclrrd.c:536: warning: (near initialization for `rrdCmds[5]')
tclrrd.c:536: warning: initialization makes integer from pointer without
a cast
tclrrd.c:536: warning: excess elements in scalar initializer
tclrrd.c:536: warning: (near initialization for `rrdCmds[5]')
tclrrd.c:536: warning: excess elements in scalar initializer
tclrrd.c:536: warning: (near initialization for `rrdCmds[5]')
tclrrd.c:541: warning: braces around scalar initializer
tclrrd.c:541: warning: (near initialization for `rrdCmds[6]')
tclrrd.c:541: warning: initialization makes integer from pointer without
a cast
tclrrd.c:541: warning: excess elements in scalar initializer
tclrrd.c:541: warning: (near initialization for `rrdCmds[6]')
tclrrd.c:541: warning: excess elements in scalar initializer
tclrrd.c:541: warning: (near initialization for `rrdCmds[6]')
tclrrd.c:542: warning: braces around scalar initializer
tclrrd.c:542: warning: (near initialization for `rrdCmds[7]')
tclrrd.c:542: warning: initialization makes integer from pointer without
a cast
tclrrd.c:542: warning: excess elements in scalar initializer
tclrrd.c:542: warning: (near initialization for `rrdCmds[7]')
tclrrd.c:542: warning: excess elements in scalar initializer
tclrrd.c:542: warning: (near initialization for `rrdCmds[7]')
tclrrd.c:543: warning: braces around scalar initializer
tclrrd.c:543: warning: (near initialization for `rrdCmds[8]')
tclrrd.c:543: warning: initialization makes integer from pointer without
a cast
tclrrd.c:543: warning: excess elements in scalar initializer
tclrrd.c:543: warning: (near initialization for `rrdCmds[8]')
tclrrd.c:543: warning: excess elements in scalar initializer
tclrrd.c:543: warning: (near initialization for `rrdCmds[8]')
tclrrd.c:544: warning: braces around scalar initializer
tclrrd.c:544: warning: (near initialization for `rrdCmds[9]')
tclrrd.c:544: warning: initialization makes integer from pointer without
a cast
tclrrd.c:544: error: `Tcl_CmdProc' undeclared here (not in a function)
tclrrd.c:544: error: syntax error before ')' token
tclrrd.c:544: warning: excess elements in scalar initializer
tclrrd.c:544: warning: (near initialization for `rrdCmds[9]')
tclrrd.c:544: warning: excess elements in scalar initializer
tclrrd.c:544: warning: (near initialization for `rrdCmds[9]')
tclrrd.c:545: error: ISO C forbids data definition with no type or
storage class
tclrrd.c:550: error: syntax error before '*' token
tclrrd.c: In function `init':
tclrrd.c:552: error: `cmdInfoPtr' undeclared (first use in this
function)
tclrrd.c:553: error: `Tcl_CmdInfo' undeclared (first use in this
function)
tclrrd.c:553: error: syntax error before "info"
tclrrd.c:555: warning: implicit declaration of function `Tcl_InitStubs'
tclrrd.c:555: warning: nested extern declaration of `Tcl_InitStubs'
tclrrd.c:555: error: `interp' undeclared (first use in this function)
tclrrd.c:555: error: `TCL_VERSION' undeclared (first use in this
function)
tclrrd.c:555: warning: comparison between pointer and integer
tclrrd.c:556: error: `TCL_ERROR' undeclared (first use in this function)
tclrrd.c:558: warning: implicit declaration of function `Tcl_PkgRequire'
tclrrd.c:558: warning: nested extern declaration of `Tcl_PkgRequire'
tclrrd.c:558: warning: comparison between pointer and integer
tclrrd.c:566: warning: implicit declaration of function `Tcl_SetVar2'
tclrrd.c:566: warning: nested extern declaration of `Tcl_SetVar2'
tclrrd.c:566: error: `TCL_GLOBAL_ONLY' undeclared (first use in this
function)
tclrrd.c:574: warning: implicit declaration of function
`Tcl_GetCommandInfo'
tclrrd.c:574: warning: nested extern declaration of `Tcl_GetCommandInfo'
tclrrd.c:574: error: `info' undeclared (first use in this function)
tclrrd.c:575: warning: nested extern declaration of `Tcl_AppendResult'
tclrrd.c:579: error: `safe' undeclared (first use in this function)
tclrrd.c:613: warning: implicit declaration of function
`Tcl_CreateCommand'
tclrrd.c:613: warning: nested extern declaration of `Tcl_CreateCommand'
tclrrd.c:614: error: `ClientData' undeclared (first use in this
function)
tclrrd.c:614: error: `Tcl_CmdDeleteProc' undeclared (first use in this
function)
tclrrd.c:614: error: syntax error before ')' token
tclrrd.c:617: warning: implicit declaration of function `Tcl_PkgProvide'
tclrrd.c:617: warning: nested extern declaration of `Tcl_PkgProvide'
tclrrd.c:617: error: `TCL_OK' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:625: error: syntax error before '*' token
tclrrd.c:626: warning: no previous prototype for 'Tclrrd_Init'
tclrrd.c: In function `Tclrrd_Init':
tclrrd.c:627: error: `interp' undeclared (first use in this function)
tclrrd.c: At top level:
tclrrd.c:636: error: syntax error before '*' token
tclrrd.c:637: warning: no previous prototype for 'Tclrrd_SafeInit'
tclrrd.c: In function `Tclrrd_SafeInit':
tclrrd.c:638: error: `interp' undeclared (first use in this function)
make[3]: *** [tclrrd.o] Error 1
make[3]: Leaving directory `/usr/local/src/rrdtool-1.2.15/bindings/tcl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/rrdtool-1.2.15/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/rrdtool-1.2.15'
make: *** [all] Error 2

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

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