Dear Fox,

The function Tcl_PackageInitProc was apparently deprecated recently for Tcl 8.7 (TIP #595, [1]).

Therefore, for compiling the released version of NaviServer with Tcl 8.7a5, remove the flag -DTCL_NO_DEPRECATED from the compiler flags, and everything should be fine.

We should probably wait for the release of Tcl 8.7 for switching to the non-deprecated function name "Tcl_LibraryInitProc". In the meantime, i have remove the -DTCL_NO_DEPRECATED flag from the default compile options.

all the best

-gn

[1] https://github.com/tcltk/tcl/commit/06813163a831a73bcdd74a5341bbc547fbb3e342

On 10.01.22 01:51, D.Fox wrote:
...
gmake[1]: Entering directory '/srv/_scrap/naviserver-4.99.23/nsd'
gcc  -O2 -Wall -fPIC  -pipe  -finput-charset=UTF-8 -DNDEBUG -DSYSTEM_MALLOC -DTCL_NO_DEPRECATED -std=c99 -I../include -I"/srv/tcl/include"   -DHAVE_CONFIG_H   -c -o mo
dload.o modload.c
...
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to