[vdr] Help building xine-lib-1.2 --with-external-ffmpeg

Stefan Ellenberger stefan_ell at hotmail.com
Wed Oct 1 16:52:47 CEST 2008


Thanks Niels, indeed this helped me as well.

Now I'm getting a HUGE amount of "undefined reference to av_log"

It starts browsing the ffmpeg source tree (where I built ffmpeg) for libav c files

here's the one that makes it quit:

/usr/local/lib/libpostproc.a(postprocess.o): In function `pp_get_mode_by_name_and_quality':
/usr/src/ffmpeg_12.09.2008_test/libpostproc/postprocess.c:758: undefined reference to `av_log'
/usr/src/ffmpeg_12.09.2008_test/libpostproc/postprocess.c:776: undefined reference to `av_log'
/usr/src/ffmpeg_12.09.2008_test/libpostproc/postprocess.c:787: undefined reference to `av_log'
/usr/src/ffmpeg_12.09.2008_test/libpostproc/postprocess.c:899: undefined reference to `av_log'
/usr/src/ffmpeg_12.09.2008_test/libpostproc/postprocess.c:901: undefined reference to `av_log'
/usr/local/lib/libpostproc.a(postprocess.o):/usr/src/ffmpeg_12.09.2008_test/libpostproc/postprocess.c:1067:
more undefined references to `av_log' follow
collect2: ld returned 1 exit status
make[3]: *** [xineplug_decode_ff.la] Fehler 1
make[3]: Verlasse Verzeichnis '/usr/src/xine-lib-1.2/src/combined/ffmpeg'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/usr/src/xine-lib-1.2/src/combined'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/usr/src/xine-lib-1.2/src'
make: *** [all-recursive] Fehler 1

You happen to know a way around this as well? Since you are using XUbuntu like I do you might
have experienced the same problem.

I don't hope it is getting any worse than that...

1. how many fixes in the code have been necessary until you (Niels) could run a save compile?
2. Could anyone point out what kind of developer libraries you installed in order to compile xine-lib savely?

I just added the minimum - meaning apt build dependencies for ffmpeg and xine-lib - this also covers all
of the libs listed in the sidux wiki (http://www.vdr-wiki.de/wiki/index.php/Sidux_VDR_DVB-S2#xine-lib)

> I did. Just edit /usr/src/xine-lib-1.2/src/audio_dec/Makefile. Look for
> -ldts_pic and add -lm after it. And now do a make again, it should now
> Niels Wagenaar


_________________________________________________________________
Die neue Generation der Windows Live Services - jetzt downloaden!
http://get.live.com


More information about the vdr mailing list