[MPlayer-users] trouble compiling mplayer

robert jorgenson snoogans at qwest.net
Mon May 13 23:04:01 CEST 2002


i am trying to compile mplayer and get many errors while ./configuring.
I have gcc 2.95.4 Here is the configure.log of ./configure
--enable-win32 --disable-runtime-cpudetection


-------------- next part --------------
============ Checking for gcc version ============
Result is: 2.95.4, ok
##########################################

============ Checking for CPU vendor ============
Result is: AuthenticAMD (6:3:1)
##########################################

============ Checking for CPU type ============
Result is:  AMD Duron(tm) Processor
##########################################

============ Checking for GCC & CPU optimization abilities ============

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -march=k7 -mcpu=k7
cc1: bad value (k7) for -march= switch
cc1: bad value (k7) for -mcpu= switch

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory


int main(void) { return 0; }

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -march=athlon -mcpu=athlon
cc1: bad value (athlon) for -march= switch
cc1: bad value (athlon) for -mcpu= switch

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory


int main(void) { return 0; }

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -march=pentiumpro -mcpu=pentiumpro
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory


int main(void) { return 0; }

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -march=pentium -mcpu=pentium
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory


int main(void) { return 0; }

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -march=i486 -mcpu=i486
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory


int main(void) { return 0; }

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -march=i386 -mcpu=i386
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: Your gcc does not support even "i386" for '-march' and '-mcpu'.
##########################################

Result is: error
##########################################

============ Checking for kernel support of mmx ============

int main(void){__asm__ __volatile__ ("emms":::"memory");return(0);}

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o 
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: failed
##########################################

============ Checking for kernel support of mmx2 ============

int main(void){__asm__ __volatile__ ("sfence":::"memory");return(0);}

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o 
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: failed
##########################################

============ Checking for kernel support of 3dnow ============

int main(void){__asm__ __volatile__ ("femms":::"memory");return(0);}

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o 
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: failed
##########################################

============ Checking for kernel support of 3dnowex ============

int main(void){__asm__ __volatile__ ("pswapd %%mm0, %%mm0":::"memory");return(0);}

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o 
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: failed
##########################################

============ Checking for mtrr support ============
Result is: yes
##########################################

============ Checking for assembler (as 2.12.90.0.1) ============
Result is: ok
##########################################

============ Checking for Linux kernel version ============
Result is: 2.4.18-k7, ok
##########################################

============ Checking for awk ============

Result is: mawk
##########################################

============ Checking for extra headers ============
Result is: none
##########################################

============ Checking for extra libs ============
Result is: none
##########################################

============ Checking for i18n ============
Result is: no
##########################################

============ Checking for language ============
Result is: using en
##########################################

============ Checking for enable sighandler ============
Result is: yes
##########################################

============ Checking for runtime cpudetection ============
Result is: no
##########################################

============ Checking for kstat ============

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

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -lkstat
/tmp/mplayer-conf-8067-2102.c:1: kstat.h: No such file or directory

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: no
##########################################

============ Checking for posix4 ============

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

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -lposix4
/tmp/mplayer-conf-8067-2102.c:1: time.h: No such file or directory

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: no
##########################################

============ Checking for nanosleep ============

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

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o 
/tmp/mplayer-conf-8067-2102.c:1: time.h: No such file or directory

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: no
##########################################

============ Checking for socklib ============

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

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -lsocket
/tmp/mplayer-conf-8067-2102.c:1: netdb.h: No such file or directory

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory


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

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -lnsl
/tmp/mplayer-conf-8067-2102.c:1: netdb.h: No such file or directory

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory


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

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -lsocket -lnsl
/tmp/mplayer-conf-8067-2102.c:1: netdb.h: No such file or directory

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: no
##########################################

============ Checking for inet_pton() ============

#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_pton(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o 
/tmp/mplayer-conf-8067-2102.c:1: sys/types.h: No such file or directory
/tmp/mplayer-conf-8067-2102.c:2: sys/socket.h: No such file or directory
/tmp/mplayer-conf-8067-2102.c:3: arpa/inet.h: No such file or directory

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory


#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_pton(0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o -lresolv
/tmp/mplayer-conf-8067-2102.c:1: sys/types.h: No such file or directory
/tmp/mplayer-conf-8067-2102.c:2: sys/socket.h: No such file or directory
/tmp/mplayer-conf-8067-2102.c:3: arpa/inet.h: No such file or directory

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory

Result is: no (=> streaming support disabled)
##########################################

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

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

gcc    /tmp/mplayer-conf-8067-2102.c -o /tmp/mplayer-conf-103-2102.o 
/tmp/mplayer-conf-8067-2102.c:1: inttypes.h: No such file or directory

ldd /tmp/mplayer-conf-103-2102.o
ldd: /tmp/mplayer-conf-103-2102.o: No such file or directory



More information about the MPlayer-users mailing list