Git Product home page Git Product logo

Comments (4)

rfuchs avatar rfuchs commented on August 25, 2024

Do you want to build with or without transcoding support?

from rtpengine.

Helloworld1668 avatar Helloworld1668 commented on August 25, 2024

Hi rfychs !
First ,I want to build without transcoding !
I also want to know how to build with transcoding!
Thanks !!

from rtpengine.

rfuchs avatar rfuchs commented on August 25, 2024

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 pkg/deb/ appropriate for your distro.

Not a problem with the code, closing.

from rtpengine.

Helloworld1668 avatar Helloworld1668 commented on August 25, 2024

Hi Hi rfychs !
I checked that backports do support Ubuntu 22.04;
then in the rtpengine/daemon directory, I modified the Makefile file with the statement: with_transcoding ?= no, and then running make, it can compile the rtpengine binary;
In the rtpengine/kernel-module, running make also generates the xt_RTPENGINE.ko file;

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 bcg729_decoder_input': ./../lib/codeclib.c:3245: undefined reference to av_channel_layout_default'
/usr/bin/ld: /tmp/ccytNpKp.ltrans18.ltrans.o: in function avc_decoder_init': ./../lib/codeclib.c:794: undefined reference to av_channel_layout_default'
/usr/bin/ld: /tmp/ccytNpKp.ltrans18.ltrans.o: in function avc_encoder_init': ./../lib/codeclib.c:1620: undefined reference to av_channel_layout_default'
/usr/bin/ld: /tmp/ccytNpKp.ltrans18.ltrans.o: in function encoder_config_fmtp': ./../lib/codeclib.c:1709: undefined reference to av_channel_layout_default'
/usr/bin/ld: /tmp/ccytNpKp.ltrans18.ltrans.o: in function libopus_decoder_input': ./../lib/codeclib.c:2058: undefined reference to av_channel_layout_default'
/usr/bin/ld: /tmp/ccytNpKp.ltrans18.ltrans.o:./../lib/codeclib.c:3163: more undefined references to av_channel_layout_default' follow /usr/bin/ld: /tmp/ccytNpKp.ltrans18.ltrans.o: in function resample_frame':
./resample.c:31: undefined reference to av_channel_layout_compare' /usr/bin/ld: ./resample.c:39: undefined reference to swr_alloc_set_opts2'
collect2: error: ld returned 1 exit status
make[3]: *** [../lib/common.Makefile:7: rtpengine] Error 1
rm control_ng.strhash.c sdp.strhash.c janus.strhash.c call_interfaces.strhash.c
make[3]: Leaving directory '/data/rtpengine/rtpengine/daemon'
make[2]: *** [../lib/common.Makefile:4: all] Error 2
make[2]: Leaving directory '/data/rtpengine/rtpengine/daemon'
make[1]: *** [Makefile:23: all] Error 2
make[1]: Leaving directory '/data/rtpengine/rtpengine'
dh_auto_build: error: make -j16 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:27: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

from rtpengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.