[MPlayer-cygwin] Re: mplayer configuration error

Frank Aurich fa859178 at inf.tu-dresden.de
Wed Jun 14 08:57:24 CEST 2006


Somnath Banerjee wrote:
> Hi,
> 
>   I'm trying to install mplayer on Windows using cygwin. but the
> ./configure is giving the following error. Any help in making it work will
> be greatly appreciated.
> 
> Thanks,
> Somnath
> 
> ============================================================================== 
> 
> 
> $ ./configure --enable-static --enable-debug --enable-profile
> --disable-mencode
> r --disable-tv
> --with-livelibdir=/home/Administrator/mplayer/thirdpartybin/live
> --with-codecsdir=/usr/local/codecs
> Detected operating system: CYGWIN
> Detected host architecture: i386
> Checking for cc version ... 3.4.4, ok
> Checking for host cc ... cc
> Checking for cross compilation ... no
> Checking for CPU vendor ... GenuineIntel (6:13:6)
> Checking for CPU type ...          Intel(R) Pentium(R) M processor 1.60GHz
> Checking for GCC & CPU optimization abilities ... pentium-m
> Checking for kernel support of mmx ... yes
> Checking for kernel support of mmxext ... yes
> Checking for kernel support of sse ... yes
> Checking for kernel support of sse2 ... yes
> Checking for mtrr support ... yes
> Checking for xmmintrin.h ... yes
> Checking for assembler support of -pipe option ... yes
> Checking for assembler
> (/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cy
> gwin/bin/as.exe 2.16.91) ... ok
> Checking for MPlayer binary name ... mplayer.exe
> Checking for awk ... gawk
> Checking for extra headers ... none
> Checking for extra libs ... none
> Checking for -lposix ... no
> Checking for -lm ... no
> Checking for langinfo ... no
> Checking for language ... using en (man pages:  en)
> Checking for enable sighandler ... yes
> Checking for runtime cpudetection ... no
> Checking for restrict keyword ... none
> Checking for __builtin_expect ... no
> Checking for kstat ... no
> Checking for posix4 ... no
> Checking for lrintf ... no
> Checking for round ... no
> Checking for nanosleep ... no
> Checking for socklib ... no
> Checking for inet_pton() ... no (trying inet_aton next)
> Checking for inet_aton() ... no (network support disabled)
> Checking for inttypes.h (required) ... no
> Checking for bitypes.h (inttypes.h predecessor) ...
> Error: Cannot find header either inttypes.h or bitypes.h (see
> DOCS/HTML/en/faq.h
> tml).
> 
> Check "configure.log" if you do not understand why it failed.
> 
> ==================================================================================== 
> 
> 
> The content of configure.log is like following
> 
> 
> 
> ============ Checking for inttypes.h (required) ============
> 
> #include <inttypes.h>
> int main(void) { return 0; }
> 
> cc -W -Wall -Wno-unused-parameter -O2 -march=pentium-m -mtune=pentium-m -g
> -p  -
> static  -o /tmp/mplayer-conf-15489-2748.o /tmp/mplayer-conf-17431-2748.c
> /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccynJ89B.o: In function `main':
> /tmp/mplayer-conf-17431-2748.c:2: undefined reference to `_mcount'
> /tmp/mplayer-conf-17431-2748.c:2: undefined reference to `__monstartup'
> collect2: ld returned 1 exit status
> 
> ldd /tmp/mplayer-conf-15489-2748.o
> ./configure: line 70: ldd: command not found
> 
> Result is: no
> ##########################################
> 
> ============ Checking for bitypes.h (inttypes.h predecessor) ============
> 
> #include <sys/bitypes.h>
> int main(void) { return 0; }
> 
> cc -W -Wall -Wno-unused-parameter -O2 -march=pentium-m -mtune=pentium-m -g
> -p  -
> static  -o /tmp/mplayer-conf-15489-2748.o /tmp/mplayer-conf-17431-2748.c
> /tmp/mplayer-conf-17431-2748.c:1:25: sys/bitypes.h: No such file or
> directory
> 
> ldd /tmp/mplayer-conf-15489-2748.o
> ./configure: line 70: ldd: command not found
> 
> =====================================================================

Hi,

I'm not using Cygwin but MingW/MSys. I did some testing anyway. The 
error only comes up when the paramenter '--enable-profile' is given. 
without it, configure walks right through. the file intypes.h is located 
in /mplayer/etc, but it only references <sys/bitypes.h>

This file doesn't exist on MingW, it might be there on Cygwin but I 
suppose it's a "Linux thing".

You could try finding this and add it to your cygwin includes, but I 
doubt that will work flawlessly.


Frank




More information about the MPlayer-cygwin mailing list