[FFmpeg-user] Problem Compiling ffmpeg

Alexander.Achleitner at zf.com Alexander.Achleitner at zf.com
Wed Apr 2 10:55:18 CEST 2014


Hi Carl,

thank you for your reply. Setting to arm is much better. I tried the other, as I didn't know
the correct one.

Now the make stops at another step. Can you help me again please.
Linux is not my top development environment.


./configure --enable-cross-compile --cc=arm-cortexa8-linux-gnueabihf-gcc --cxx=arm-cortexa8-linux-gnueabihf-gcc  --as=arm-cortexa8-linux-gnueabihf-gcc  --arch=arm --target-os=linux



 make V=1
arm-cortexa8-linux-gnueabihf-gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -march=armv7-a -std=c99 -fomit-frame-pointer -marm -pthread -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wno-maybe-uninitialized   -MMD -MF ffprobe.d -MT ffprobe.o -c -o ffprobe.o ffprobe.c
arm-cortexa8-linux-gnueabihf-gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample  -o ffprobe_g cmdutils.o ffprobe.o   -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -lasound -lm -lz -pthread -lrt  
cp -p ffprobe_g ffprobe
strip ffprobe
strip: Unable to recognise the format of the input file `ffprobe'
make: *** [ffprobe] Error 1

phycore at phycore-VirtualBox:~/Desktop/zfas/EnvironmentSet/ffmpeg-2.2$ make V=1
arm-cortexa8-linux-gnueabihf-gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -march=armv7-a -std=c99 -fomit-frame-pointer -marm -pthread -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wno-maybe-uninitialized   -MMD -MF ffserver.d -MT ffserver.o -c -o ffserver.o ffserver.c
arm-cortexa8-linux-gnueabihf-gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample  -o ffserver_g cmdutils.o ffserver.o   -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -lasound -lm -lz -pthread -lrt  
cp -p ffserver_g ffserver
strip ffserver
strip: Unable to recognise the format of the input file `ffserver'
make: *** [ffserver] Error 1
phycore at phycore-VirtualBox:~/Desktop/zfas/EnvironmentSet/ffmpeg-2.2$ 



Yours sincerely,


Alexander Achleitner



-----Ursprüngliche Nachricht-----
Von: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] Im Auftrag von Carl Eugen Hoyos
Gesendet: Dienstag, 1. April 2014 23:27
An: ffmpeg-user at ffmpeg.org
Betreff: Re: [FFmpeg-user] Problem Compiling ffmpeg

 <Alexander.Achleitner <at> zf.com> writes:

> One Error message is
> "...
> AR   libavdevice/libavdevice.a
> Sorry  -  this program has been built wihout plugin support "

For build problems, please run "make V=1" twice and post the complete, uncut output of the second run here.
But see below first.

> Configuration was,
> ./configure -enable-cross-compile

(Your configure line looks as if it would not work, are you sure that you posted it correctly?)

> -cc=arm-cortexa8-linux-gnueabihf-gcc

> --cxx=arm-cortexa8-linux-gnueabihf-gcc

Is this needed?

> --as=arm-cortexa8-linux-gnueabihf-gcc

This should not be needed.

> --ar=arm-cortexa8-linux-gnueabihf-gcc

This looks like the cause for your problem above.

> --arch=armel

"arm" should be enough.

> --target-os=linux

Isn't --cross-prefix what you are looking for?

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list