[FFmpeg-user] configure fails cross compiling ffmpeg to raspberry pi
James Darnley
james.darnley at gmail.com
Sat Jul 18 01:34:17 CEST 2015
On 2015-07-16 15:20, Linus S wrote:
> root at XeonLatitude-E6400:~/pi/ffmpeg#
> PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$PIBUILD/lib/pkgconfig CC=${CCPREFIX}gcc
> CXX=${CCPREFIX}g++ ./configure --enable-cross-compile
> --cross-prefix=${CCPREFIX} --arch=armel --target-os=linux --prefix=$PIBUILD
> --extra-cflags="-I$PIBUILD/include -I$PIUSR/include -fPIC"
> --extra-ldflags="-L$PIBUILD/lib -L$PIUSR/lib -fPIC" --enable-libfdk-aac
> --pkg-config=`which pkg-config`
> gcc is unable to create an executable file.
> C compiler test failed.
> # ./configure --enable-cross-compile --cross-prefix= --arch=armel
> --target-os=linux --prefix= --extra-cflags='-I/include -I/include -fPIC'
> --extra-ldflags='-L/lib -L/lib -fPIC' --enable-libfdk-aac
> --pkg-config=/usr/bin/pkg-config
> ALL_COMPONENTS='
PIBUILD appears to be undefined. CCPREFIX appears to be undefined.
PIUSR appears to be undefined. You really need to check your
environment or just type out the values.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150718/2c80b4b6/attachment.sig>
More information about the ffmpeg-user
mailing list