Error while building recent FFmpeg from source

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Error while building recent FFmpeg from source

Venkateswaran.S
Hi Team,

I'm building FFmpeg from below github source.
https://github.com/FFmpeg/FFmpeg.git

Configure script :
./configure --enable-gpl --enable-version3 --disable-static --enable-shared
--enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
--enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband
--enable-librtmp --enable-libshine --enable-libsmbclient --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
--enable-libtheora --enable-libtwolame --enable-libv4l2
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
--enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
--enable-opengl --enable-libdrm

I'm getting below error while make.

libavfilter/af_sofalizer.c: In function ‘preload_sofa’:
libavfilter/af_sofalizer.c:164:32: error: implicit declaration of function
‘mysofa_neighborhood_init_withstepdefine’; did you mean
‘mysofa_neighborhood_init’? [-Werror=implicit-function-declaration]
         s->sofa.neighborhood =
mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                mysofa_neighborhood_init
libavfilter/af_sofalizer.c:164:30: warning: assignment makes pointer from
integer without a cast [-Wint-conversion]
         s->sofa.neighborhood =
mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
                              ^
cc1: some warnings being treated as errors
ffbuild/common.mak:60: recipe for target 'libavfilter/af_sofalizer.o' failed
make: *** [libavfilter/af_sofalizer.o] Error 1

Regards,
Venkateswaran.S
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Error while building recent FFmpeg from source

Paul B Mahol
On 3/7/19, Venkateswaran.S <[hidden email]> wrote:

> Hi Team,
>
> I'm building FFmpeg from below github source.
> https://github.com/FFmpeg/FFmpeg.git
>
> Configure script :
> ./configure --enable-gpl --enable-version3 --disable-static --enable-shared
> --enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
> --enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
> --enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
> --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> --enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
> --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband
> --enable-librtmp --enable-libshine --enable-libsmbclient --enable-libsnappy
> --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
> --enable-libtheora --enable-libtwolame --enable-libv4l2
> --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
> --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
> --enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
> --enable-opengl --enable-libdrm
>
> I'm getting below error while make.
>
> libavfilter/af_sofalizer.c: In function ‘preload_sofa’:
> libavfilter/af_sofalizer.c:164:32: error: implicit declaration of function
> ‘mysofa_neighborhood_init_withstepdefine’; did you mean
> ‘mysofa_neighborhood_init’? [-Werror=implicit-function-declaration]
>          s->sofa.neighborhood =
> mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                                 mysofa_neighborhood_init
> libavfilter/af_sofalizer.c:164:30: warning: assignment makes pointer from
> integer without a cast [-Wint-conversion]
>          s->sofa.neighborhood =
> mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>                               ^
> cc1: some warnings being treated as errors
> ffbuild/common.mak:60: recipe for target 'libavfilter/af_sofalizer.o' failed
> make: *** [libavfilter/af_sofalizer.o] Error 1
>

Build with latest libmysofa library.

> Regards,
> Venkateswaran.S
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Error while building recent FFmpeg from source

Venkateswaran.S
I'hv libmysofa0 latest version - 0.6, also I've installed libmysofa-dev and
libmysofa-utils. I'm using Ubuntu 18.04 OS.

On Thu, Mar 7, 2019 at 6:51 PM Paul B Mahol <[hidden email]> wrote:

> On 3/7/19, Venkateswaran.S <[hidden email]> wrote:
> > Hi Team,
> >
> > I'm building FFmpeg from below github source.
> > https://github.com/FFmpeg/FFmpeg.git
> >
> > Configure script :
> > ./configure --enable-gpl --enable-version3 --disable-static
> --enable-shared
> > --enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
> > --enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
> > --enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
> > --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> > --enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
> > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> > --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
> > --enable-libopus --enable-libpulse --enable-librsvg
> --enable-librubberband
> > --enable-librtmp --enable-libshine --enable-libsmbclient
> --enable-libsnappy
> > --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
> > --enable-libtheora --enable-libtwolame --enable-libv4l2
> > --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
> > --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
> > --enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
> > --enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
> > --enable-opengl --enable-libdrm
> >
> > I'm getting below error while make.
> >
> > libavfilter/af_sofalizer.c: In function ‘preload_sofa’:
> > libavfilter/af_sofalizer.c:164:32: error: implicit declaration of
> function
> > ‘mysofa_neighborhood_init_withstepdefine’; did you mean
> > ‘mysofa_neighborhood_init’? [-Werror=implicit-function-declaration]
> >          s->sofa.neighborhood =
> > mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
> >                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >                                 mysofa_neighborhood_init
> > libavfilter/af_sofalizer.c:164:30: warning: assignment makes pointer from
> > integer without a cast [-Wint-conversion]
> >          s->sofa.neighborhood =
> > mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
> >                               ^
> > cc1: some warnings being treated as errors
> > ffbuild/common.mak:60: recipe for target 'libavfilter/af_sofalizer.o'
> failed
> > make: *** [libavfilter/af_sofalizer.o] Error 1
> >
>
> Build with latest libmysofa library.
>
> > Regards,
> > Venkateswaran.S
> > _______________________________________________
> > ffmpeg-user mailing list
> > [hidden email]
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Error while building recent FFmpeg from source

Paul B Mahol
On 3/7/19, Venkateswaran.S <[hidden email]> wrote:
> I'hv libmysofa0 latest version - 0.6, also I've installed libmysofa-dev and
> libmysofa-utils. I'm using Ubuntu 18.04 OS.
>

No you are not using latest version.

> On Thu, Mar 7, 2019 at 6:51 PM Paul B Mahol <[hidden email]> wrote:
>
>> On 3/7/19, Venkateswaran.S <[hidden email]> wrote:
>> > Hi Team,
>> >
>> > I'm building FFmpeg from below github source.
>> > https://github.com/FFmpeg/FFmpeg.git
>> >
>> > Configure script :
>> > ./configure --enable-gpl --enable-version3 --disable-static
>> --enable-shared
>> > --enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
>> > --enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
>> > --enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
>> > --enable-libfontconfig --enable-libfreetype --enable-libfribidi
>> > --enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
>> > --enable-libmp3lame --enable-libopencore-amrnb
>> > --enable-libopencore-amrwb
>> > --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
>> > --enable-libopus --enable-libpulse --enable-librsvg
>> --enable-librubberband
>> > --enable-librtmp --enable-libshine --enable-libsmbclient
>> --enable-libsnappy
>> > --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
>> > --enable-libtheora --enable-libtwolame --enable-libv4l2
>> > --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
>> > --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
>> > --enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
>> > --enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
>> > --enable-opengl --enable-libdrm
>> >
>> > I'm getting below error while make.
>> >
>> > libavfilter/af_sofalizer.c: In function ‘preload_sofa’:
>> > libavfilter/af_sofalizer.c:164:32: error: implicit declaration of
>> function
>> > ‘mysofa_neighborhood_init_withstepdefine’; did you mean
>> > ‘mysofa_neighborhood_init’? [-Werror=implicit-function-declaration]
>> >          s->sofa.neighborhood =
>> > mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>> >                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> >                                 mysofa_neighborhood_init
>> > libavfilter/af_sofalizer.c:164:30: warning: assignment makes pointer
>> > from
>> > integer without a cast [-Wint-conversion]
>> >          s->sofa.neighborhood =
>> > mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>> >                               ^
>> > cc1: some warnings being treated as errors
>> > ffbuild/common.mak:60: recipe for target 'libavfilter/af_sofalizer.o'
>> failed
>> > make: *** [libavfilter/af_sofalizer.o] Error 1
>> >
>>
>> Build with latest libmysofa library.
>>
>> > Regards,
>> > Venkateswaran.S
>> > _______________________________________________
>> > ffmpeg-user mailing list
>> > [hidden email]
>> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> >
>> > To unsubscribe, visit link above, or email
>> > [hidden email] with subject "unsubscribe".
>> _______________________________________________
>> ffmpeg-user mailing list
>> [hidden email]
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Error while building recent FFmpeg from source

Moritz Barsnick
On Thu, Mar 07, 2019 at 14:38:30 +0100, Paul B Mahol wrote:
> On 3/7/19, Venkateswaran.S <[hidden email]> wrote:
> > I'hv libmysofa0 latest version - 0.6, also I've installed libmysofa-dev and
> > libmysofa-utils. I'm using Ubuntu 18.04 OS.
> >
>
> No you are not using latest version.

In other words, that API mysofa_neighborhood_init_withstepdefine() is
available on git master of libmysofa, but not in a release.

Since libmysofa seems not to bump their (API) version macros properly
(I see some 0.5.1, last changed 2 years ago), ffmpeg's configure should
probably check for this particular API, instead of failing during
build.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Error while building recent FFmpeg from source

Lou Logan
In reply to this post by Venkateswaran.S
On Thu, Mar 7, 2019, at 4:16 AM, Venkateswaran.S wrote:

> Hi Team,
>
> I'm building FFmpeg from below github source.
> https://github.com/FFmpeg/FFmpeg.git
>
> Configure script :
> ./configure --enable-gpl --enable-version3 --disable-static --enable-shared
> --enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
> --enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
> --enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
> --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> --enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
> --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband
> --enable-librtmp --enable-libshine --enable-libsmbclient --enable-libsnappy
> --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
> --enable-libtheora --enable-libtwolame --enable-libv4l2
> --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
> --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
> --enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
> --enable-opengl --enable-libdrm

Why are you enabling so much stuff? Are you really going to use gsm, modplug, amr, etc? Seems like a waste of time and effort. Just enable what you need.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Error while building recent FFmpeg from source

Venkateswaran.S
Thank you guys, I have built libmysofa from their latest GitHub master and
now I can compile FFmpeg.

On Fri, 8 Mar 2019, 01:49 Lou Logan, <[hidden email]> wrote:

> On Thu, Mar 7, 2019, at 4:16 AM, Venkateswaran.S wrote:
> > Hi Team,
> >
> > I'm building FFmpeg from below github source.
> > https://github.com/FFmpeg/FFmpeg.git
> >
> > Configure script :
> > ./configure --enable-gpl --enable-version3 --disable-static
> --enable-shared
> > --enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
> > --enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
> > --enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
> > --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> > --enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
> > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> > --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
> > --enable-libopus --enable-libpulse --enable-librsvg
> --enable-librubberband
> > --enable-librtmp --enable-libshine --enable-libsmbclient
> --enable-libsnappy
> > --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
> > --enable-libtheora --enable-libtwolame --enable-libv4l2
> > --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
> > --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
> > --enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
> > --enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
> > --enable-opengl --enable-libdrm
>
> Why are you enabling so much stuff? Are you really going to use gsm,
> modplug, amr, etc? Seems like a waste of time and effort. Just enable what
> you need.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".