[Libav-user] Cross compile ffmpeg

José Eduardo S. C. Xavier josescxavier at gmail.com
Thu Dec 24 23:10:19 CET 2015


Hello,

I'm trying to cross compile ffmpeg on a ubuntu x64 host to run on rpi
target. I have sysroot from rpi synced in my host.

target files on host tree: http://pastebin.com/CAZGFjUL

smbclient is install on RPi:

*pi at raspberrypi:~ $ pkg-config --modversion smbclient*
*0.2.1*

smbclient files on host:

*ze at ze-MacBookPro:~/raspi/sysroot$ sudo find . -name "*smbclient.*"*
*./usr/include/samba-4.0/libsmbclient.h*
*./usr/lib/arm-linux-gnueabihf/libsmbclient.so.0*
*./usr/lib/arm-linux-gnueabihf/libsmbclient.so.0.2.1*
*./usr/lib/arm-linux-gnueabihf/libsmbclient.so*
*./usr/lib/arm-linux-gnueabihf/pkgconfig/smbclient.pc*

When I do ./configure on ffmpeg src folder it says it can't find
libsmbclient.h. Looking on config.log file it looks like pkg-config is
looking for host package instead of target package.

You can take a look at the config.log here:

http://pastebin.com/LqHuea74

Thank you,
Jose Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20151224/bd240a50/attachment.html>


More information about the Libav-user mailing list