[MPlayer-users] Compiling mplayer statically on Mac OS X

Stephan Roth stephan.roth at gmx.ch
Wed Mar 26 10:03:01 CET 2003


I get the following error with mplayer cvs, although I copied 
inttypes.h from /usr/include to . like the FAQ said. There is no 
/etc/inttypes.h in OS X, so I assumed this would be ok. I don't know 
any C, btw. On a side note, iIt works just fine if compiled dynamically.

Can anyone help me with that? Thanks!


9 [thor:~/Desktop/project/main] roth% ./configure --enable-static
Detected operating system: Darwin
Detected host architecture: ppc
Checking for gcc version ... 3.1, ok
Checking for CPU vendor ...  (::)
Checking for CPU type ...
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... no
Checking for setlocale() ... 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 kstat ... no
Checking for posix4 ... no
Checking for lrintf ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for inet_pton() ... no (=> i'll try inet_aton next)
Checking for inet_aton() ... no (=> streaming support disabled)
Checking for inttypes.h (required) ...
Error: cannot find header inttypes.h (see DOCS/faq.html)

Check "configure.log" if you do not understand why it failed.
10 [thor:~/Desktop/project/main] roth% tail -n 13 configure.log
##########################################

============ Checking for inttypes.h (required) ============

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

gcc   -static  /var/tmp/mplayer-conf-21054-29025.c -o 
/var/tmp/mplayer-conf-24171-29025.o
ld: can't locate file for: -lcrt0.o

ldd /var/tmp/mplayer-conf-24171-29025.o
./configure: ldd: command not found



More information about the MPlayer-users mailing list