gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] ffmpeg version for configure


From: ying lcs
Subject: Re: [Gnash-dev] ffmpeg version for configure
Date: Sun, 18 Feb 2007 15:04:25 -0600

Hi,

I am trying to compile gnash with ffmpeg.

I configure gnash with this:
./configure --with-ffmpeg-incl=/home/yinglcs/local/include/ffmpeg
--with-ffmpeg-lib=/home/yinglcs/local/lib

But I get this linker error:

rm -f .libs/gparserS.c .libs/gparser.nm .libs/gparser.nmS .libs/gparser.nmT
g++ -g -O2 -pthread -march=pentiumpro -W -Wall -Wcast-align
-Wcast-qual -Wpointer-arith -Wreturn-type -o .libs/gparser parser.o
.libs/gparserS.o -Wl,--export-dynamic  -L/usr/lib -L/usr/kerberos/lib
../server/.libs/libgnashserver.so -L/home/scheung/local/lib
/home/scheung/sandbox/gnash2/gnash/server/vm/.libs/libgnashvm.so
-lxml2 ../server/vm/.libs/libgnashvm.so
/home/scheung/sandbox/gnash2/gnash/libamf/.libs/libgnashamf.so
../libbase/.libs/libgnashbase.so ../libamf/.libs/libgnashamf.so
/home/scheung/sandbox/gnash2/gnash/libbase/.libs/libgnashbase.so
-ljpeg -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err
-lresolv /usr/lib/libidn.so -lssl -lcrypto -lz -lGL -lGLU -lpthread
/home/scheung/sandbox/gnash2/gnash/libltdl/.libs/libltdl.so
-lboost_thread -lvorbisenc -lvorbis -logg -lglib-2.0
../libltdl/.libs/libltdl.so -ldl -lrt -lX11 -lXi -lm
../server/.libs/libgnashserver.so: undefined reference to `av_read_frame'
../libbase/.libs/libgnashbase.so: undefined reference to `avcodec_init'
../server/.libs/libgnashserver.so: undefined reference to `av_find_stream_info'
../server/.libs/libgnashserver.so: undefined reference to
`av_alloc_format_context'
../server/.libs/libgnashserver.so: undefined reference to
`audio_resample_close'../server/.libs/libgnashserver.so: undefined
reference to `init_put_byte'
../server/.libs/libgnashserver.so: undefined reference to `avcodec_close'
../server/.libs/libgnashserver.so: undefined reference to `img_convert'
../server/.libs/libgnashserver.so: undefined reference to `av_seek_frame'
../server/.libs/libgnashserver.so: undefined reference to `audio_resample_init'
../server/.libs/libgnashserver.so: undefined reference to
`av_open_input_stream'../server/.libs/libgnashserver.so: undefined
reference to `av_register_all'
../server/.libs/libgnashserver.so: undefined reference to
`avcodec_find_decoder'../server/.libs/libgnashserver.so: undefined
reference to `av_probe_input_format'
../server/.libs/libgnashserver.so: undefined reference to `av_free'
../server/.libs/libgnashserver.so: undefined reference to
`avcodec_decode_audio'../server/.libs/libgnashserver.so: undefined
reference to `avcodec_decode_video'../server/.libs/libgnashserver.so:
undefined reference to `audio_resample'
../server/.libs/libgnashserver.so: undefined reference to `avpicture_fill'
../server/.libs/libgnashserver.so: undefined reference to `avpicture_get_size'
../server/.libs/libgnashserver.so: undefined reference to `av_close_input_file'
../server/.libs/libgnashserver.so: undefined reference to
`av_destruct_packet_nofree'
../server/.libs/libgnashserver.so: undefined reference to `avcodec_alloc_frame'
../libbase/.libs/libgnashbase.so: undefined reference to
`avcodec_alloc_context'../server/.libs/libgnashserver.so: undefined
reference to `avcodec_open'
../libbase/.libs/libgnashbase.so: undefined reference to `avcodec_register_all'
collect2: ld returned 1 exit status

How can I check if my ffmpeg version with the latest gnash?




On 2/9/07, Rob Savoye <address@hidden> wrote:
I just checked in a configure patch that checks for the version of
ffmpeg that installed, since tgc tells me we need to use a new build.
Currently the threshold is the existence or not of
avcodec_decode_audio2(). This appears in ffmpeg 51.29.0, (current cvs is
at 51.32.0) Right now I have it just printing a warning till this
threshold is firmly agreed on through testing, but eventually it'll be a
configuration error.

I'm not sure if requiring a cvs build of ffmpeg is a good thing, so it'd
be nice if Gnash could work with a slightly older packaged version.

        - rob -


_______________________________________________
Gnash-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnash-dev





reply via email to

[Prev in Thread] Current Thread [Next in Thread]