[MPlayer-users] cc: march=pentium4: No such file or directory

Jonathan Isom jeisom at gmail.com
Tue Jul 27 18:35:58 CEST 2010


On Tue, Jul 27, 2010 at 11:32 AM, Goga777 <goga777 at bk.ru> wrote:
> Hi
>
>
> I tried to compile mplayer with extra cflags options but without good results
>
> sudo ./configure --extra-cflags="-O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-
blocks -fexpensive-optimizations"


"march=pentium4"
should be
"-march=pentium4"

> Checking for cc version ... 4.4.4
> Detected operating system: Linux
> Detected host architecture: i386
> Checking for host cc ... cc
> Checking for cross compilation ... yes
> Checking for CPU vendor ... GenuineIntel (15:3:4)
> Checking for CPU type ...  Intel(R) Pentium(R) 4 CPU 3.00GHz
> Checking for kernel support of mmx ... failed
> It seems that your kernel does not correctly support mmx.
> To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
> Checking for kernel support of mmxext ... failed
> It seems that your kernel does not correctly support mmxext.
> To use mmxext extensions in MPlayer, you have to upgrade/recompile your kernel!
> Checking for kernel support of sse ... failed
> It seems that your kernel does not correctly support sse.
> To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
> Checking for kernel support of sse2 ... failed
> It seems that your kernel does not correctly support sse2.
> To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
> Checking for kernel support of cmov ... failed
> It seems that your kernel does not correctly support cmov.
> To use cmov extensions in MPlayer, you have to upgrade/recompile your kernel!
> Checking for mtrr support ... yes
> Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
> error
> Checking for byte order ... failed to autodetect byte order, defaulting to little-endian
> Checking for extern symbol prefix ...
> Error: Symbol mangling check failed.
>
> Check "config.log" if you do not understand why it failed.
>
>
>
> In the config.log
>
> cat config.log
> configuration: --extra-cflags=-O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations
>
> ============ Checking for cc version ============
> Result is: 4.4.4
> ##########################################
>
>
> int main(void) {
>    int test[(int)sizeof(char *)-7];
>    return 0;
> }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
> /tmp/mplayer-conf-12651-7484.c: In function 'main':
> /tmp/mplayer-conf-12651-7484.c:2: error: size of array 'test' is negative
>
>
> ============ Checking for host cc ============
> Result is: cc
> ##########################################
>
> ============ Checking for cross compilation ============
>
> int main(void) { return 0; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
> Result is: yes
> ##########################################
>
> ============ Checking for CPU vendor ============
> Result is: GenuineIntel (15:3:4)
> ##########################################
>
> ============ Checking for CPU type ============
> Result is:  Intel(R) Pentium(R) 4 CPU 3.00GHz
> ##########################################
>
> ============ Checking for kernel support of mmx ============
>
> #include <stdlib.h>
> #include <signal.h>
> void catch(void) { exit(1); }
> int main(void) {
>  signal(SIGILL, catch);
>  __asm__ volatile ("emms":::"memory"); return 0;
> }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
> /tmp/mplayer-conf-12651-7484.c: In function 'main':
> /tmp/mplayer-conf-12651-7484.c:5: warning: passing argument 2 of 'signal' from incompatible pointer type
> /usr/include/signal.h:101: note: expected '__sighandler_t' but argument is of type 'void (*)(void)'
>
>
> Result is: failed
> ##########################################
>
> ============ Checking for kernel support of mmxext ============
>
> #include <stdlib.h>
> #include <signal.h>
> void catch(void) { exit(1); }
> int main(void) {
>  signal(SIGILL, catch);
>  __asm__ volatile ("sfence":::"memory"); return 0;
> }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
> /tmp/mplayer-conf-12651-7484.c: In function 'main':
> /tmp/mplayer-conf-12651-7484.c:5: warning: passing argument 2 of 'signal' from incompatible pointer type
> /usr/include/signal.h:101: note: expected '__sighandler_t' but argument is of type 'void (*)(void)'
>
>
> Result is: failed
> ##########################################
>
> ============ Checking for kernel support of sse ============
>
> #include <stdlib.h>
> #include <signal.h>
> void catch(void) { exit(1); }
> int main(void) {
>  signal(SIGILL, catch);
>  __asm__ volatile ("xorps %%xmm0, %%xmm0":::"memory"); return 0;
> }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
> /tmp/mplayer-conf-12651-7484.c: In function 'main':
> /tmp/mplayer-conf-12651-7484.c:5: warning: passing argument 2 of 'signal' from incompatible pointer type
> /usr/include/signal.h:101: note: expected '__sighandler_t' but argument is of type 'void (*)(void)'
>
>
> Result is: failed
> ##########################################
>
> ============ Checking for kernel support of sse2 ============
>
> #include <stdlib.h>
> #include <signal.h>
> void catch(void) { exit(1); }
> int main(void) {
>  signal(SIGILL, catch);
>  __asm__ volatile ("xorpd %%xmm0, %%xmm0":::"memory"); return 0;
> }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
> /tmp/mplayer-conf-12651-7484.c: In function 'main':
> /tmp/mplayer-conf-12651-7484.c:5: warning: passing argument 2 of 'signal' from incompatible pointer type
> /usr/include/signal.h:101: note: expected '__sighandler_t' but argument is of type 'void (*)(void)'
>
>
> Result is: failed
> ##########################################
>
> ============ Checking for kernel support of cmov ============
>
> #include <stdlib.h>
> #include <signal.h>
> void catch(void) { exit(1); }
> int main(void) {
>  signal(SIGILL, catch);
>  __asm__ volatile ("cmovb %%eax,%%ebx":::"memory"); return 0;
> }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
> /tmp/mplayer-conf-12651-7484.c: In function 'main':
> /tmp/mplayer-conf-12651-7484.c:5: warning: passing argument 2 of 'signal' from incompatible pointer type
> /usr/include/signal.h:101: note: expected '__sighandler_t' but argument is of type 'void (*)(void)'
>
>
> Result is: failed
> ##########################################
>
> ============ Checking for mtrr support ============
> Result is: yes
> ##########################################
>
>
> int main(void) { return 0; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484 -mno-sse -mno-sse2
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
> ============ Checking for GCC & CPU optimization abilities ============
>
> int main(void) { return 0; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484 -march=native
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
>
> int main(void) { return 0; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484 -march=prescott -mtune=prescott
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
>
> int main(void) { return 0; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484 -march=pentium4 -mtune=pentium4
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
>
> int main(void) { return 0; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484 -march=i686 -mtune=i686
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
>
> int main(void) { return 0; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484 -march=i586 -mtune=i586
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
>
> int main(void) { return 0; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484 -march=i486 -mtune=i486
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
>
> int main(void) { return 0; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484 -march=i386 -mtune=i386
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
> Result is: CPU optimization disabled. CPU not recognized or your compiler is too old.
> ##########################################
>
> Result is: error
> ##########################################
>
> ============ Checking for byte order ============
>
> short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'),
>                       (('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0};
> int main(void) { return (int)ascii_name; }
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
> Result is: little-endian
> ##########################################
>
> ============ Checking for extern symbol prefix ============
>
> int ff_extern;
>
> cc /tmp/mplayer-conf-12651-7484.c  -I. -O3 march=pentium4 mtune=pentium4 -finline-functions -freorder-blocks -fexpensive-optimizations     -o /tmp/mplayer-conf-4072-7484 -c
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directo
>
>
>
> How to fix it ?
> cc: march=pentium4: No such file or directory
> cc: mtune=pentium4: No such file or directory
>
>
>
> With sudo ./configure --extra-cflags="-O3 -finline-functions -freorder-blocks -fexpensive-optimizations"
>
> Checking for cc version ... 4.4.4
> Detected operating system: Linux
> Detected host architecture: i386
> Checking for host cc ... cc
> Checking for cross compilation ... no
> Checking for CPU vendor ... GenuineIntel (15:3:4)
> Checking for CPU type ...  Intel(R) Pentium(R) 4 CPU 3.00GHz
> Checking for kernel support of mmx ... yes
> Checking for kernel support of mmxext ... yes
> Checking for kernel support of sse ... yes
> Checking for kernel support of sse2 ... yes
> Checking for kernel support of cmov ... yes
> Checking for mtrr support ... yes
> Checking for GCC & CPU optimization abilities ... native
> Checking for byte order ... little-endian
> Checking for extern symbol prefix ...
> Checking for assembler support of -pipe option ... yes
> Checking for compiler support of named assembler arguments ... yes
> Checking for assembler (as ) ... ok
> Checking for .align is a power of two ... no
> Checking for 10 assembler operands ... yes
> Checking for ebx availability ... yes
> Checking for PIC ... no
> Checking for yasm ... yasm
> Checking for bswap ... yes
> Checking for Linux kernel version ... 2.6.29-1-686, ok
> Checking for -lposix ... no
> Checking for -lm ... yes
> Checking for langinfo ... yes
> Checking for language ... messages: en - man pages: en - documentation: en
> Checking for enable sighandler ... yes
> Checking for runtime cpudetection ... no
> Checking for restrict keyword ... restrict
> Checking for __builtin_expect ... yes
> Checking for kstat ... no
> Checking for posix4 ... no
> Checking for exp2 ... yes
> Checking for exp2f ... yes
> Checking for llrint ... yes
> Checking for llrintf ... yes
> Checking for log2 ... yes
> Checking for log2f ... yes
> Checking for lrint ... yes
> Checking for lrintf ... yes
> Checking for round ... yes
> Checking for roundf ... yes
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>


More information about the MPlayer-users mailing list