the configure utility run correctly but when i compile obexftp i receve this errors:
tcl_wrap.c: In function 'Obexftp_Init':
tcl_wrap.c:1444: error: 'interp' undeclared (first use in this function)
tcl_wrap.c:1444: error: 'TCL_ERROR' undeclared (first use in this function)
tcl_wrap.c:1451: warning: implicit declaration of function 'Tcl_PkgProvide'
tcl_wrap.c:1462: error: request for member 'name' in something not a structure or union
tcl_wrap.c:1463: error: request for member 'name' in something not a structure or union
tcl_wrap.c:1463: error: request for member 'wrapper' in something not a structure or union
tcl_wrap.c:1463: error: request for member 'clientdata' in something not a structure or union
tcl_wrap.c:1466: warning: implicit declaration of function 'Tcl_SetVar'
tcl_wrap.c:1466: error: 'TCL_GLOBAL_ONLY' undeclared (first use in this function)
tcl_wrap.c:1467: warning: implicit declaration of function 'Tcl_TraceVar'
tcl_wrap.c:1467: error: 'TCL_TRACE_READS' undeclared (first use in this function)
tcl_wrap.c:1467: error: 'Tcl_VarTraceProc' undeclared (first use in this function)
tcl_wrap.c:1467: error: syntax error before ')' token
tcl_wrap.c:1468: error: 'TCL_TRACE_WRITES' undeclared (first use in this function)
tcl_wrap.c:1468: error: syntax error before ')' token
tcl_wrap.c:1472: error: 'TCL_OK' undeclared (first use in this function)
tcl_wrap.c: At top level:
tcl_wrap.c:1474: error: syntax error before '*' token
tcl_wrap.c:1474: warning: no previous prototype for 'Obexftp_SafeInit'
tcl_wrap.c: In function 'Obexftp_SafeInit':
tcl_wrap.c:1475: error: 'interp' undeclared (first use in this function)
make[3]: *** [obexftp_la-tcl_wrap.lo] Error 1
make[3]: Leaving directory `/home/metalmilitia/Scaricati/obex/obexftp-0.19/swig/tcl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/metalmilitia/Scaricati/obex/obexftp-0.19/swig'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/metalmilitia/Scaricati/obex/obexftp-0.19'
make: *** [all] Error 2
What can I do?
S.O. Debian etch
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the configure utility run correctly but when i compile obexftp i receve this errors:
tcl_wrap.c: In function 'Obexftp_Init':
tcl_wrap.c:1444: error: 'interp' undeclared (first use in this function)
tcl_wrap.c:1444: error: 'TCL_ERROR' undeclared (first use in this function)
tcl_wrap.c:1451: warning: implicit declaration of function 'Tcl_PkgProvide'
tcl_wrap.c:1462: error: request for member 'name' in something not a structure or union
tcl_wrap.c:1463: error: request for member 'name' in something not a structure or union
tcl_wrap.c:1463: error: request for member 'wrapper' in something not a structure or union
tcl_wrap.c:1463: error: request for member 'clientdata' in something not a structure or union
tcl_wrap.c:1466: warning: implicit declaration of function 'Tcl_SetVar'
tcl_wrap.c:1466: error: 'TCL_GLOBAL_ONLY' undeclared (first use in this function)
tcl_wrap.c:1467: warning: implicit declaration of function 'Tcl_TraceVar'
tcl_wrap.c:1467: error: 'TCL_TRACE_READS' undeclared (first use in this function)
tcl_wrap.c:1467: error: 'Tcl_VarTraceProc' undeclared (first use in this function)
tcl_wrap.c:1467: error: syntax error before ')' token
tcl_wrap.c:1468: error: 'TCL_TRACE_WRITES' undeclared (first use in this function)
tcl_wrap.c:1468: error: syntax error before ')' token
tcl_wrap.c:1472: error: 'TCL_OK' undeclared (first use in this function)
tcl_wrap.c: At top level:
tcl_wrap.c:1474: error: syntax error before '*' token
tcl_wrap.c:1474: warning: no previous prototype for 'Obexftp_SafeInit'
tcl_wrap.c: In function 'Obexftp_SafeInit':
tcl_wrap.c:1475: error: 'interp' undeclared (first use in this function)
make[3]: *** [obexftp_la-tcl_wrap.lo] Error 1
make[3]: Leaving directory `/home/metalmilitia/Scaricati/obex/obexftp-0.19/swig/tcl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/metalmilitia/Scaricati/obex/obexftp-0.19/swig'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/metalmilitia/Scaricati/obex/obexftp-0.19'
make: *** [all] Error 2
What can I do?
S.O. Debian etch
thanks
ObexFtp version: 0.19
openObex version: 1.2
gcc version: 4.0.3
The TCL bindings are still not flexible enough. Most likely you are missing the devel packages for TCL.
Try obexftp with ./configure --disable-tcl