root@pulsar:/usr/local/src/mplayer-vdpau-3402051/mplayer-vdpau# make cc -MM -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/include/directfb -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Ilibdvdread4 -I/usr/include/freetype2 -I/usr/include -Ilibdvdnav libvo/vo_vdpau.c | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," > libvo/vo_vdpau.d cc -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/include/directfb -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Ilibdvdread4 -I/usr/include/freetype2 -I/usr/include -Ilibdvdnav -c -o libvo/vo_vdpau.o libvo/vo_vdpau.c libvo/vo_vdpau.c: In function 'config': libvo/vo_vdpau.c:752: warning: ISO C90 forbids mixed declarations and code libvo/vo_vdpau.c: In function 'draw_osd_I8A8': libvo/vo_vdpau.c:878: warning: passing argument 3 of 'vdp_output_surface_put_bits_indexed' from incompatible pointer type libvo/vo_vdpau.c: In function 'draw_image': libvo/vo_vdpau.c:1039: warning: passing argument 3 of 'vdp_video_surface_put_bits_y_cb_cr' from incompatible pointer type libvo/vo_vdpau.c:1070: warning: passing argument 2 of 'vdp_output_surface_put_bits_native' from incompatible pointer type libvo/vo_vdpau.c: At top level: libvo/vo_vdpau.c:1412: error: redefinition of 'info' libvo/vo_vdpau.c:72: error: previous definition of 'info' was here libvo/vo_vdpau.c:1419: error: redefinition of 'video_out_vdpau' libvo/vo_vdpau.c:79: error: previous definition of 'video_out_vdpau' was here libvo/vo_vdpau.c:1448: warning: redundant redeclaration of 'vdp_device' libvo/vo_vdpau.c:108: warning: previous declaration of 'vdp_device' was here libvo/vo_vdpau.c:1449: warning: redundant redeclaration of 'vdp_get_proc_address' libvo/vo_vdpau.c:109: warning: previous declaration of 'vdp_get_proc_address' was here libvo/vo_vdpau.c:1451: warning: redundant redeclaration of 'vdp_flip_target' libvo/vo_vdpau.c:111: warning: previous declaration of 'vdp_flip_target' was here libvo/vo_vdpau.c:1452: warning: redundant redeclaration of 'vdp_flip_queue' libvo/vo_vdpau.c:112: warning: previous declaration of 'vdp_flip_queue' was here libvo/vo_vdpau.c:1454: warning: redundant redeclaration of 'vdp_device_destroy' libvo/vo_vdpau.c:114: warning: previous declaration of 'vdp_device_destroy' was here libvo/vo_vdpau.c:1455: warning: redundant redeclaration of 'vdp_video_surface_create' libvo/vo_vdpau.c:115: warning: previous declaration of 'vdp_video_surface_create' was here libvo/vo_vdpau.c:1456: warning: redundant redeclaration of 'vdp_video_surface_destroy' libvo/vo_vdpau.c:116: warning: previous declaration of 'vdp_video_surface_destroy' was here libvo/vo_vdpau.c:1462: warning: redundant redeclaration of 'vdp_video_surface_put_bits_y_cb_cr' libvo/vo_vdpau.c:122: warning: previous declaration of 'vdp_video_surface_put_bits_y_cb_cr' was here libvo/vo_vdpau.c:1463: warning: redundant redeclaration of 'vdp_video_surface_get_bits_y_cb_cr' libvo/vo_vdpau.c:123: warning: previous declaration of 'vdp_video_surface_get_bits_y_cb_cr' was here libvo/vo_vdpau.c:1465: warning: redundant redeclaration of 'vdp_output_surface_put_bits_y_cb_cr' libvo/vo_vdpau.c:125: warning: previous declaration of 'vdp_output_surface_put_bits_y_cb_cr' was here libvo/vo_vdpau.c:1466: warning: redundant redeclaration of 'vdp_output_surface_put_bits_native' libvo/vo_vdpau.c:126: warning: previous declaration of 'vdp_output_surface_put_bits_native' was here libvo/vo_vdpau.c:1468: warning: redundant redeclaration of 'vdp_output_surface_create' libvo/vo_vdpau.c:128: warning: previous declaration of 'vdp_output_surface_create' was here libvo/vo_vdpau.c:1469: warning: redundant redeclaration of 'vdp_output_surface_destroy' libvo/vo_vdpau.c:129: warning: previous declaration of 'vdp_output_surface_destroy' was here libvo/vo_vdpau.c:1472: warning: redundant redeclaration of 'vdp_video_mixer_create' libvo/vo_vdpau.c:132: warning: previous declaration of 'vdp_video_mixer_create' was here libvo/vo_vdpau.c:1473: warning: redundant redeclaration of 'vdp_video_mixer_set_feature_enables' libvo/vo_vdpau.c:133: warning: previous declaration of 'vdp_video_mixer_set_feature_enables' was here libvo/vo_vdpau.c:1474: warning: redundant redeclaration of 'vdp_video_mixer_destroy' libvo/vo_vdpau.c:134: warning: previous declaration of 'vdp_video_mixer_destroy' was here libvo/vo_vdpau.c:1475: warning: redundant redeclaration of 'vdp_video_mixer_render' libvo/vo_vdpau.c:135: warning: previous declaration of 'vdp_video_mixer_render' was here libvo/vo_vdpau.c:1477: warning: redundant redeclaration of 'vdp_presentation_queue_target_destroy' libvo/vo_vdpau.c:137: warning: previous declaration of 'vdp_presentation_queue_target_destroy' was here libvo/vo_vdpau.c:1478: warning: redundant redeclaration of 'vdp_presentation_queue_create' libvo/vo_vdpau.c:138: warning: previous declaration of 'vdp_presentation_queue_create' was here libvo/vo_vdpau.c:1479: warning: redundant redeclaration of 'vdp_presentation_queue_destroy' libvo/vo_vdpau.c:139: warning: previous declaration of 'vdp_presentation_queue_destroy' was here libvo/vo_vdpau.c:1480: warning: redundant redeclaration of 'vdp_presentation_queue_display' libvo/vo_vdpau.c:140: warning: previous declaration of 'vdp_presentation_queue_display' was here libvo/vo_vdpau.c:1481: warning: redundant redeclaration of 'vdp_presentation_queue_block_until_surface_idle' libvo/vo_vdpau.c:141: warning: previous declaration of 'vdp_presentation_queue_block_until_surface_idle' was here libvo/vo_vdpau.c:1482: warning: redundant redeclaration of 'vdp_presentation_queue_target_create_x11' libvo/vo_vdpau.c:142: warning: previous declaration of 'vdp_presentation_queue_target_create_x11' was here libvo/vo_vdpau.c:1483: warning: redundant redeclaration of 'vdp_presentation_queue_query_surface_status' libvo/vo_vdpau.c:143: warning: previous declaration of 'vdp_presentation_queue_query_surface_status' was here libvo/vo_vdpau.c:1486: warning: redundant redeclaration of 'vdp_output_surface_render_output_surface' libvo/vo_vdpau.c:146: warning: previous declaration of 'vdp_output_surface_render_output_surface' was here libvo/vo_vdpau.c:1487: warning: redundant redeclaration of 'vdp_output_surface_put_bits_indexed' libvo/vo_vdpau.c:147: warning: previous declaration of 'vdp_output_surface_put_bits_indexed' was here libvo/vo_vdpau.c:1489: warning: redundant redeclaration of 'vdp_decoder_create' libvo/vo_vdpau.c:149: warning: previous declaration of 'vdp_decoder_create' was here libvo/vo_vdpau.c:1490: warning: redundant redeclaration of 'vdp_decoder_destroy' libvo/vo_vdpau.c:150: warning: previous declaration of 'vdp_decoder_destroy' was here libvo/vo_vdpau.c:1491: warning: redundant redeclaration of 'vdp_decoder_render' libvo/vo_vdpau.c:151: warning: previous declaration of 'vdp_decoder_render' was here libvo/vo_vdpau.c:1493: warning: redundant redeclaration of 'videoSurfaces' libvo/vo_vdpau.c:153: warning: previous declaration of 'videoSurfaces' was here libvo/vo_vdpau.c:1494: warning: redundant redeclaration of 'outputSurfaces' libvo/vo_vdpau.c:154: warning: previous declaration of 'outputSurfaces' was here libvo/vo_vdpau.c:1495: warning: redundant redeclaration of 'videoSurface' libvo/vo_vdpau.c:155: warning: previous declaration of 'videoSurface' was here libvo/vo_vdpau.c:1496: warning: redundant redeclaration of 'outputSurface' libvo/vo_vdpau.c:156: warning: previous declaration of 'outputSurface' was here libvo/vo_vdpau.c:1498: warning: redundant redeclaration of 'decoder' libvo/vo_vdpau.c:158: warning: previous declaration of 'decoder' was here libvo/vo_vdpau.c:1499: warning: redundant redeclaration of 'videoMixer' libvo/vo_vdpau.c:159: warning: previous declaration of 'videoMixer' was here libvo/vo_vdpau.c:1501: warning: redundant redeclaration of 'outRect' libvo/vo_vdpau.c:161: warning: previous declaration of 'outRect' was here libvo/vo_vdpau.c:1502: warning: redundant redeclaration of 'outRectVid' libvo/vo_vdpau.c:162: warning: previous declaration of 'outRectVid' was here libvo/vo_vdpau.c:1504: warning: redundant redeclaration of 'surface_render' libvo/vo_vdpau.c:164: warning: previous declaration of 'surface_render' was here libvo/vo_vdpau.c:1505: warning: redundant redeclaration of 'surfaceNum' libvo/vo_vdpau.c:165: warning: previous declaration of 'surfaceNum' was here libvo/vo_vdpau.c:1506: warning: redundant redeclaration of 'vid_width' libvo/vo_vdpau.c:166: warning: previous declaration of 'vid_width' was here libvo/vo_vdpau.c:1506: warning: redundant redeclaration of 'vid_height' libvo/vo_vdpau.c:166: warning: previous declaration of 'vid_height' was here libvo/vo_vdpau.c:1507: warning: redundant redeclaration of 'image_format' libvo/vo_vdpau.c:167: warning: previous declaration of 'image_format' was here libvo/vo_vdpau.c:1508: warning: redundant redeclaration of 'num_video_surfaces' libvo/vo_vdpau.c:168: warning: previous declaration of 'num_video_surfaces' was here libvo/vo_vdpau.c:1509: warning: redundant redeclaration of 'num_reference_surfaces' libvo/vo_vdpau.c:169: warning: previous declaration of 'num_reference_surfaces' was here libvo/vo_vdpau.c:1512: warning: redundant redeclaration of 'indexData' libvo/vo_vdpau.c:172: warning: previous declaration of 'indexData' was here libvo/vo_vdpau.c:1513: warning: redundant redeclaration of 'indexData_size' libvo/vo_vdpau.c:173: warning: previous declaration of 'indexData_size' was here libvo/vo_vdpau.c:1514: warning: redundant redeclaration of 'osd_alloc' libvo/vo_vdpau.c:174: warning: previous declaration of 'osd_alloc' was here libvo/vo_vdpau.c:1515: warning: redundant redeclaration of 'palette' libvo/vo_vdpau.c:175: warning: previous declaration of 'palette' was here libvo/vo_vdpau.c:1520: error: redefinition of 'visible_buf' libvo/vo_vdpau.c:180: error: previous definition of 'visible_buf' was here libvo/vo_vdpau.c:1522: warning: redundant redeclaration of 'flip_flag' libvo/vo_vdpau.c:182: warning: previous declaration of 'flip_flag' was here libvo/vo_vdpau.c:1524: warning: redundant redeclaration of 'int_pause' libvo/vo_vdpau.c:184: warning: previous declaration of 'int_pause' was here libvo/vo_vdpau.c:1526: warning: redundant redeclaration of 'mRoot' libvo/vo_vdpau.c:186: warning: previous declaration of 'mRoot' was here libvo/vo_vdpau.c:1527: warning: redundant redeclaration of 'drwX' libvo/vo_vdpau.c:187: warning: previous declaration of 'drwX' was here libvo/vo_vdpau.c:1527: warning: redundant redeclaration of 'drwY' libvo/vo_vdpau.c:187: warning: previous declaration of 'drwY' was here libvo/vo_vdpau.c:1527: warning: redundant redeclaration of 'drwBorderWidth' libvo/vo_vdpau.c:187: warning: previous declaration of 'drwBorderWidth' was here libvo/vo_vdpau.c:1527: warning: redundant redeclaration of 'drwDepth' libvo/vo_vdpau.c:187: warning: previous declaration of 'drwDepth' was here libvo/vo_vdpau.c:1528: error: redefinition of 'max_width' libvo/vo_vdpau.c:188: error: previous definition of 'max_width' was here libvo/vo_vdpau.c:1528: error: redefinition of 'max_height' libvo/vo_vdpau.c:188: error: previous definition of 'max_height' was here libvo/vo_vdpau.c:1530: error: redefinition of 'calc_drwXY_dWH' libvo/vo_vdpau.c:191: error: previous definition of 'calc_drwXY_dWH' was here libvo/vo_vdpau.c:1559: error: redefinition of 'win_x11_init_vdpau_procs' libvo/vo_vdpau.c:220: error: previous definition of 'win_x11_init_vdpau_procs' was here libvo/vo_vdpau.c:1751: error: redefinition of 'win_x11_fini_vdpau_procs' libvo/vo_vdpau.c:412: error: previous definition of 'win_x11_fini_vdpau_procs' was here libvo/vo_vdpau.c:1764: error: redefinition of 'win_x11_init_vdpau_flip_queue' libvo/vo_vdpau.c:425: error: previous definition of 'win_x11_init_vdpau_flip_queue' was here libvo/vo_vdpau.c:1785: error: redefinition of 'win_x11_fini_vdpau_flip_queue' libvo/vo_vdpau.c:446: error: previous definition of 'win_x11_fini_vdpau_flip_queue' was here libvo/vo_vdpau.c:1806: error: redefinition of 'config' libvo/vo_vdpau.c:469: error: previous definition of 'config' was here libvo/vo_vdpau.c: In function 'config': libvo/vo_vdpau.c:2092: warning: ISO C90 forbids mixed declarations and code libvo/vo_vdpau.c: At top level: libvo/vo_vdpau.c:2142: error: redefinition of 'check_events' libvo/vo_vdpau.c:803: error: previous definition of 'check_events' was here libvo/vo_vdpau.c:2174: error: redefinition of 'draw_osd_I8A8' libvo/vo_vdpau.c:835: error: previous definition of 'draw_osd_I8A8' was here libvo/vo_vdpau.c: In function 'draw_osd_I8A8': libvo/vo_vdpau.c:2218: warning: passing argument 3 of 'vdp_output_surface_put_bits_indexed' from incompatible pointer type libvo/vo_vdpau.c: At top level: libvo/vo_vdpau.c:2242: error: redefinition of 'OSD_init' libvo/vo_vdpau.c:903: error: previous definition of 'OSD_init' was here libvo/vo_vdpau.c:2264: error: redefinition of 'draw_osd' libvo/vo_vdpau.c:925: error: previous definition of 'draw_osd' was here libvo/vo_vdpau.c:2276: error: redefinition of 'flip_page' libvo/vo_vdpau.c:937: error: previous definition of 'flip_page' was here libvo/vo_vdpau.c:2297: error: redefinition of 'start_slice' libvo/vo_vdpau.c:958: error: previous definition of 'start_slice' was here libvo/vo_vdpau.c:2304: error: redefinition of 'draw_slice' libvo/vo_vdpau.c:966: error: previous definition of 'draw_slice' was here libvo/vo_vdpau.c:2335: error: redefinition of 'draw_frame' libvo/vo_vdpau.c:996: error: previous definition of 'draw_frame' was here libvo/vo_vdpau.c:2345: error: redefinition of 'draw_image' libvo/vo_vdpau.c:1006: error: previous definition of 'draw_image' was here libvo/vo_vdpau.c: In function 'draw_image': libvo/vo_vdpau.c:2379: warning: passing argument 3 of 'vdp_video_surface_put_bits_y_cb_cr' from incompatible pointer type libvo/vo_vdpau.c:2410: warning: passing argument 2 of 'vdp_output_surface_put_bits_native' from incompatible pointer type libvo/vo_vdpau.c: At top level: libvo/vo_vdpau.c:2440: error: redefinition of 'find_free_surface' libvo/vo_vdpau.c:1101: error: previous definition of 'find_free_surface' was here libvo/vo_vdpau.c:2454: error: redefinition of 'get_image' libvo/vo_vdpau.c:1115: error: previous definition of 'get_image' was here libvo/vo_vdpau.c:2503: error: redefinition of 'query_format' libvo/vo_vdpau.c:1164: error: previous definition of 'query_format' was here libvo/vo_vdpau.c:2533: error: redefinition of 'DestroyVdpauObjects' libvo/vo_vdpau.c:1194: error: previous definition of 'DestroyVdpauObjects' was here libvo/vo_vdpau.c:2573: error: redefinition of 'uninit' libvo/vo_vdpau.c:1234: error: previous definition of 'uninit' was here libvo/vo_vdpau.c:2610: error: redefinition of 'preinit' libvo/vo_vdpau.c:1271: error: previous definition of 'preinit' was here libvo/vo_vdpau.c:2627: error: redefinition of 'control' libvo/vo_vdpau.c:1288: error: previous definition of 'control' was here make: *** [libvo/vo_vdpau.o] Error 1