[MPlayer-users] libmpdemux/asf_mmst_streaming.c compilation problem

Steven M. Schultz sms at 2BSD.COM
Mon Nov 3 05:31:03 CET 2003


Hi!

	What version of 'iconv' needs to be installed for compilation of
	libmpdemux/asf_mmst_streaming.c?

	I do have iconv installed (granted an older version at 1.8 I believe)
	but that's not sufficient.    The check in ./configure for iconv()
	is succeeding and USE_ICONV is set but the compilation fails with:

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
asf_mmst_streaming.c:117: for each function it appears in.)
asf_mmst_streaming.c:117: warning: passing arg 2 of `libiconv_open' makes pointer from integer without a cast
asf_mmst_streaming.c: In function `string_utf16':
asf_mmst_streaming.c:133: warning: passing arg 2 of `libiconv' from incompatible pointer type
gmake[1]: *** [asf_mmst_streaming.o] Error 1

	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.

	Cheers,
	Steven Schultz



More information about the MPlayer-users mailing list