[MPlayer-users] configure error

Alexander Bokovikov openworld at uralweb.ru
Wed Jan 20 16:33:18 CET 2010


Hi, All,

I've got an error when I tried this option:

./configure --enable-static

Here is the error:

............
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h. There is no  
chance for compilation to succeed.


And here is a piece of config.log

cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4    -ffast- 
math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -shared- 
libgcc -I. -I /usr/local/include -static  -ffast-math   -o /var/ 
folders/p8/p8aE1AvyFueuObTIsS6-eE+++TI/-Tmp-//mplayer-conf-4542-14953 / 
var/folders/p8/p8aE1AvyFueuObTIsS6-eE+++TI/-Tmp-//mplayer- 
conf-23135-14953.c
ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status

On the other hand I'm getting none of errors if I'm trying to compile  
the same test program manually:

#include <inttypes.h>
int main() {
return 0;
}

So, it looks like the problem is in the configure script itself.

Could anybody help?

-Thanks


More information about the MPlayer-users mailing list