--- a/tool/buildtclext.tcl 2024-11-18 14:01:05.040080030 +0800 +++ b/tool/buildtclext.tcl 2024-11-18 14:01:27.998394871 +0800 @@ -232,7 +232,7 @@ # Generate and execute the command with which to do the compilation. # - set cmd "$CMD tclsqlite3.c -o $OUT $LIBS" + set cmd "$CMD tclsqlite3.c -o $OUT $LIBS -lm" puts $cmd file delete -force $OUT catch {exec {*}$cmd} errmsg