Topic - Help... ./configure fails



Reply to this topic

Topic Starter 01000111 - Posted on Wednesday, February 27 2008 01:53:42 PM
Help... I'm trying to install the latest version of mplayer on Xubuntu v7.10 AMD64 and its a complete failure. I've only been Xubuntu-ing for a few months, so simple instructions please. It seems to say that my processors don't support the needed instruction sets, but that doesn't sound right to me. Any assistance is appreciated.

Thanks,
01000111


configure.log follows...



configuration: --enable-gui

============ Checking for cc version ============
Result is: 4.1.3, ok
##########################################

============ Checking for host cc ============
Result is: cc
##########################################

============ Checking for cross compilation ============

int main() { return 0; }

cc -o /tmp/mplayer-conf--13202 /tmp/mplayer-conf--13202.c
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status


Result is: yes
##########################################

============ Checking for CPU vendor ============
Result is: AuthenticAMD (15:107:2)
##########################################

============ Checking for CPU type ============
Result is: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
##########################################

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

#include <signal.h>
void catch() { exit(1); }
int main(void){
signal(SIGILL, catch);
__asm__ __volatile__ ("emms":::"memory");return(0);
}

cc -o /tmp/mplayer-conf--13202 /tmp/mplayer-conf--13202.c
/tmp/mplayer-conf--13202.c:1:20: error: signal.h: No such file or directory
/tmp/mplayer-conf--13202.c: In function 'catch':
/tmp/mplayer-conf--13202.c:2: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/mplayer-conf--13202.c: In function 'main':
/tmp/mplayer-conf--13202.c:4: error: 'SIGILL' undeclared (first use in this function)
/tmp/mplayer-conf--13202.c:4: error: (Each undeclared identifier is reported only once
/tmp/mplayer-conf--13202.c:4: error: for each function it appears in.)


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

============ Checking for kernel support of mmxext ============

#include <signal.h>
void catch() { exit(1); }
int main(void){
signal(SIGILL, catch);
__asm__ __volatile__ ("sfence":::"memory");return(0);
}

cc -o /tmp/mplayer-conf--13202 /tmp/mplayer-conf--13202.c
/tmp/mplayer-conf--13202.c:1:20: error: signal.h: No such file or directory
/tmp/mplayer-conf--13202.c: In function 'catch':
/tmp/mplayer-conf--13202.c:2: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/mplayer-conf--13202.c: In function 'main':
/tmp/mplayer-conf--13202.c:4: error: 'SIGILL' undeclared (first use in this function)
/tmp/mplayer-conf--13202.c:4: error: (Each undeclared identifier is reported only once
/tmp/mplayer-conf--13202.c:4: error: for each function it appears in.)


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

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

#include <signal.h>
void catch() { exit(1); }
int main(void){
signal(SIGILL, catch);
__asm__ __volatile__ ("femms":::"memory");return(0);
}

cc -o /tmp/mplayer-conf--13202 /tmp/mplayer-conf--13202.c
/tmp/mplayer-conf--13202.c:1:20: error: signal.h: No such file or directory
/tmp/mplayer-conf--13202.c: In function 'catch':
/tmp/mplayer-conf--13202.c:2: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/mplayer-conf--13202.c: In function 'main':
/tmp/mplayer-conf--13202.c:4: error: 'SIGILL' undeclared (first use in this function)
/tmp/mplayer-conf--13202.c:4: error: (Each undeclared identifier is reported only once
/tmp/mplayer-conf--13202.c:4: error: for each function it appears in.)


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

============ Checking for kernel support of 3dnowext ============

#include <signal.h>
void catch() { exit(1); }
int main(void){
signal(SIGILL, catch);
__asm__ __volatile__ ("pswapd %%mm0, %%mm0":::"memory");return(0);
}

cc -o /tmp/mplayer-conf--13202 /tmp/mplayer-conf--13202.c
/tmp/mplayer-conf--13202.c:1:20: error: signal.h: No such file or directory
/tmp/mplayer-conf--13202.c: In function 'catch':
/tmp/mplayer-conf--13202.c:2: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/mplayer-conf--13202.c: In function 'main':
/tmp/mplayer-conf--13202.c:4: error: 'SIGILL' undeclared (first use in this function)
/tmp/mplayer-conf--13202.c:4: error: (Each undeclared identifier is reported only once
/tmp/mplayer-conf--13202.c:4: error: for each function it appears in.)


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

============ Checking for kernel support of sse ============
.
.
.
<snip>
tex2us - Posted on Wednesday, March 5 2008 10:57:31 AM
If any processor feature is not found, then the support for it is not compiled. No compile error should come from here.
The log file seems to show that signal.h is missing.
You can try to disable optimisations (with --disable-mmx and such), maybe the missing file won't be needed anymore, but it seems to be a system file that might be needed elsewhere and this fix won't probably fix anything.
The way I see it, the compiler is missing files, so reinstalling the compiler (or the missing modules) should fix the problem