Olá Frederico,

o erro continua com os  dois arquivos ainda:

idirectfbvideoprovider_ffmpeg.
c:65:29: error: ffmpeg/avformat.h: *No such file or directory*
idirectfbvideoprovider_ffmpeg.c:66:28: error: ffmpeg/avcodec.h: *No such
file or directory*


Abraços

Eli Rigobeli



On Thu, May 13, 2010 at 3:13 PM, Frederico Martins <fred...@gmail.com>wrote:

> Oi pessoal ,
> Boa Tarde !!
>
> Estou com um problema quando vou compilar o directfb-extra , tenho que
> ativar o ffmpeg e o xine
>
> $ ./configure --enable-xine --enable-ffmpeg
> $ make
>
> .
> .Making all in IDirectFBVideoProvider
> make[3]: Entrando no diretório
> `/home/ativa/settopbox/pre_requisitos/DirectFB-extra-1.0.0/interfaces/IDirectFBVideoProvider'
> Making all in video_out_dfb
> make[4]: Entrando no diretório
> `/home/ativa/settopbox/pre_requisitos/DirectFB-extra-1.0.0/interfaces/IDirectFBVideoProvider/video_out_dfb'
> make[4]: Nada a ser feito para `all'.
> make[4]: Saindo do diretório
> `/home/ativa/settopbox/pre_requisitos/DirectFB-extra-1.0.0/interfaces/IDirectFBVideoProvider/video_out_dfb'
> make[4]: Entrando no diretório
> `/home/ativa/settopbox/pre_requisitos/DirectFB-extra-1.0.0/interfaces/IDirectFBVideoProvider'
> if /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I../.. -D_REENTRANT -I/usr/local/include/directfb   -D_GNU_SOURCE
> -D_REENTRANT -I/usr/local/include/directfb-internal
> -I/usr/local/include/directfb   -DREENTRANT -O3 -fexpensive-optimizations
> -ffast-math -Wall -g0 -I../../lib/dvc  -I/usr/local/include
> -I/usr/local/include    -DDATADIR=\"/usr/local/share/directfb\"   -g -O2
> -Werror-implicit-function-declaration -MT idirectfbvideoprovider_ffmpeg.lo
> -MD -MP -MF ".deps/idirectfbvideoprovider_ffmpeg.Tpo" -c -o
> idirectfbvideoprovider_ffmpeg.lo idirectfbvideoprovider_ffmpeg.c; \
>     then mv -f ".deps/idirectfbvideoprovider_ffmpeg.Tpo"
> ".deps/idirectfbvideoprovider_ffmpeg.Plo"; else rm -f
> ".deps/idirectfbvideoprovider_ffmpeg.Tpo"; exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT
> -I/usr/local/include/directfb -D_GNU_SOURCE -D_REENTRANT
> -I/usr/local/include/directfb-internal -I/usr/local/include/directfb
> -DREENTRANT -O3 -fexpensive-optimizations -ffast-math -Wall -g0
> -I../../lib/dvc -I/usr/local/include -I/usr/local/include
> -DDATADIR=\"/usr/local/share/directfb\" -g -O2
> -Werror-implicit-function-declaration -MT idirectfbvideoprovider_ffmpeg.lo
> -MD -MP -MF .deps/idirectfbvideoprovider_ffmpeg.Tpo -c
> idirectfbvideoprovider_ffmpeg.c  -fPIC -DPIC -o
> .libs/idirectfbvideoprovider_ffmpeg.o
> idirectfbvideoprovider_ffmpeg.c:65:29: error: ffmpeg/avformat.h: No such
> file or directory
> idirectfbvideoprovider_ffmpeg.c:66:28: error: ffmpeg/avcodec.h: No such
> file or directory
> idirectfbvideoprovider_ffmpeg.c:226: error: expected '=', ',', ';', 'asm'
> or '__attribute__' before 'av_seek_callback'
> idirectfbvideoprovider_ffmpeg.c: In function 'FFmpegInput':
> idirectfbvideoprovider_ffmpeg.c:382: warning: passing argument 1 of
> 'url_is_streamed' from incompatible pointer type
> /usr/local/include/avio.h:316: note: expected 'struct ByteIOContext *' but
> argument is of type 'struct ByteIOContext **'
> idirectfbvideoprovider_ffmpeg.c:404: warning: passing argument 1 of
> 'url_is_streamed' from incompatible pointer type
> /usr/local/include/avio.h:316: note: expected 'struct ByteIOContext *' but
> argument is of type 'struct ByteIOContext **'
> idirectfbvideoprovider_ffmpeg.c:440: warning: passing argument 1 of
> 'url_is_streamed' from incompatible pointer type
> /usr/local/include/avio.h:316: note: expected 'struct ByteIOContext *' but
> argument is of type 'struct ByteIOContext **'
> idirectfbvideoprovider_ffmpeg.c:448: warning: passing argument 1 of
> 'url_feof' from incompatible pointer type
> /usr/local/include/avio.h:260: note: expected 'struct ByteIOContext *' but
> argument is of type 'struct ByteIOContext **'
> idirectfbvideoprovider_ffmpeg.c: In function
> 'IDirectFBVideoProvider_FFmpeg_GetStreamDescription':
> idirectfbvideoprovider_ffmpeg.c:930: warning: format not a string literal
> and no format arguments
> idirectfbvideoprovider_ffmpeg.c:930: warning: format not a string literal
> and no format arguments
> idirectfbvideoprovider_ffmpeg.c:941: warning: format not a string literal
> and no format arguments
> idirectfbvideoprovider_ffmpeg.c:941: warning: format not a string literal
> and no format arguments
> idirectfbvideoprovider_ffmpeg.c:948: warning: format not a string literal
> and no format arguments
> idirectfbvideoprovider_ffmpeg.c:948: warning: format not a string literal
> and no format arguments
> idirectfbvideoprovider_ffmpeg.c:950: warning: format not a string literal
> and no format arguments
> idirectfbvideoprovider_ffmpeg.c:956: warning: format not a string literal
> and no format arguments
> idirectfbvideoprovider_ffmpeg.c: In function 'Probe':
> idirectfbvideoprovider_ffmpeg.c:1338: warning: pointer targets in passing
> argument 5 of 'buffer->PeekData' differ in signedness
> idirectfbvideoprovider_ffmpeg.c:1338: note: expected 'unsigned int *' but
> argument is of type 'int *'
> idirectfbvideoprovider_ffmpeg.c: In function 'Construct':
> idirectfbvideoprovider_ffmpeg.c:1398: warning: pointer targets in passing
> argument 5 of 'buffer->PeekData' differ in signedness
> idirectfbvideoprovider_ffmpeg.c:1398: note: expected 'unsigned int *' but
> argument is of type 'int *'
> idirectfbvideoprovider_ffmpeg.c:1420: error: 'av_seek_callback' undeclared
> (first use in this function)
> idirectfbvideoprovider_ffmpeg.c:1420: error: (Each undeclared identifier is
> reported only once
> idirectfbvideoprovider_ffmpeg.c:1420: error: for each function it appears
> in.)
> make[4]: ** [idirectfbvideoprovider_ffmpeg.lo] Erro 1
> make[4]: Saindo do diretório
> `/home/ativa/settopbox/pre_requisitos/DirectFB-extra-1.0.0/interfaces/IDirectFBVideoProvider'
> make[3]: ** [all-recursive] Erro 1
> make[3]: Saindo do diretório
> `/home/ativa/settopbox/pre_requisitos/DirectFB-extra-1.0.0/interfaces/IDirectFBVideoProvider'
> make[2]: ** [all-recursive] Erro 1
> make[2]: Saindo do diretório
> `/home/ativa/settopbox/pre_requisitos/DirectFB-extra-1.0.0/interfaces'
> make[1]: ** [all-recursive] Erro 1
> make[1]: Saindo do diretório
> `/home/ativa/settopbox/pre_requisitos/DirectFB-extra-1.0.0'
> make: ** [all] Erro 2
>
>
> Antes tinha dado problemas a respeito dos includes <avcodec.h> e
> <avformat.h>  não estavam sendo encontrados , esse consegui corrigir ..
> porém esses outros erros ainda permanecem.
> Alguém sabe o que pode ser?
>
>
> Desde já agradeço
>
>
> att
>
>
> --
> Frederico Martins P Junior
>
>       fredim.wordpress.com
>
>

Responder a