Another problem with ffmpeg I didn't have before: g++ -g -O2 -pg -pthread -march=pentiumpro -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wl,--as-needed -o PropertyListTest PropertyListTest.o ../../server/.libs/libgnashserver.a -L/usr/local/lib -L/usr/lib -L/extra/ffmpeg-20070409/lib /home/strk/src/gnash/build/head/gtk_agg_ffmpeg/libamf/.libs/libgnashamf.a /home/strk/src/gnash/build/head/gtk_agg_ffmpeg/libgeometry/.libs/libgnashgeo.a /usr/lib/libxml2.so ../../libbase/.libs/libgnashbase.a ../../libamf/.libs/libgnashamf.a /home/strk/src/gnash/build/head/gtk_agg_ffmpeg/libbase/.libs/libgnashbase.a /usr/lib/libjpeg.so /usr/local/lib/libcurl.so /usr/lib/libidn.so -lssl -lcrypto /home/strk/src/gnash/build/head/gtk_agg_ffmpeg/libbase/.libs/libltdl.a -lgsm -lboost_date_time -lboost_thread -lpthread /usr/lib/libvorbisenc.so -lavformat -lavcodec -ldts -lz -ldl /usr/lib/libvorbis.so -lavutil /usr/lib/libtheora.so /usr/lib/libogg.so -ldc1394_control -lrt -lX11 -lXi -lm ../../server/.libs/libgnashserver.a(NetStreamFfmpeg.o): In function `gnash::NetStreamFfmpeg::read_frame()':/home/strk/src/gnash/gnash-head/server/asobj/NetStreamFfmpeg.cpp:772: undefined reference to `avcodec_decode_audio2' ../../server/.libs/libgnashserver.a(SoundFfmpeg.o): In function `gnash::SoundFfmpeg::getAudio(void*, unsigned char*, int)':/home/strk/src/gnash/gnash-head/server/asobj/SoundFfmpeg.cpp:265: undefined reference to `avcodec_decode_audio2' /usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init': undefined reference to `vorbis_encode_init_vbr' /usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init': undefined reference to `vorbis_encode_init' /usr/lib/libavcodec.a(libgsm.o): In function `libgsm_init': undefined reference to `gsm_create' /usr/lib/libavcodec.a(libgsm.o): In function `libgsm_close': undefined reference to `gsm_destroy' /usr/lib/libavcodec.a(libgsm.o): In function `libgsm_encode_frame': undefined reference to `gsm_encode' /usr/lib/libavcodec.a(libgsm.o): In function `libgsm_decode_frame': undefined reference to `gsm_decode' collect2: ld returned 1 exit status
--strk; On Mon, May 14, 2007 at 05:54:00PM +0800, zou lunkai wrote: > On 5/14/07, strk <[EMAIL PROTECTED]> wrote: > >On Mon, May 14, 2007 at 05:42:48PM +0800, zou lunkai wrote: > >> On 5/14/07, strk <[EMAIL PROTECTED]> wrote: > >> >On Mon, May 14, 2007 at 04:22:27PM +0800, zou lunkai wrote: > >> >> "make" broke here. got output: > >> >> > >> >> In file included from embedVideoDecoderFfmpeg.cpp:25: > >> >> embedVideoDecoderFfmpeg.h:30:28: error: ffmpeg/avcodec.h: No such file > >> >> or directory > >> > > >> >.. > >> > > >> >> >- if test -f $i/ffmpeg/avformat.h; then > >> >> >+ if test -f !$i/ffmpeg/avformat.h; then > >> > > >> >Zou, can you try using : > >> > > >> >if ! test -f !$i/ffmpeg/avformat.h; then > >> > > >> >--strk; > >> > > >> I just revert the commit back, using "if test -f $i/ffmpeg/avformat.h; > >> then" > >> then works here. > > > >I suggest you just commit that. > > > Mm, I don't want to touch that , as I don't even understand what I that > means... > > > _______________________________________________ > Gnash-commit mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnash-commit -- () ASCII Ribbon Campaign /\ Keep it simple! _______________________________________________ Gnash-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-commit
