[rrd-users] rrdtool 1.2.10 with Tcl bindings

Mark Duling mark.duling at biola.edu
Wed Jul 6 08:16:19 MEST 2005


Has anybody sucessfully built rrdtool with tcl bindingings?  I can't get
that to work, though with tcl disabled it builds fine.  I've found one
problem in ./bindings/tcl/Makefile.in:

[info sharedlibextension\] 

should be

$(TCL_SHLIB_SUFFIX)

And at least one other I think.  Fixing what looks wrong to me doesn't
solve the problem but perhaps there are other problems I don't see.  I am
using OS X 10.4.1 (supporting libs are installed via DarwinPorts) and the
output is below.  Thank you.

Mark


Making all in tcl
gcc -L/opt/local/lib  -fno-common -DPIC -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W -L/opt/local/lib  -fno-common -DPIC -Wall
-pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -W -fno-common
-I/opt/local/include -I../../src -c tclrrd.c -DVERSION=\"1.2.10\"
In file included from tclrrd.c:15:
/opt/local/include/tcl.h:398: warning: ISO C90 does not support 'long long'
/opt/local/include/tcl.h:399: warning: ISO C90 does not support 'long long'
tclrrd.c:59: warning: unused parameter 'clientData'
tclrrd.c:84: warning: unused parameter 'clientData'
tclrrd.c:111: warning: unused parameter 'clientData'
tclrrd.c:140: warning: unused parameter 'clientData'
tclrrd.c:165: warning: unused parameter 'clientData'
tclrrd.c:210: warning: unused parameter 'clientData'
tclrrd.c:256: warning: unused parameter 'clientData'
tclrrd.c:281: warning: unused parameter 'clientData'
tclrrd.c:306: warning: unused parameter 'clientData'
tclrrd.c:356: warning: unused parameter 'safe'
cc -dynamiclib -L/opt/local/lib  -L../../src/.libs -L../../src
-L/opt/local/include tclrrd.o -o tclrrd1.2.10.dylib -lrrd -lm
ld: Undefined symbols:
_Tcl_AppendResult
_Tcl_CreateCommand
_Tcl_GetCommandInfo
_Tcl_GetObjResult
_Tcl_ListObjAppendElement
_Tcl_NewIntObj
_Tcl_NewStringObj
_Tcl_PkgProvide
_Tcl_PkgRequire
_Tcl_SetIntObj
_Tcl_SetVar2
/usr/bin/libtool: internal link edit command failed
make[3]: *** [tclrrd1.2.10.dylib] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

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