[MPlayer-users] libmpdemux/asf_mmst_streaming.c compilation problem
D Richard Felker III
dalias at aerifal.cx
Mon Nov 3 06:33:55 CET 2003
On Sun, Nov 02, 2003 at 08:51:07PM -0800, Steven M. Schultz wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
> On Sun, 2 Nov 2003, Steven M. Schultz wrote:
>
> > cc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I../loader -o asf_mmst_streaming.o asf_mmst_streaming.c
> > asf_mmst_streaming.c:27: langinfo.h: No such file or directory
> > asf_mmst_streaming.c: In function `string_utf16_open':
> > asf_mmst_streaming.c:117: `CODESET' undeclared (first use in this function)
> > asf_mmst_streaming.c:117: (Each undeclared identifier is reported only once
> >
> > For now I'll just add '--disable-iconv' to the options used but it
> > might be a good idea to adjust the iconv autodetect logic if there is
> > a minimum version required.
>
> Adding --disable-iconv gets everything compiled but there are
> undefined symbols at link time.
That's because you didn't make clean after rerunning configure, or
something. I compile with --enable-freetype and --disable-iconv all
the time!
>
> font_load_ft.o(.text+0x1a4b): undefined reference to `libiconv_open'
> font_load_ft.o(.text+0x1a6c): undefined reference to `libiconv_close'
> font_load_ft.o(.text+0x1a76): undefined reference to `libiconv_open'
> font_load_ft.o(.text+0x1b08): undefined reference to `libiconv'
> font_load_ft.o(.text+0x1b7a): undefined reference to `libiconv_close'
> gmake: *** [mplayer] Error 1
>
> Thus --disable-iconv implies --disable-freetype. A trivial
> patch to do this is below. It was easier to change ./configure
> than modify font_load_ft.c to not use iconv() ;)
>
> --- configure.dist Sun Nov 2 20:20:21 2003
> +++ configure Sun Nov 2 20:45:33 2003
> @@ -1258,7 +1258,8 @@
> --enable-dxr3) _dxr3=yes ;;
> --disable-dxr3) _dxr3=no ;;
> --enable-iconv) _iconv=yes ;;
> - --disable-iconv) _iconv=no ;;
> + --disable-iconv) _iconv=no
> + _freetype=no ;;
NOT acceptable!
Rich
More information about the MPlayer-users
mailing list