dvdnav fails to compile in MingW

"Henry Garcia" <[email protected]> Sat, 7 Jun 2008 17:32:44 -0400
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
Compiler is about to finish up and then the following appears as the error
message:

  /usr/lib/live/UsageEnvironment/libUsageEnvironment.a
> /usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
> -lwinmm -lws2_32 -liconv -lpng -lz -ljpeg -lungif -Ld:/msys/1.0.1/mingw/lib
> -lfreetype -lz -lmad -ltheora -logg -ladvapi32 -lole32  -lstdc++ -lxvidcore
> -lm -lole32 -luuid  -ldl  -static -lm
> mplayer.o:mplayer.c:(.text+0x1069): undefined reference to
> `mp_dvdnav_get_spu_clut'
> mplayer.o:mplayer.c:(.text+0x563e): undefined reference to
> `mp_dvdnav_number_of_subs'
>

etc.
bunch of dvdnav messages

using ./configure --prefix=/opt/mplayer --enable static

Environment:
 MingW, gcc 3.4.5, Windows 2000

Subversion:
 SVN 27025