[FFmpeg-user] compiling with libx265

tim nicholson nichot20 at yahoo.com
Mon Dec 1 17:46:36 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/12/14 16:09, Nicolas George wrote:
> Le primidi 11 frimaire, an CCXXIII, tim nicholson a écrit :
>> Whilst acknowledging that this patch works (thanks), I am trying to
>> understand why package config is failing in this case,
> 
> I just tested on a fresh clone of x265 and current Debian Testing, and it
> works.
> 
> If it still does not work for you, I suggest you post the exact linking
> commands, the one that fails and the one that succeeds with the workaround.
> 

well originally its not so much the linking that fails, as failing to
include libstdc++ so configure tests failing to compile, as per my
original snippet.

gcc -L/usr/local/lib64 -static -ldl -Wl,--as-needed -Wl,-z,noexecstack
- -I/usr/local/include -L/usr/local/lib64 -o /tmp/ffconf.QTquSvyv
/tmp/ffconf.1n1Ue3xn.o -lx265 -L/usr/local/lib64 -lx264 -lpthread -lm
- -L/usr/local/lib64 -lfreetype -lfdk-aac
- -lfaac -lm -lz -pthread
/usr/local/lib64/libx265.a(bitcost.cpp.o): In function
`x265::BitCost::CalculateLogs()':
bitcost.cpp:(.text+0x26): undefined reference to `operator
new[](unsigned long)'

as oppsoed to:-

gcc -L/usr/local/lib64 -static -ldl -Wl,--as-needed -Wl,-z,noexecstack
- -o /tmp/ffconf.ilO1iAil /tmp/ffconf.ciiYw0OX.o -lx265 -lstdc++
- -L/usr/local/lib64 -lx264 -lpthread -lm -L/usr/local/lib64 -lfreetype
- -lfdk-aac -lfaac -lm -lz -pthread



> Regards,
> [..]
- -- 
Tim.
Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUfJtsAAoJEAwL/ESLC/yDcNkIALYakwsRRKof/576t/sKsfAC
+Iy5r2ZZ0WmMOEdm1Acrvu7BnH9AcJkLvCsuJC5FAr3Ge81Vj5uRq8GLZkhEaoZq
QhMsmaEfra3nZFDxE618BZbalZGYxNkQsyHXZKIdvh0uV0EICNkBLdbxGRbuTJ9c
yBmSGlkRUAcxIIfOx7vU7//M1KjwPLgcXeSJT7mkSjH8Knn/qZqKWN69V9XOQEXL
LvItwCEIFfQ755vg5jgqxeeJgGfTzLwLY8Dg6g++w/AxylYkhb/hPscJrk69FBBF
RZtqpKwJAUoL7or9vK5HcWsOxCwSnYmdCpKtTiOAcjSKKZocdpaAh8C8kKMo/Wk=
=go8W
-----END PGP SIGNATURE-----


More information about the ffmpeg-user mailing list