[MPlayer-users] building under RedHat 8: configure very slow

Ryan, John ryjo at mbari.org
Wed Mar 12 22:29:52 CET 2003


Hello.

I do not see information indicating this is a known problem.  I am building MPlayer under RedHat 8, and configure is extremely slow (after about 12 hours, the configure was roughly half-way done).  The log of a partial configure is below. Suggestion from someone who successfully built an older version of MPlayer on this OS:
--
You may have run out of virtual memory.  This message is produced when the fork() system call fails.  The [: -ne: unary operator expected messages may be the root cause of the problem. Looks like an error in the configure scripts. You might want to e-mail the MPlayer developers about this one.
--

Log file from partial configure:
============ Checking for gcc version ============
Result is: 3.2, ok
##########################################

============ Checking for CPU vendor ============
Result is: GenuineIntel (6:11:1)
##########################################

============ Checking for CPU type ============
Result is:  Intel(R) Pentium(R) III Mobile CPU      1000MHz
##########################################

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

int main(void) { return 0; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -march=pentium3 -mcpu=pentium3

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

Result is: pentium3
##########################################

============ 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);
}

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

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

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for kernel support of sse ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

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

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

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

============ Checking for awk ============
./configure: line 1516: mawk: command not found

Result is: gawk
##########################################

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

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

============ Checking for i18n ============

#include <libintl.h>
int main(void) { gettext("test"); return 0; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for setlocale() ============

#include <locale.h>
int main(void) { setlocale( LC_ALL,"" ); return 0; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

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

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

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

============ Checking for restrict keyword ============

void foo(char * restrict p); int main(){}

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 
/tmp/mplayer-conf-14652-1298.c:1: parse error before "p"

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable


void foo(char * __restrict p); int main(){}

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

Result is: __restrict
##########################################

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

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -lkstat
/tmp/mplayer-conf-14652-1298.c:1:19: kstat.h: No such file or directory

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

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

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -lposix4
/usr/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for lrintf ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -lm

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

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

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

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

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -lsocket
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable


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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -lnsl

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable


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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -lsocket -lnsl
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

Result is: yes (using -lnsl)
##########################################

============ 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-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -lnsl

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

Result is: yes (using -lnsl)
##########################################

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

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for word size ============

#include <stdio.h>
#include <sys/types.h>
int main(void) { printf("%d\n", sizeof(size_t)*8); return 0; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

Result is: 32
##########################################

============ Checking for stddef.h ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for malloc.h ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for memalign() ============

#include <malloc.h>
int main (void) { (void) memalign(64, sizeof(char)); return 0; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for alloca.h ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable


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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for mman.h ============

#include <sys/types.h>
#include <sys/mman.h>
int main(void) { (void) mmap(0, 0, 0, 0, 0, 0); return 0; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for dynamic loader ============

#include <dlfcn.h>
int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 
/tmp/ccGCFSDG.o: In function `main':
/tmp/ccGCFSDG.o(.text+0x18): undefined reference to `dlopen'
/tmp/ccGCFSDG.o(.text+0x25): undefined reference to `dlclose'
/tmp/ccGCFSDG.o(.text+0x34): undefined reference to `dlsym'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable


#include <dlfcn.h>
int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -ldl

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for dynamic a/v plugins support ============
Result is: no
##########################################

============ Checking for pthread ============

#include <pthread.h>
void* func(void *arg) { return arg; }
int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 
/tmp/cck5eDGt.o: In function `main':
/tmp/cck5eDGt.o(.text+0x26): undefined reference to `pthread_create'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable


#include <pthread.h>
void* func(void *arg) { return arg; }
int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o -lpthread

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

Result is: yes (using -lpthread)
##########################################

============ Checking for sys/soundcard.h ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for sys/dvdio.h ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 
/tmp/mplayer-conf-14652-1298.c:2:23: sys/dvdio.h: No such file or directory

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for sys/cdio.h ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 
/tmp/mplayer-conf-14652-1298.c:2:22: sys/cdio.h: No such file or directory

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for linux/cdrom.h ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for dvd.h ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 
/tmp/mplayer-conf-14652-1298.c:1:17: dvd.h: No such file or directory

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for BSDI dvd.h ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 
/tmp/mplayer-conf-14652-1298.c:1:17: dvd.h: No such file or directory

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable
/usr/bin/ldd: fork: Resource temporarily unavailable

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

============ Checking for HPUX SCSI header ============

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

gcc    /tmp/mplayer-conf-14652-1298.c -o /tmp/mplayer-conf-20997-1298.o 
/tmp/mplayer-conf-14652-1298.c:1:22: sys/scsi.h: No such file or directory

ldd /tmp/mplayer-conf-20997-1298.o
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: line 485: 22740 Killed                  $cmd $options $*
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: line 221: [: -ne: unary operator expected
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory
/usr/bin/ldd: fork: Cannot allocate memory



More information about the MPlayer-users mailing list