[MPlayer-users] Mplayer compilation errata

Nick Andrew nick at nick-andrew.net
Sun Aug 28 01:15:05 CEST 2011


I checked out the latest mplayer source from git today (no tags,
commit a5413c58dbc86a914ffd112e5217e77b3a846152 ).

./configure worked OK and it said it is using internal libdvdread.

Make failed with unable to find <dvdread/dvd_reader.h>

So I installed package libdvdread-dev and configured and ran 'make'
again, now it fails at link stage, with:

	cc -o mplayer command.o m_property.o mixer.o [etc ...]
	cc: libdvdnav/dvdnav.o: No such file or directory
	cc: libdvdnav/highlight.o: No such file or directory
	cc: libdvdnav/navigation.o: No such file or directory
	cc: libdvdnav/read_cache.o: No such file or directory
	cc: libdvdnav/remap.o: No such file or directory
	cc: libdvdnav/searching.o: No such file or directory
	cc: libdvdnav/settings.o: No such file or directory
	cc: libdvdnav/vm/decoder.o: No such file or directory
	cc: libdvdnav/vm/vm.o: No such file or directory
	cc: libdvdnav/vm/vmcmd.o: No such file or directory
	cc: libdvdread4/bitreader.o: No such file or directory
	cc: libdvdread4/dvd_input.o: No such file or directory
	cc: libdvdread4/dvd_reader.o: No such file or directory
	cc: libdvdread4/dvd_udf.o: No such file or directory
	cc: libdvdread4/ifo_print.o: No such file or directory
	cc: libdvdread4/ifo_read.o: No such file or directory
	cc: libdvdread4/md5.o: No such file or directory
	cc: libdvdread4/nav_print.o: No such file or directory
	cc: libdvdread4/nav_read.o: No such file or directory
	make: *** [mplayer] Error 1

I guess the problem is that libdvdnav and libdvdread4 are also considered
"internal" and so need to be checked out in subdirectories, but configure
does not do this, unlike how it clones git ffmpeg.

config.log shows:

	============ Checking for DVD support (libdvdnav) ============
	Result is: yes (internal)

Nick.
-- 
PGP Key ID = 0x418487E7                      http://www.nick-andrew.net/
PGP Key fingerprint = B3ED 6894 8E49 1770 C24A  67E3 6266 6EB9 4184 87E7


More information about the MPlayer-users mailing list