sheebz / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

bitypes.h missing #110

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

trying to compile mplayer from source with:
./configure --cc=/usr/local/bin/arm-apple-darwin-gcc --host-cc=arm-apple-darwin

i get the following 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.

mplayer configure.log:

============ Checking for bitypes.h (inttypes.h predecessor) ============

#include <sys/bitypes.h>
int main(void) { return 0; }

/usr/local/bin/arm-apple-darwin-gcc -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -O4   -pipe -ffast-math -fomit-frame-pointer      -o
/tmp/mplayer-conf-16989-9960 /tmp/mplayer-conf-13780-9960.c
/tmp/mplayer-conf-13780-9960.c:1:25: error: sys/bitypes.h: No such file or
directory

where i am supposed to get this file? from the Apple SDK or from the toolchain?

Original issue reported on code.google.com by matteo.r...@gmail.com on 3 Jan 2008 at 11:02

GoogleCodeExporter commented 9 years ago
forgot to say:

amd athlon 2800+
ubuntu hardy
toolchain installed without any problem following the iphone-dev's guide

Original comment by matteo.r...@gmail.com on 3 Jan 2008 at 11:04

GoogleCodeExporter commented 9 years ago
try adding:

--with-extraincdir=(insert path to armappledarwin include directory from 
/usr/local) --with-extralibdir=(insert 
path to armappledarwin lib directory from /usr/local)

I have not been able to get a complete compile yet, but you need to point 
mplayer to the include and lib 
directories.

Original comment by nicemac....@gmail.com on 14 Jun 2008 at 4:06