Hi Richard.
Thank you for your help. Step by step what I am doing and where I am failing.
~/git# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
~/git# rm -r rtpengine
~/git# cd rtpengine/pkg/deb/
~/git/rtpengine/pkg/deb# ./generator.sh
(does stuff, nothing looks like an error)
~/git/rtpengine/pkg/deb# backports/jammy
(no output)
~/git/rtpengine/pkg/deb# mv ~/git/rtpengine/debian ~/git/rtpengine/debian.back
~/git/rtpengine/pkg/deb# mv jammy ~/git/rtpengine/debian
~/git/rtpengine/pkg/deb# cd ../.
~/git/rtpengine# dpkg-buildpackage
(starts compiling until....)
cc -g -O2 -ffile-prefix-map=/root/git/rtpengine=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -DRTPENGINE_VERSION="\"12.5.0.0+0~mr12.5.0.0 git-master-2da116cf\"" -DHAVE_LIBSYSTEMD -DHAVE_LIBURING -g -O2 -ffile-prefix-map=/root/git/rtpengine=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -O3 -flto=auto -ffat-lto-objects -pthread -fno-strict-aliasing -std=c11 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DPCRE2_CODE_UNIT_WIDTH=8 -I/usr/include -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -DWITH_IPTABLES_OPTION -I. -I../kernel-module/ -I../lib/ -I../include/ -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/opus -DWITH_TRANSCODING -I/usr/include/mysql -DHAVE_BCG729 -DHAVE_MQTT -DRTPENGINE_VERSION="\"12.5.0.0+0~mr12.5.0.0 git-master-2da116cf\"" -DHAVE_LIBSYSTEMD -DHAVE_LIBURING -g -O2 -ffile-prefix-map=/root/git/rtpengine/daemon=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -O3 -flto=auto -ffat-lto-objects -pthread -fno-strict-aliasing -std=c11 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DPCRE2_CODE_UNIT_WIDTH=8 -I/usr/include -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -DWITH_IPTABLES_OPTION -I. -I../kernel-module/ -I../lib/ -I../include/ -D_GNU_SOURCE -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/opus -DWITH_TRANSCODING -I/usr/include/mysql -DHAVE_BCG729 -DHAVE_MQTT -DRTPENGINE_VERSION="\"12.5.0.0+0~mr12.5.0.0 git-master-2da116cf\"" -DHAVE_LIBSYSTEMD -DHAVE_LIBURING -g -O2 -ffile-prefix-map=/root/git/rtpengine/daemon=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -O3 -flto=auto -ffat-lto-objects -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o uring.o uring.c
uring.c: In function ‘__uring_thread_loop’:
uring.c:85:2: warning: implicit declaration of function ‘io_uring_submit_and_get_events’; did you mean ‘io_uring_submit_and_wait’? [-Wimplicit-function-declaration]
85 |
| ^
| io_uring_submit_and_wait
[...]
ake[3]: *** [<builtin>: uring.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm control_ng.strhash.c sdp.strhash.c janus.strhash.c call_interfaces.strhash.c
make[3]: Leaving directory '/root/git/rtpengine/daemon'
make[2]: *** [../lib/common.Makefile:4: all] Error 2
make[2]: Leaving directory '/root/git/rtpengine/daemon'
make[1]: *** [Makefile:22: all] Error 2
make[1]: Leaving directory '/root/git/rtpengine'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:34: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
To me it looks like still some uring dependencies are left in.
liburing2 and liburing-dev from ubuntu 24 depend on the same libc version which is present in ubuntu 22. So I might just install liburing 2.3 on 22?
-Benoît-