[FFmpeg-user] Issue Crossbuilding ffplay with openembedded

Rickoo natural_groove at hotmail.fr
Fri Jul 11 09:55:03 CEST 2014


HI,

Im using 2.1.1 of ffmpeg because I want to use it as a depend to crossbuild a framework based on it, and tested with this version, might work with recent version but since i dont know...

About the configure options, im not sure yet which libs i am going to need for my application later so i just added some. (and i wasnt sure about the -ldl option, just saw this on a website).

Config.log:

check_pkg_config sdl SDL_events.h SDL_PollEvent
check_func_headers SDL_events.h SDL_PollEvent -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL -lSDL -lpthread
check_ld -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL -lSDL -lpthread
check_cc -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL
BEGIN /tmp/ffconf.YeF7ECNp.c
    1   #include <SDL_events.h>
    2   long check_SDL_PollEvent(void) { return (long) SDL_PollEvent; }
    3   int main(void) { return 0; }
END /tmp/ffconf.YeF7ECNp.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math -std=c99 -fomit-frame-pointer -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL -c -o /tmp/ffconf.Qo9SVBpU.o /tmp/ffconf.YeF7ECNp.c
gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--as-needed -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL -o /tmp/ffconf.6kZFTZ8k /tmp/ffconf.Qo9SVBpU.o -lSDL -lpthread -lm -pthread -lz
check_cpp_condition SDL.h (SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201 -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL
check_cpp -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL
BEGIN /tmp/ffconf.YeF7ECNp.c
    1   #include <SDL.h>
    2   #if !((SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201)
    3   #error "unsatisfied condition: (SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201"
N<<8 | SDL_PATCHLEVEL) >= 0x010201"
    4   #endif
END /tmp/ffconf.YeF7ECNp.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math -std=c99 -fomit-frame-pointer -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL -E -o /tmp/ffconf.Qo9SVBpU.o /tmp/ffconf.YeF7ECNp.c
check_type SDL.h SDL_VideoInfo current_w -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL
check_code cc SDL.h const void *p = &((SDL_VideoInfo *)0)->current_w -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL
check_cc -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL
BEGIN /tmp/ffconf.YeF7ECNp.c
    1   #include <SDL.h>
    2   int main(void) { const void *p = &((SDL_VideoInfo *)0)->current_w; return 0; }
n 0; }
END /tmp/ffconf.YeF7ECNp.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math -std=c99 -fomit-frame-pointer -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20/usr/include/SDL -c -o /tmp/ffconf.Qo9SVBpU.o /tmp/ffconf.YeF7ECNp.c
check_header linux/fb.h
check_cpp
BEGIN /tmp/ffconf.YeF7ECNp.c
    1   #include <linux/fb.h>
    2   int x;
END /tmp/ffconf.YeF7ECNp.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.Qo9SVBpU.o /tmp/ffconf.YeF7ECNp.c
check_header linux/videodev2.h
check_cpp

Regards
Ricko
Date: Fri, 11 Jul 2014 00:02:30 -0700
From: ml-node+s933282n4666304h20 at n4.nabble.com
To: natural_groove at hotmail.fr
Subject: Re: Issue Crossbuilding ffplay with openembedded



	Rickoo <natural_groove <at> hotmail.fr> writes:


> SRC_URI = "https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz"


This is horribly outdated, why are you using it?


> DEPENDS = "yasm-native libsdl libx11 zlib libtheora 

> libogg libass libtool"


You don't use libass, why did you add it to depend?

Not sure about libx11...


> EXTRA_OECONF = "--arch=arm --enable-cross-compile

> --cross-prefix=${CROSS_COMPILE} --target-os=linux


> --enable-gpl


Unrelated: None of your external libraries need 

--enable-gpl why are you using it?


> --enable-libtheora --enable-libvorbis 


> --extra-libs="-ldl" 


Why is this necessary?

Is there a bug that (is reproducible with current git head 

and that) we should fix?


> --enable-ffplay


This is useless, it is the default (and as you found 

out, configure does not warn about it).

Please remove it.


Please post the content of config.log starting with 

"check_pkg_config sdl" until "check_header linux" or 

"check_header sys".


Carl Eugen


_______________________________________________

ffmpeg-user mailing list

[hidden email]

http://ffmpeg.org/mailman/listinfo/ffmpeg-user


	
	
	
	

	

	
	
		If you reply to this email, your message will be added to the discussion below:
		http://ffmpeg-users.933282.n4.nabble.com/Issue-Crossbuilding-ffplay-with-openembedded-tp4666284p4666304.html
	
	
		
		To unsubscribe from Issue Crossbuilding ffplay with openembedded, click here.

		NAML


	 		 	   		  



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Issue-Crossbuilding-ffplay-with-openembedded-tp4666284p4666308.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list