ffmpeg 4.0 and up configure failure

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ffmpeg 4.0 and up configure failure

Moocow9m Taliancich
I have been able to compile ffmpeg below 4.0 with no problem however when I
update to 4.0 or the latest git I get some configure errors. LOG:
https://pastebin.com/HqpCH5wv
I have removed a few lines from the log (once far away from the error) to
fit within the pasebin limit. I have the pkg-config variable pointed
towards the .pc files, and log seems to find it despite final message is
that it could not be found(It doesn't stop at the check but at a compile
test). It seems that one of the tests fail when it looks up vorbis.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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: ffmpeg 4.0 and up configure failure

Carl Eugen Hoyos-2
2018-06-06 18:06 GMT+02:00, Moocow9m Taliancich <[hidden email]>:
> I have been able to compile ffmpeg below 4.0 with no problem however when I
> update to 4.0 or the latest git I get some configure errors. LOG:
> https://pastebin.com/HqpCH5wv
> I have removed a few lines from the log (once far away from the error) to
> fit within the pasebin limit. I have the pkg-config variable pointed
> towards the .pc files, and log seems to find it despite final message is
> that it could not be found(It doesn't stop at the check but at a compile
> test). It seems that one of the tests fail when it looks up vorbis.

It fails with the link test for vorbis: "undefined reference to `oggpack_write'"
Either remove --enable-libvorbis from your configure line or find out how
to link the sample program manually:
   #include <vorbis/codec.h>
   #include <stdint.h>
   long check_vorbis_info_init(void) { return (long) vorbis_info_init; }
   int main(void) { int ret = 0;
    ret |= ((intptr_t)check_vorbis_info_init) & 0xFFFF;
   return ret; }

Or try --extra-ldflags=-logg

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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: ffmpeg 4.0 and up configure failure

Carl Eugen Hoyos-2
In reply to this post by Moocow9m Taliancich
2018-06-06 18:06 GMT+02:00, Moocow9m Taliancich <[hidden email]>:
> I have been able to compile ffmpeg below 4.0 with no problem

I should add that your configure line looks quite broken:
Afaict, you are compiling for MS Windows, the following
have no effect there:
--disable-vdpau
--disable-vaapi
--disable-libdc1394
--disable-securetransport
--disable-indev=avfoundation
--disable-indev=qtkit
--disable-videotoolbox
--disable-libxcb
--disable-xlib
--disable-audiotoolbox
--disable-cuvid
--disable-nvenc
--disable-indev=jack
--disable-indev=alsa
--disable-outdev=alsa

The following are the default and never have an effect:
--disable-libgsm
--disable-libspeex
--enable-zlib
--enable-stripping
--enable-runtime-cpudetect
--disable-librtmp
--disable-libopencore-amrnb
--disable-libopencore-amrwb
--disable-libdc1394
--enable-optimizations
--enable-ffplay
--disable-openssl
--disable-gnutls

The following are most likely a very bad idea:
--disable-sse
--disable-ssse3
(This is the most serious issue, all the above
make it so easy to miss.)

If you install (or move) all dependencies into one
directory, you could simplify your configure line
a lot.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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: ffmpeg 4.0 and up configure failure

Moocow9m Taliancich
In reply to this post by Moocow9m Taliancich
Never replied to a mailing list before so i hope I don't mess this up.
Anyways, I have altered the config to remove the unnassassary args, and put
a direct path to the ogg library, but to no avail. The thing is this same
setup worked with previous versions of ffmpeg, so for some reason the newer
ffmpeg is no longer linking to it in the same environment as the old ffmpeg
prior to 4.0. I have re-uploaded a new log(not that much changed... same
error, just shows that I have changed the config line and added a path to
the ogg lib) here: https://pastebin.com/RbtNT7jt
once again, most test prior to the error are removed for size limits.

On Wed, Jun 6, 2018 at 9:06 AM, Moocow9m Taliancich <[hidden email]>
wrote:

> I have been able to compile ffmpeg below 4.0 with no problem however when
> I update to 4.0 or the latest git I get some configure errors. LOG:
> https://pastebin.com/HqpCH5wv
> I have removed a few lines from the log (once far away from the error) to
> fit within the pasebin limit. I have the pkg-config variable pointed
> towards the .pc files, and log seems to find it despite final message is
> that it could not be found(It doesn't stop at the check but at a compile
> test). It seems that one of the tests fail when it looks up vorbis.
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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: ffmpeg 4.0 and up configure failure

Carl Eugen Hoyos-2
2018-06-07 19:17 GMT+02:00, Moocow9m Taliancich <[hidden email]>:
> Never replied to a mailing list before so i hope I don't mess this up.

You did, find out what top-posting means and don't do it.

> Anyways, I have altered the config to remove the unnassassary args,

That was a good idea to make debugging easier (and get faster
binaries).

> and put a direct path to the ogg library

That is not what I suggested.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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