muromec / mplayer-tegra

Mplayer with -vo tegra
GNU General Public License v2.0
4 stars 1 forks source link

error when compiling mplayer on arm tegra2 #1

Open nzamb1 opened 12 years ago

nzamb1 commented 12 years ago

Hi, I can't compile mplayer on Ubuntu. I recive error message:

cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg -D_REENTRANT -I/usr/include/directfb -I/usr/include/freetype2 -c -o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_ffmpeg.c libmpcodecs/ad_ffmpeg.c: In function 'init': libmpcodecs/ad_ffmpeg.c:106: error: 'AVCodecContext' has no member named 'drc_scale' libmpcodecs/ad_ffmpeg.c: In function 'decode_audio': libmpcodecs/ad_ffmpeg.c:228: warning: 'avcodec_decode_audio3' is deprecated (declared at ffmpeg/libavcodec/avcodec.h:3771) make: *\ [libmpcodecs/ad_ffmpeg.o] Error 1

config.log

configuration: --disable-xvid-lavc --disable-x264-lavc --disable-libdirac-lavc --disable-libschroedinger-lavc --disable-libvpx-lavc --disable-libavcodec_mpegaudio_hp --disable-faac-lavc --disable-mp3lame-lavc

============ Checking for cc version ============ Result is: 4.3.3

============ Checking for working compiler ============

int main(void) { return 0; }

cc /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -o /tmp/mplayer-configure--11108/tmp

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

int main(void) { return 0; }

cc /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -o /tmp/mplayer-configure--11108/tmp

Result is: no

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

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

cc /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -o /tmp/mplayer-configure--11108/tmp

Result is: little-endian

============ Checking for extern symbol prefix ============

int ff_extern;

cc /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -o /tmp/mplayer-configure--11108/tmp -c

Result is:

============ Checking for assembler support of -pipe option ============

int main(void) { return 0; }

cc /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -o /tmp/mplayer-configure--11108/tmp -pipe -I.

Result is: yes

int main(void) { return 0; }

cc -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -fno-tree-vectorize

int main(void) { return 0; }

cc -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -Wundef

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -std=gnu99

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -Wdeclaration-after-statement

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -Wno-pointer-sign

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -Wdisabled-optimization

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -Wmissing-prototypes

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -Wstrict-prototypes

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -mno-omit-leaf-frame-pointer cc1: error: unrecognized command line option "-mno-omit-leaf-frame-pointer"

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -MD -MP

============ Checking for PIC ============

int main(void) {

if !(defined(PIC) || defined(pic) || defined(PIC))

error PIC not enabled

endif

return 0;

}

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c:3:2: error: #error PIC not enabled

Result is: no

============ Checking for ARMv5TE (Enhanced DSP Extensions) ============

int main(void) { asm volatile ("qadd r0, r0, r0"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp {standard input}: Assembler messages: {standard input}:20: Error: selected processor does not support `qadd r0,r0,r0'

Result is: no

============ Checking for ARMv6 (SIMD instructions) ============

int main(void) { asm volatile ("sadd16 r0, r0, r0"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp {standard input}: Assembler messages: {standard input}:20: Error: selected processor does not support `sadd16 r0,r0,r0'

Result is: no

============ Checking for ARMv6t2 (SIMD instructions) ============

int main(void) { asm volatile ("movt r0, #0"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp {standard input}: Assembler messages: {standard input}:20: Error: selected processor does not support `movt r0,#0'

Result is: no

============ Checking for ARM VFP ============

int main(void) { asm volatile ("fadds s0, s0, s0"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp {standard input}: Assembler messages: {standard input}:20: Error: selected processor does not support `fadds s0,s0,s0'

Result is: no

============ Checking for ARM VFPV3 ============

int main(void) { asm volatile ("vmov.f32 s0, #1.0"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp {standard input}: Assembler messages: {standard input}:20: Error: bad instruction `vmov.f32 s0,#1.0'

Result is: no

============ Checking for ARM NEON ============

int main(void) { asm volatile ("vadd.i16 q0, q0, q0"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp {standard input}: Assembler messages: {standard input}:20: Error: bad instruction `vadd.i16 q0,q0,q0'

Result is: no

============ Checking for iWMMXt (Intel XScale SIMD instructions) ============

int main(void) { asm volatile ("wunpckelub wr6, wr4"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp {standard input}: Assembler messages: {standard input}:20: Error: selected processor does not support `wunpckelub wr6,wr4'

Result is: no

============ Checking for langinfo ============

include

int main(void) { nl_langinfo(CODESET); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for language ============ Result is: messages: en - man pages: en - documentation: 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(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: restrict

============ Checking for __builtin_expect ============

static int foo(int a) { a = __builtin_expect(a, 10); return a == 10 ? 0 : 1; } int main(void) { return foo(10) && foo(0); }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

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

include

int main(void) { kstat_open(); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -lkstat /tmp/mplayer-configure--11108/tmp.c:1:19: error: kstat.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'kstat_open'

Result is: no

============ Checking for exp2 ============

include

int main(void) { exp2(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for exp2f ============

include

int main(void) { exp2f(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for llrint ============

include

int main(void) { llrint(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for llrintf ============

include

int main(void) { llrintf(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for log2 ============

include

int main(void) { log2(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for log2f ============

include

int main(void) { log2f(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for lrint ============

include

int main(void) { lrint(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

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

include

int main(void) { lrintf(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for round ============

include

int main(void) { round(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for roundf ============

include

int main(void) { roundf(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for trunc ============

include

int main(void) { trunc(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for truncf ============

include

int main(void) { truncf(2.0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_ISOC99_SOURCE

Result is: yes

============ Checking for mkstemp ============

define _XOPEN_SOURCE 600

include

int main(void) { mkstemp(""); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:3: warning: ignoring return value of 'mkstemp', declared with attribute warn_unused_result

Result is: yes

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

include

int main(void) { nanosleep(0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

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

include

include <sys/socket.h>

int main(void) { gethostbyname(0); socket(AF_INET, SOCK_STREAM, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for netdb.h, struct addrinfo ============

if HAVE_WINSOCK2_H

include

include

else

include <sys/types.h>

include <sys/socket.h>

include

endif

int main(void) { struct addrinfo ai; return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -DHAVE_WINSOCK2_H=0 /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:9: warning: unused variable 'ai'

Result is: yes

============ Checking for netdb.h, getaddrinfo() ============

if HAVE_WINSOCK2_H

include

else

include <sys/types.h>

include <sys/socket.h>

include

endif

int main(void) { getaddrinfo(0, 0, 0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -DHAVE_WINSOCK2_H=0

Result is: yes

============ Checking for sockaddr_storage ============

if HAVE_WINSOCK2_H

include

else

include <sys/types.h>

include <sys/socket.h>

endif

int main(void) { struct sockaddr_storage sas; return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -DHAVE_WINSOCK2_H=0 /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:7: warning: unused variable 'sas'

Result is: yes

============ Checking for struct ipv6_mreq ============

include <netinet/in.h>

int main(void) { struct ipv6_mreq mreq6; return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: unused variable 'mreq6'

Result is: yes

============ Checking for struct sockaddr_in6 ============

include <netinet/in.h>

int main(void) { struct sockaddr_in6 addr; return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: unused variable 'addr'

Result is: yes

============ Checking for struct sockaddr sa_len ============

if HAVE_WINSOCK2_H

include

else

include <sys/types.h>

include <sys/socket.h>

endif

int main(void) { const void p = &((struct sockaddr )0)->sa_len; return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -DHAVE_WINSOCK2_H=0 /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:7: error: 'struct sockaddr' has no member named 'sa_len' /tmp/mplayer-configure--11108/tmp.c:7: warning: unused variable 'p'

Result is: no

============ Checking for arpa/inet.h ============

include <arpa/inet.h>

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

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

include <arpa/inet.h>

int main(void) { inet_pton(0, 0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for inet_aton() ============

include <arpa/inet.h>

int main(void) { inet_aton(0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for socklen_t ============

include <sys/socket.h>

int main(void) { socklen_t v = 0; return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: unused variable 'v'

Result is: yes

============ Checking for closesocket() ============

include

int main(void) { closesocket(~0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c:1:22: error: winsock2.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'closesocket'

Result is: no

============ Checking for networking ============ Result is: yes

============ Checking for inet6 ============

include <sys/types.h>

if !defined(_WIN32)

include <sys/socket.h>

include <netinet/in.h>

else

include

endif

int main(void) { struct sockaddr_in6 six; socket(AF_INET6, SOCK_STREAM, AF_INET6); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:8: warning: unused variable 'six'

Result is: yes

============ Checking for gethostbyname2 ============

include <sys/types.h>

include <sys/socket.h>

include

int main(void) { gethostbyname2("", AF_INET); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for sys/poll.h ============

include <sys/poll.h>

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

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

include

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for int_fastXY_t in inttypes.h ============

include

int main(void) { volatile int_fast16_t v = 0; return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: unused variable 'v'

Result is: yes

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

include

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

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

include

int main(void) { memalign(64, sizeof(char)); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: ignoring return value of 'memalign', declared with attribute warn_unused_result

Result is: yes

============ Checking for posix_memalign() ============

define _XOPEN_SOURCE 600

include

int main(void) { posix_memalign(NULL, 0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:3: warning: null argument where non-null required (argument 1) /tmp/mplayer-configure--11108/tmp.c:3: warning: ignoring return value of 'posix_memalign', declared with attribute warn_unused_result

Result is: yes

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

include

int main(void) { alloca(0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

include

int main(void) { alloca(0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for fastmemcpy ============ Result is: yes

============ Checking for hard-coded tables ============ Result is: no

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

include <sys/mman.h>

int main(void) { mmap(0, 0, 0, 0, 0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

include <sys/mman.h>

int main(void) { void *p = MAP_FAILED; return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: unused variable 'p'

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

include

int main(void) { dlopen("", 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/cc8qaQgu.o: In function main': tmp.c:(.text+0x10): undefined reference todlopen' collect2: ld returned 1 exit status

include

int main(void) { dlopen("", 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -ldl

Result is: yes

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

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

include

static void func(void arg) { return arg; } int main(void) { pthread_t tid; return pthread_create(&tid, 0, func, 0) == 0 ? 0 : 1; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_REENTRANT -lpthreadGC2 /usr/bin/ld: cannot find -lpthreadGC2 collect2: ld returned 1 exit status

include

static void func(void arg) { return arg; } int main(void) { pthread_t tid; return pthread_create(&tid, 0, func, 0) == 0 ? 0 : 1; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_REENTRANT /tmp/ccphnoR3.o: In function main': tmp.c:(.text+0x1c): undefined reference topthread_create' collect2: ld returned 1 exit status

include

static void func(void arg) { return arg; } int main(void) { pthread_t tid; return pthread_create(&tid, 0, func, 0) == 0 ? 0 : 1; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -D_REENTRANT -lpthread

Result is: yes (using -lpthread)

============ Checking for w32threads ============ Result is: no (using pthread instead)

============ Checking for rpath ============ Result is: no

============ Checking for iconv ============

include

include

include

define INBUFSIZE 1024

define OUTBUFSIZE 4096

char inbuffer[INBUFSIZE]; char outbuffer[OUTBUFSIZE];

int main(void) { size_t numread; iconv_t icdsc; char tocode="UTF-8"; char fromcode="cp1250"; if ((icdsc = iconv_open(tocode, fromcode)) != (iconv_t)(-1)) { while ((numread = read(0, inbuffer, INBUFSIZE))) { char iptr=inbuffer; char optr=outbuffer; size_t inleft=numread; size_t outleft=OUTBUFSIZE; if (iconv(icdsc, &iptr, &inleft, &optr, &outleft) != (size_t)(-1)) { write(1, outbuffer, OUTBUFSIZE - outleft); } } if (iconv_close(icdsc) == -1) ; } return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result

Result is: yes

============ Checking for soundcard.h ============

include <sys/soundcard.h>

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes (sys/soundcard.h)

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

include <sys/types.h>

include <sys/dvdio.h>

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c:2:23: error: sys/dvdio.h: No such file or directory

Result is: no

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

include <sys/types.h>

include <sys/cdio.h>

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c:2:22: error: sys/cdio.h: No such file or directory

Result is: no

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

include <linux/cdrom.h>

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

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

include

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c:1:17: error: dvd.h: No such file or directory

Result is: no

============ Checking for termcap ============

include

int main(void) { tgetent(0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -lncurses /tmp/mplayer-configure--11108/tmp.c:1:18: error: term.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'tgetent'

include

int main(void) { tgetent(0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -ltinfo /tmp/mplayer-configure--11108/tmp.c:1:18: error: term.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'tgetent'

include

int main(void) { tgetent(0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -ltermcap /tmp/mplayer-configure--11108/tmp.c:1:18: error: term.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'tgetent'

Result is: no

============ Checking for termios ============

include

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes (using termios.h)

============ Checking for shm ============

include <sys/shm.h>

int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for strsep() ============

include

int main(void) { char *s = "Hello, world!"; strsep(&s, ","); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for vsscanf() ============

define _ISOC99_SOURCE

include

include

int main(void) { va_list ap = { 0 }; vsscanf("foo", "bar", ap); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for POSIX select() ============

include

include

include <sys/types.h>

include

include <sys/time.h>

include

int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds, &readfds, NULL, NULL, &timeout); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for audio select() ============ Result is: yes

============ Checking for gettimeofday() ============

include <sys/time.h>

int main(void) { struct timeval tv; struct timezone tz; gettimeofday(&tv, &tz); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for glob() ============

include

int main(void) { glob("filename", 0, 0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for setenv() ============

include

int main(void) { setenv("", "", 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for setmode() ============

include

int main(void) { setmode(0, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c:1:16: error: io.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'setmode'

Result is: no

============ Checking for sys/sysinfo.h ============

include <sys/sysinfo.h>

int main(void) { struct sysinfo s_info; s_info.mem_unit=0; sysinfo(&s_info); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp

Result is: yes

============ Checking for Apple IR ============

include <linux/input.h>

int main(void) { struct input_event ev; struct input_id id; return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: unused variable 'id' /tmp/mplayer-configure--11108/tmp.c:2: warning: unused variable 'ev'

Result is: yes

============ Checking for pkg-config ============ Result is: yes

============ Checking for Samba support (libsmbclient) ============

include

int main(void) { smbc_opendir("smb://"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -lsmbclient /tmp/mplayer-configure--11108/tmp.c:1:26: error: libsmbclient.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'smbc_opendir'

include

int main(void) { smbc_opendir("smb://"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -lsmbclient -ldl /tmp/mplayer-configure--11108/tmp.c:1:26: error: libsmbclient.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'smbc_opendir'

include

int main(void) { smbc_opendir("smb://"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -lsmbclient -ldl -lnsl /tmp/mplayer-configure--11108/tmp.c:1:26: error: libsmbclient.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'smbc_opendir'

include

int main(void) { smbc_opendir("smb://"); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--11108/tmp.c -I. -Iffmpeg -D_REENTRANT -lm -ffast-math -o /tmp/mplayer-configure--11108/tmp -lsmbclient -ldl -lssl -lnsl /tmp/mplayer-configure--11108/tmp.c:1:26: error: libsmbclient.h: No such file or directory /tmp/mplayer-configure--11108/tmp.c: In function 'main': /tmp/mplayer-configure--11108/tmp.c:2: warning: implicit declaration of function 'smbc_opendir'

Result is: no

============ Checking for /dev/mga_vid ============ Result is: no

============ Checking for tdfxfb ============ Result is: no

============ Checking for s3fb ============ Result is: no

============ Checking for wii ============ Result is: no

============ Checking for tdfxvid ============ Result is: no

============ Checking for xvr100 ============

include

include <sys/fbio.h>

include <sys/visual_io.h>

int main(void) { struct vis_identifier ident; struct fbgattr attr; ioctl(0, VIS_GETIDENTIFIER, &ident); ioctl(0, FBIOGATTR, &attr); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-co

muromec commented 12 years ago

libmpcodecs/ad_ffmpeg.c: In function 'init': libmpcodecs/ad_ffmpeg.c:106: error: 'AVCodecContext' has no member named 'drc_scale'

Looks like my fork is somehow outdated. Try to merge with upstream branch and recompile.

nzamb1 commented 12 years ago

How can I do this? I have no experience using github.