I am getting the following error when trying to build from source on Ubuntu 25.10.
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -pthread -MT patricia.lo -MD -MP -MF .deps/patricia.Tpo -c -o patricia.lo patricia.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -pthread -MT patricia.lo -MD -MP -MF .deps/patricia.Tpo -c patricia.c -fPIC -DPIC -o .libs/patricia.o
patricia.c: In function 'Clear_Patricia':
patricia.c:377:11: error: too many arguments to function 'func'; expected 0, have 1
377 | func(Xrn->data);
| ^~~~ ~~~~~~~~~
patricia.c: In function 'patricia_process':
patricia.c:420:5: error: too many arguments to function 'func'; expected 0, have 2
420 | func(node->prefix, node->data);
| ^~~~ ~~~~~~~~~~~~
patricia.c: In function 'patricia_walk_inorder':
patricia.c:435:5: error: too many arguments to function 'func'; expected 0, have 2
435 | func(node->prefix, node->data);
| ^~~~ ~~~~~~~~~~~~
This happens for 2.3.0 and 2.2.0 (after patching the bugs related to building the library that were fixed in 2.3.0).
EDIT:
Compiling the library with gcc-11 was successful.
CC=gcc-11 ./configure
make
sudo make install
I am getting the following error when trying to build from source on Ubuntu 25.10.
This happens for 2.3.0 and 2.2.0 (after patching the bugs related to building the library that were fixed in 2.3.0).
EDIT:
Compiling the library with gcc-11 was successful.