compilation problem for obexftp

Help
2006-05-09
2013-05-01
  • metalmilitia851

    metalmilitia851 - 2006-05-09

    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

     
    • metalmilitia851

      metalmilitia851 - 2006-05-09

      ObexFtp version: 0.19
      openObex version: 1.2
      gcc version: 4.0.3

       
    • Christian W. Zuckschwerdt

      The TCL bindings are still not flexible enough. Most likely you are missing the devel packages for TCL.
      Try obexftp with ./configure --disable-tcl

       

Log in to post a comment.