-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile rtpengine failed on ubuntu 22.04 with error "undefined reference to `av_channel_layout_default'" #1815
Comments
Do you want to build with or without transcoding support? |
Hi rfychs ! |
The .deb build system doesn't support non-transcoding builds, so just changing the makefile and then trying to create a build won't work. Also you need to apply the backports from Not a problem with the code, closing. |
Hi Hi rfychs ! I now want to compile with the transcoding module, I have already installed the g729 deb package, and the ffmpeg deb package is also the latest, but it still reports errors. /usr/bin/ld: /tmp/ccytNpKp.ltrans18.ltrans.o: in function |
rtpengine version the issue has been seen with
mr12.0
Used distribution and its version
Ubuntu 22.04.2 LTS
Linux kernel version used
5.15.0-101-generic
CPU architecture issue was seen on (see
uname -m
)x86_64
Expected behaviour you didn't see
build rtpengine successfully
Unexpected behaviour you saw
No response
Steps to reproduce the problem
1、install dev
sudo apt-get install debhelper-compat=13 default-libmysqlclient-dev dh-sequence-dkms gperf libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libbcg729-dev libbencode-perl libcrypt-openssl-rsa-perl libcrypt-rijndael-perl libcurl4-openssl-dev libdigest-crc-perl libdigest-hmac-perl libevent-dev libhiredis-dev libio-multiplex-perl libio-socket-inet6-perl libiptc-dev libjson-glib-dev libjson-perl libmnl-dev libmosquitto-dev libnet-interface-perl libnftnl-dev libopus-dev libpcap0.8-dev libsocket6-perl libspandsp-dev libswresample-dev libsystemd-dev libtest2-suite-perl libwebsockets-dev libxmlrpc-core-c3-dev libxtables-dev markdown pandoc python3-websockets
2、edit Makefile
with_transcoding ?= no
3、install ffmpeg
sder@sder:/data/rtpengine/rtpengine$ ffmpeg -version
ffmpeg version N-111488-gb6305a7873 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04.1)
configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
libavutil 58. 14.100 / 58. 14.100
libavcodec 60. 22.100 / 60. 22.100
libavformat 60. 10.100 / 60. 10.100
libavdevice 60. 2.101 / 60. 2.101
libavfilter 9. 8.102 / 9. 8.102
libswscale 7. 3.100 / 7. 3.100
libswresample 4. 11.100 / 4. 11.100
4、sudo dpkg-buildpcakge
Additional program output to the terminal or logs illustrating the issue
Anything else?
No response
The text was updated successfully, but these errors were encountered: