#40 cvs head does not build today - vs tcl 8.5

closed-fixed
None
5
2007-09-24
2007-06-29
No

I downloaded the cvs head from activestate's ftp site.
It currently doesn't build - here are some errors and warnings:

"../exp_command.c", line 223: warning: no explicit type given for parameter: any
"../exp_command.c", line 267: warning: implicit function declaration: exp_ecmd_remove_state_direct_and_indirect
"../exp_command.c", line 922: warning: implicit function declaration: exp_slave_control
"../exp_command.c", line 2347: warning: argument #3 is incompatible with prototype:
prototype: pointer to pointer to char : "unknown", line 0
argument : pointer to pointer to const char

"../expect.c", line 346: warning: assignment type mismatch:
pointer to char "=" pointer to const char
"../expect.c", line 807: warning: implicit function declaration: Exp_StringCaseMatch
"../exp_inter.c", line 294: undefined symbol: TCL_REG_BOSONLY
"../exp_inter.c", line 629: warning: implicit function declaration: expStdinoutIs
"../exp_inter.c", line 866: undefined symbol: TCL_REG_BOSONLY
"../exp_inter.c", line 1343: warning: implicit function declaration: exp_get_next_event

Discussion

  • Andreas Kupries

    Andreas Kupries - 2007-06-29

    Logged In: YES
    user_id=75003
    Originator: NO

    Although not stated I can infer that you compiled Expect against 8.5 Head, right ?

    andreask@gila:~/lsf> grep -rin TCL_REG_BOSONLY tcl-8.[45]
    tcl-8.4/generic/tcl.h:575:#define TCL_REG_BOSONLY 002000 /* prepend \A to pattern so it only
    tcl-8.5/generic/tclInt.h:1107:#define TCL_REG_BOSONLY 002000 /* prepend \A to pattern so it only
    tcl-8.5/ChangeLog:1851: * generic/tcl.h: Moved TCL_REG_BOSONLY #define from tcl.h to
    tcl-8.5/changes:6870:2006-11-22 (feature change) Moved TCL_REG_BOSONLY from tcl.h to tclInt.h

    The key difference between 8.4/8.5 is that in 8.5 this define moved to an internal header.

    This is something which happened Nov 22 2006, and means that Expect is not compiling against the CVS Head since that time.

     
  • Larry W. Virden

    Larry W. Virden - 2007-06-29

    Logged In: YES
    user_id=15949
    Originator: YES

    sorry - solaris sparc, sun c compiler, compiled against today's cvs head tars of tcl and tk from the same ftp site and the following config flags.
    '--enable-shared' '--enable-symbols' '--enable-stubs' '--enable-64bit' '--enable-threads'

     
  • Andreas Kupries

    Andreas Kupries - 2007-06-29
    • summary: cvs head does not build today --> cvs head does not build today - vs tcl 8.5
     
  • Larry W. Virden

    Larry W. Virden - 2007-09-17

    Logged In: YES
    user_id=15949
    Originator: YES

    To fix this specific problem, there was a bug listed back in January 2007 (1634110) with the fix for this - it requires a change in a header include in exp_inter.c

     
  • Andreas Kupries

    Andreas Kupries - 2007-09-24

    Logged In: YES
    user_id=75003
    Originator: NO

    Fixed for Expect 5.44.1.4, committed to the head. Needed tclInt.h instead of tcl.h in exp_inter.c

     
  • Andreas Kupries

    Andreas Kupries - 2007-09-24
    • status: open --> closed-fixed
     
  • Andreas Kupries

    Andreas Kupries - 2007-09-24
    • assigned_to: nobody --> andreas_kupries
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks