ffmpeg build error

323 views
Skip to first unread message

Rachit Shah

unread,
Jan 20, 2010, 8:16:51 AM1/20/10
to Beagle Board
Hello,

I have tried to configure and build FFmpeg from source ffmpeg-0.5
version.

I have did make disclean before configuration.
configuration option is as per below:
"./configure --prefix=/home/Rachit/Developments/ffmpeg/ --enable-cross-
compile --cc="arm-none-linux-gnueabi-gcc" --host-cflags="-O3 -pipe -
march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-
vectorize -ffast-math" --arch=arm --cpu=cortex-a8"

it has configured successfully then I did "make"

So After few building process I got following error:
cp -p ffmpeg_g ffmpeg
strip ffmpeg
strip: Unable to recognise the format of the input file `ffmpeg'
make: *** [ffmpeg] Error 1

How to solve this error?

I have also tried with 'bitbake ffmpeg" and it has successfully
created package.
Actually I am looking to build application which require libavcodec
and libavformat lib. So I am looking to build FFmpeg.
Please guide if i am looking wrong path.


Thanks,
Rachit

Måns Rullgård

unread,
Jan 20, 2010, 8:32:30 AM1/20/10
to beagl...@googlegroups.com
Rachit Shah <rach...@gmail.com> writes:

> Hello,
>
> I have tried to configure and build FFmpeg from source ffmpeg-0.5
> version.
>
> I have did make disclean before configuration.
> configuration option is as per below:
> "./configure --prefix=/home/Rachit/Developments/ffmpeg/ --enable-cross-
> compile --cc="arm-none-linux-gnueabi-gcc" --host-cflags="-O3 -pipe -
> march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-
> vectorize -ffast-math" --arch=arm --cpu=cortex-a8"

You should run it like this:

./configure --prefix=/home/Rachit/Developments/ffmpeg/ --cross-prefix=arm-none-linux-gnueabi- --extra-cflags="-mfpu=neon -mfloat-abi=softfp" --arch=arm --cpu=cortex-a8

--
Måns Rullgård
ma...@mansr.com

Reply all
Reply to author
Forward
0 new messages