[Ambulant-users] compiling Ambulant player on Ubuntu

Federico Bruni brunology at email.it
Tue Aug 25 09:57:36 CEST 2009


Hi all,

I'm trying to compile the Ambulant player on Ubuntu, in my home directory.

I'm still in the 'third party packages' step and I'm stuck with ffmpeg
compile.

Below is the error I get when I type 'make': do you have any hint on
how to solve it?

I guess the error may be related to the fact I did not manage to
compile libfaad2 from source, so I installed the package in the ubuntu
repository.. but i guess it's not the same..

Thanks in advance, best regards

Federico

==============================================================================

libavcodec/utils.c: In function ‘avcodec_encode_audio’:
libavcodec/utils.c:851: warning: cast discards qualifiers from pointer
target type
libavcodec/utils.c: In function ‘avcodec_encode_video’:
libavcodec/utils.c:868: warning: cast discards qualifiers from pointer
target type
libavcodec/utils.c: In function ‘avcodec_encode_subtitle’:
libavcodec/utils.c:881: warning: cast discards qualifiers from pointer
target type
libavcodec/utils.c: In function ‘av_parse_video_frame_size’:
libavcodec/utils.c:1438: warning: cast discards qualifiers from
pointer target type
libavcodec/utils.c:1441: warning: cast discards qualifiers from
pointer target type
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_ISOC9X_SOURCE
-I"/home/fede/Software/ambulant-2.0.2/third_party_packages/ffmpeg"
-I"/home/fede/Software/ambulant-2.0.2/third_party_packages/ffmpeg"
-fomit-frame-pointer -g -Wdeclaration-after-statement -Wall
-Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -O3
-fno-math-errno -fno-signed-zeros       -c -o libavcodec/imgresample.o
libavcodec/imgresample.c
In file included from libavcodec/imgresample.c:157:
libavcodec/i386/mmx.h:24:2: warning: #warning Everything in this
header is deprecated, use plain asm()! New code using this header will
be rejected.
libavcodec/imgresample.c:362: warning: ‘ImgReSampleContext’ is deprecated
libavcodec/imgresample.c:429: warning: ‘ImgReSampleContext’ is deprecated
libavcodec/imgresample.c: In function ‘img_resample_init’:
libavcodec/imgresample.c:430: warning: ‘img_resample_full_init’ is
deprecated (declared at libavcodec/avcodec.h:2343)
libavcodec/imgresample.c: At top level:
libavcodec/imgresample.c:440: warning: ‘ImgReSampleContext’ is deprecated
libavcodec/imgresample.c: In function ‘img_resample_full_init’:
libavcodec/imgresample.c:441: warning: ‘ImgReSampleContext’ is deprecated
libavcodec/imgresample.c:446: warning: ‘ImgReSampleContext’ is deprecated
libavcodec/imgresample.c: At top level:
libavcodec/imgresample.c:487: warning: ‘ImgReSampleContext’ is deprecated
libavcodec/imgresample.c:509: warning: ‘ImgReSampleContext’ is deprecated
libavcodec/imgresample.c:522: error: conflicting types for
‘sws_getContext’
/home/fede/Software/ambulant-2.0.2/third_party_packages/ffmpeg/libswscale/swscale.h:130: 

error: previous declaration of ‘sws_getContext’ was here
libavcodec/imgresample.c: In function ‘sws_getContext’:
libavcodec/imgresample.c:541: warning: ‘img_resample_init’ is
deprecated (declared at libavcodec/imgresample.c:429)
libavcodec/imgresample.c:543: warning: ‘ImgReSampleContext’ is deprecated
libavcodec/imgresample.c: In function ‘sws_freeContext’:
libavcodec/imgresample.c:561: warning: ‘img_resample_close’ is
deprecated (declared at libavcodec/imgresample.c:510)
libavcodec/imgresample.c: At top level:
libavcodec/imgresample.c:579: error: conflicting types for
‘sws_getCachedContext’
/home/fede/Software/ambulant-2.0.2/third_party_packages/ffmpeg/libswscale/swscale.h:261: 

error: previous declaration of ‘sws_getCachedContext’ was here
libavcodec/imgresample.c: In function ‘sws_scale’:
libavcodec/imgresample.c:638: warning: ‘img_convert’ is deprecated
(declared at libavcodec/avcodec.h:2498)
libavcodec/imgresample.c:669: warning: ‘img_resample’ is deprecated
(declared at libavcodec/imgresample.c:489)
libavcodec/imgresample.c:677: warning: ‘img_convert’ is deprecated
(declared at libavcodec/avcodec.h:2498)
make: *** [libavcodec/imgresample.o] Error 1

 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Scegli Riccione Family Hotels per le vacanze con i tuoi bambini! Il meglio dell’offerta per famiglie, il massimo confort,prezzi vantaggiosi
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9446&d=25-8


More information about the Ambulant-users mailing list