Begin main content
Search · Index
No registered users in community xowiki
in last 10 minutes

error: 'Tcl_Interp' has no member named 'result' in /usr/local/src/aolserver/nsopenssl/tclcmds.c

when trying to compile nsopenssl for tcl8.6 the Error

tclcmds.c:338:31: error: 'Tcl_Interp' has no member named 'result'

In tcl8.6 the interp objects fields cant be accessed directly anymore, instead tcl8.6 offers a API to manipulate the fields of the interp object (http://www.tcl.tk/man/tcl8.6/TclLib/SetResult.htm). Below is a patch which fixes the Error, including a brif description on how to apply the patch.


root#> cd /tmp
root#> wget http://www.clever-devel.com/file/35043/nsopenssl-interp-result-0.1.1.patch
root#> cd /usr/local/src/aolserver-src-dir/nsopenssl/
root#> patch -p0 < /tmp/nsopenssl-interp-0.1.1.patch

nsopenssl-interp-result-0.1.1.patch