[FFmpeg-user] ffmpeg cross-compile
Tobias Rapp
t.rapp at noa-archive.com
Mon May 14 17:12:29 EEST 2018
On 14.05.2018 15:33, Moritz Barsnick wrote:
> On Mon, May 14, 2018 at 12:28:13 +0200, Thomas Schmiedl wrote:
>> I'm only an end-user, maybe someone could help me?
>
> Perhaps someone at the freetz site?
>
>> I got this error: 'ERROR: libxml-2.0 not found using pkg-config'. But
>> the freetz-toolchain does not contain pkg-config. Is it possible to use
>> pkg-config from the Debian 9 host system?
>
> Hmm, this file from freetz at least mentions the pkg-config file:
> https://github.com/Freetz/freetz/blob/c763e9066d06d21bcd815e15b3f8fa494b3b2007/make/libs/libxml2/libxml2.mk
>
> But yes, if you know hwo pkg-config works, you can easily "fake" a
> libxml-2.0.pc file and have ffmpeg use it.
>
>> When calling ffmpeg's configure without '--enable-libxml2', there is no
>> pkg-config error. But a warning: 'mips-linux-pkg-config not found,
>> library detection may fail.'
>
> Hmm, that means you don't have a pkg-config tool for cross build
> either? I would also fake this, but there may be a better way.
On Ubuntu there is a package "pkg-config-mips-linux-gnu" which provides
/usr/bin/mips-linux-gnu-pkg-config (actually just a symlink to
/usr/share/pkg-config-crosswrapper). Don't know how this is handled on
Debian.
Regards,
Tobias
More information about the ffmpeg-user
mailing list