Dear Wolfgang,
You have to compile the newest version of nsdbpg either against
- the newest version of NaviServer from the branch "main", or against
- the newest version of NaviServer from the branch "release/4.99"
General rule: Take either the releases with matching version number from
sourceforge, or take the newest versions of NaviServer and the modules
from github (typically unreleased versions).
The following combinations are tested on the latest code
all the best
-g
Tested environments for NaviServer 4.99 (branch release/4.99)
- os: ubuntu-latest
compiler: gcc-10
tcltag: core-8-6-13
nsf_version: 2.3.0
tdom_version: 0.9.1
- os: ubuntu-latest
compiler: gcc-11
tcltag: core-8-7-a5
ns_modules: nsdbpg nsdbi nsdbipg nsudp nscoap nssmtpd
nsf_version: 2.4.0
tdom_version: 0.9.3
Tested environments for NaviServer 5 (branch main)
- os: ubuntu-latest
compiler: gcc-10
tcltag: core-8-6-13
nsf_version: 2.3.0
tdom_version: 0.9.1
- os: ubuntu-latest
compiler: gcc-12
tcltag: core-8-7-a5
ns_modules: nsdbpg nsdbi nsdbipg nsudp nscoap nssmtpd
nsf_version: 2.4.0
tdom_version: 0.9.3
- os: ubuntu-latest
compiler: gcc-12
tcltag: main
ns_modules: nsdbpg nsdbi nsdbipg nsudp nscoap nssmtpd nsloopctl
nsf_version: HEAD
tdom_version: 0.9.3
On 22.11.23 08:18, Wolfgang Winkler via naviserver-devel wrote:
Hi all!
When compiling the current version of nsdbg from
https://github.com/naviserver-project/nsdbpg/tree/main
I get the error:
tclcmds.c:1635:37:error: expected ‘)’ before ‘PRITcl_Size’
sprintf(segment_pos, "%d, %"PRITcl_Size", '%s')",
^~~~~~~~~~~~
)
I locally changed the line 1635 to the old version, which works.
- sprintf(segment_pos, "%d, %" PRITcl_Size ", '%s')",
- segment, segment_len, out_buf);
+sprintf(segment_pos, "%d, %d, '%s')", segment, segment_len, out_buf);
Regards,
wiwo
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel