On Wednesday 09:58 AM 1/9/2008, Juan José del Río [Simple wrote:
I tried on FreeBSD, but it didn't compile. It kept complaining about
functions that have changed name / parameters or giving linking problems
with Tcl memory management functions, i think, but I don't recall
exactly...

The problem is that the Tcl_GetMemoryInfo function is declared as MODULE_SCOPE rather than global scope in Tcl 8.5.0.  We worked around it by modifying the relevant source file prior to compiling Tcl, like so:

---- 8< ------------------------------------------------------
pushd generic
cp -p tclThreadAlloc.c tclThreadAlloc.c.orig
sed 's/^MODULE_SCOPE void/void/' < tclThreadAlloc.c.orig > tclThreadAlloc.c
popd
---- 8< ------------------------------------------------------

(Tcl_GetMemoryInfo is the only function in tclThreadAlloc.c that's declared as MODULE_SCOPE void, so this change doesn't affect anything else.)

Other than that, 8.5.0 seems to work (with AOLserver 4.5.0), though we haven't tested it extensively yet.

- John

-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.



Reply via email to