configure error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



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


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux