Re: vlc build problem ... recompile with -fPIC ??
Mahesh Velankar <[email protected]>
| Newsgroups | gmane.comp.video.videolan.vlc.devel |
|---|---|
| Message-ID | <CAKg8JkCZ5D8=+NpgxxVK03nOp=KVJV9rAv6a88eQukhOhUTmKA@mail.gmail.com> |
Remi, Thanks for looking into this. What my original interest is, is about how VLC does not get into problem when decoding AC3 audio when there is no sync_word found. We have a transport stream with 3 audio streams. Out of these audio streams our application (based on avlibs and ffmpeg) cannot decode audio stream 2 .... because it does not seem to have sync_word 0x770b found in the audio data. However VLC does not have any problem in decoding and playing all these audio streams. And what I see is VLC is also using the same ffmpeg from inside. So I wanted to see how it is able to work around this audio stream that ffmpeg rejects!! This is the basic reason why I am trying to build VLC Now about the srt.... I had tried to configure and make by disabling srt in configure............That time it went to link next module and failed with exactly same error ( -fPIC ... whatever) I hope I have made it clear how I landed up here. See if you can help me Thanks again On Tue, Dec 27, 2022 at 8:00 AM Rémi Denis-Courmont <[email protected]> wrote: > Le 26 décembre 2022 18:45:14 GMT+01:00, Mahesh Velankar < > [email protected]> a écrit : > >I am an absolute newbie to vlc. > >I cloned git repo and tried to build vlc with these steps > > > > > > 1. bootstrap > > 2. ./configure --enable-static --disable-lua --disable-xcb --disable-qt > > --disable-a52 > > 3. make > > > > > >It is throwing this error in the linking step. > > > > > >/usr/bin/ld: /usr/local/lib/libsrt.a(srt_c_api.cpp.o): relocation > >R_X86_64_PC32 against symbol > >`_ZTVSt9basic_iosIcSt11char_traitsIcEE@@GLIBCXX_3.4' > >can not be used when making a shared object; recompile with -fPIC > >/usr/bin/ld: final link failed: Bad value > >collect2: error: ld returned 1 exit status > >Makefile:13024: recipe for target 'libaccess_srt_plugin.la' failed > >make[4]: *** [libaccess_srt_plugin.la] Error 1 > > > >Please help me on how to proceed with this build > >Let me know what more details I need to provide. > > > >Thanks > > Hi, > > You seem to have a faulty build of SRT installed under /usr/local. This > error wouldn't happen on a fresh clean build environment. > _______________________________________________ vlc-devel mailing list To unsubscribe or modify your subscription options: https://mailman.videolan.org/listinfo/vlc-devel