Greetings, It appears that any version of naviserver won't compile with TCL8.7a5 on FreeBSD13, however with TCL 8.7a3 naviserver does compile.
The issue I am having is that: 8.7a5 gives me stubs-support, 8.7a3 does not which is required for a package. Essentially: tcl8.7a5 gives me stubs, naviserver won't compile, with tcl8.7a3 naviserver compiles, but TCL doesn't give me stubs ./tclsh8.7a3 % package require tarray This extension requires stubs-support. Are there any workarounds to this? Thanks. The errors thrown when compiling are below: 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 modload.c: In function 'Ns_ModuleLoad': modload.c:171:9: error: unknown type name 'Tcl_PackageInitProc'; did you mean 'Tcl_LibraryInitProc'? 171 | Tcl_PackageInitProc *tclInitProc = NULL, *moduleVersionAddr = NULL; | ^~~~~~~~~~~~~~~~~~~ | Tcl_LibraryInitProc modload.c:190:29: warning: passing argument 5 of 'Tcl_FSLoadFile' from incompatible pointer type [-Wincompatible-pointer-types] 190 | &tclInitProc, &moduleVersionAddr, &lh, &uPtr); | ^~~~~~~~~~~~ | | | int ** In file included from /srv/tcl/include/tcl.h:2404, from ../include/nsthread.h:533, from ../include/ns.h:46, from nsd.h:38, from modload.c:37: /srv/tcl/include/tclDecls.h:1341:27: note: expected 'int (**)(Tcl_Interp *)' but argument is of type 'int **' 1341 | Tcl_LibraryInitProc **proc1Ptr, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ modload.c:190:43: warning: passing argument 6 of 'Tcl_FSLoadFile' from incompatible pointer type [-Wincompatible-pointer-types] 190 | &tclInitProc, &moduleVersionAddr, &lh, &uPtr); | ^~~~~~~~~~~~~~~~~~ | | | int ** In file included from /srv/tcl/include/tcl.h:2404, from ../include/nsthread.h:533, from ../include/ns.h:46, from nsd.h:38, from modload.c:37: /srv/tcl/include/tclDecls.h:1342:27: note: expected 'int (**)(Tcl_Interp *)' but argument is of type 'int **' 1342 | Tcl_LibraryInitProc **proc2Ptr, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ gmake[1]: *** [<builtin>: modload.o] Error 1 gmake[1]: Leaving directory '/srv/_scrap/naviserver-4.99.23/nsd' gmake: *** [Makefile:50: all] Error 1
_______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel