[x264-devel] Warning: gpac is too old, update to 2007-06-21 UTC or later

Jean-Baptiste Kempf jb at videolan.org
Mon Nov 24 15:06:09 CET 2014


On 24 Nov, Sérgio Basto wrote :
> On Dom, 2014-11-23 at 11:31 -1000, E R wrote: 
> > Hi,
> > 
> > I'm trying to get x264 to compile in gpac support (mp4), and I've
> > tried 3 different versions of gpac with no success, as well as 2
> > different snapshot versions of x264.
> > 
> > I'm not sure what's going on, but was told to add in ldflags for -lssl
> > and -lcrypto, so I added them like this to the ./configure options but
> > they didn't work;
> > 
> > --extra-ldflags="-lssl -lcrypto"
> > 
> > I'm attaching the config.log which shows some errors.
> 
> A new major version of gcc, force declare all libs, in rpmfusion we use
> the patch in attach.
> 
> 
> -- 
> Sérgio M. B.

> --- x264-0.140-20140122-de0bc36/configure.orig	2014-01-22 23:26:55.922650888 +0000
> +++ x264-0.140-20140122-de0bc36/configure	2014-02-24 02:35:19.263127505 +0000
> @@ -941,7 +941,9 @@
>  if [ "$gpac" = "auto" -a "$lsmash" != "yes" ] ; then
>      gpac="no"
>      GPAC_LIBS="-lgpac_static"
> -    cc_check "" -lz && GPAC_LIBS="$GPAC_LIBS -lz"
> +    for lib in -lz -lssl -lcrypto -lpng -ljpeg; do
> +        cc_check "" $lib && GPAC_LIBS="$GPAC_LIBS $lib"
> +    done
>      if [ "$SYS" = "WINDOWS" ] ; then
>          cc_check "" -lws2_32 && GPAC_LIBS="$GPAC_LIBS -lws2_32"
>          cc_check "" -lwinmm && GPAC_LIBS="$GPAC_LIBS -lwinmm"


Patch still violate the GPL, if there is no check about SSL vs x264.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the x264-devel mailing list