[MPlayer-cygwin] Help!!! Mplayer compilation: a lot of errors during mencoder compiling...

Eugene Kovgar ken20001 at ukr.net
Sat Apr 11 22:45:35 CEST 2009


compn <tempn <at> twmi.rr.com> writes:

> 
> On Sat, 11 Apr 2009 17:22:52 +0000 (UTC), Eugene Kovgar wrote:
> >Please, help! Following errors occured compiling mencoder:
> >mencoder.c:1682: error: invalid type argument of `->'
> 
> line 1682:   if (pts > a_pts && a_pts == 0.0 && samplesize) {
> 
> probably your mencoder.c got corrupted, please del mencoder.c && svn
> update mencoder.c
> 
> -compn
> 
Thank you. It helped. But a lot of warning during compilation. Does it bad (See 
below)?


ene/include  -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c
libmpdemux/muxer_avi.c: In function `write_avi_chunk':
libmpdemux/muxer_avi.c:136: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c:137: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c: In function `avifile_odml_new_riff':
libmpdemux/muxer_avi.c:182: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c: In function `write_avi_list':
libmpdemux/muxer_avi.c:258: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c:259: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c:260: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c: In function `avifile_write_header':
libmpdemux/muxer_avi.c:308: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c:313: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c:326: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c:463: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c:471: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c:542: warning: long int format, different type arg (arg 5)
libmpdemux/muxer_avi.c:542: warning: long int format, different type arg (arg 6)
libmpdemux/muxer_avi.c: In function `avifile_odml_write_index':
libmpdemux/muxer_avi.c:623: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type
libmpdemux/muxer_avi.c:629: warning: passing arg 2 of `stream_write_buffer' 
from incompatible pointer type


ene/include  -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c
libmpcodecs/ve_lavc.c: In function `config':
libmpcodecs/ve_lavc.c:425: warning: implicit declaration of function `strsep'
libmpcodecs/ve_lavc.c:425: warning: assignment makes pointer from integer 
without a cast
libmpcodecs/ve_lavc.c:425: warning: redundant redeclaration of 'strsep'
libmpcodecs/ve_lavc.c:425: warning: previous implicit declaration of 'strsep' 
was here
libmpcodecs/ve_lavc.c:445: warning: assignment makes pointer from integer 
without a cast
libmpcodecs/ve_lavc.c:479: warning: wrong type argument to increment


In file included from C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv.h:41,
                 from libmpcodecs/ve_libdv.c:23:
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:29:5: warning: 
"HAVE_CONFIG_H" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:33:5: warning: 
"HAVE_LIBPOPT" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:41:5: warning: 
"HAVE_ENDIAN_H" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:43:7: warning: 
"HAVE_MACHINE_ENDIAN_H" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:256:6: warning: 
"BYTE_ORDER" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:256:20: warning: 
"LITTLE_ENDIAN" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:432:5: warning: 
"HAVE_LIBPOPT" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:446:5: warning: 
"HAVE_LIBPOPT" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:481:5: warning: 
"HAVE_LIBPOPT" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/libdv/dv_types.h:491:5: warning: 
"HAVE_LIBPOPT" is not defined


ene/include  -c -o libmpcodecs/ve_nuv.o libmpcodecs/ve_nuv.c
In file included from C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzoconf.h:72,
                 from C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzo1x.h:45,
                 from libmpcodecs/ve_nuv.c:23:
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:380:6: warning: 
"LZO_OS_POSIX" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:434:6: warning: 
"LZO_OS_DOS16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:434:22: warning: 
"LZO_OS_OS216" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:434:38: warning: 
"LZO_OS_WIN16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:442:6: warning: 
"LZO_OS_DOS32" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:442:22: warning: 
"LZO_OS_OS2" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:647:8: warning: 
"LZO_OS_DOS16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:647:24: warning: 
"LZO_OS_OS216" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:647:40: warning: 
"LZO_OS_WIN16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:654:8: warning: 
"LZO_ARCH_CRAY_MPP" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:780:11: warning: 
"LZO_ARCH_UNKNOWN" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:783:11: warning: 
"LZO_ARCH_UNKNOWN" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:786:11: warning: 
"LZO_ARCH_UNKNOWN" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:789:6: warning: 
"LZO_OS_OS216" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:789:22: warning: 
"LZO_OS_WIN16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:792:13: warning: 
"LZO_OS_DOS16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:795:13: warning: 
"LZO_OS_DOS16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:798:13: warning: 
"LZO_OS_DOS16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:808:6: warning: 
"LZO_ARCH_I086" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:828:6: warning: 
"LZO_ARCH_I086" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:913:8: warning: 
"LZO_ARCH_C166" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:931:8: warning: 
"LZO_ARCH_MCS251" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:947:8: warning: 
"LZO_ARCH_MCS51" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:963:8: warning: 
"LZO_ARCH_CRAY_PVP" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:968:6: warning: 
"LZO_MM_COMPACT" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1020:8: warning: 
"LZO_ARCH_CRAY_PVP" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1039:8: warning: 
"LZO_ARCH_CRAY_PVP" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1091:6: warning: 
"LZO_ARCH_I086" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1092:8: warning: 
"LZO_CC_CILLY" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1137:6: warning: 
"LZO_ARCH_I086" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1146:8: warning: 
"LZO_ARCH_AVR" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1146:24: warning: 
"LZO_ARCH_Z80" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1149:8: warning: 
"LZO_ARCH_C166" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1149:25: warning: 
"LZO_ARCH_MCS51" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1149:43: warning: 
"LZO_ARCH_MCS251" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1149:62: warning: 
"LZO_ARCH_MSP430" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1151:8: warning: 
"LZO_ARCH_H8300" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1166:8: warning: 
"LZO_ARCH_M16C" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1179:8: warning: 
"LZO_OS_OS400" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1183:8: warning: 
"LZO_OS_OS400" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1192:8: warning: 
"LZO_ARCH_SPU" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1209:6: warning: 
"LZO_ARCH_I086" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1209:23: warning: 
"LZO_ARCH_M16C" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1216:6: warning: 
"LZO_ARCH_I086" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1236:6: warning: 
"LZO_ARCH_ALPHA" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1238:8: warning: 
"LZO_ARCH_ALPHA" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1238:26: warning: 
"LZO_ARCH_AMD64" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1238:44: warning: 
"LZO_ARCH_BLACKFIN" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1238:65: warning: 
"LZO_ARCH_CRIS" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1238:82: warning: 
"LZO_ARCH_I086" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1321:8: warning: 
"LZO_CC_MWERKS" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1345:6: warning: 
"LZO_CC_CILLY" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1384:6: warning: 
"LZO_CC_TURBOC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1387:8: warning: 
"LZO_CC_BORLANDC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1389:8: warning: 
"LZO_CC_CILLY" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1529:8: warning: 
"LZO_CC_BORLANDC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1531:10: warning: 
"LZO_CC_BORLANDC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1531:29: warning: 
"LZO_CC_HIGHC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1531:45: warning: 
"LZO_CC_NDPC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1531:60: warning: 
"LZO_CC_PELLESC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1531:78: warning: 
"LZO_CC_TURBOC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1548:8: warning: 
"LZO_CC_BORLANDC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1550:10: warning: 
"LZO_CC_BORLANDC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1550:29: warning: 
"LZO_CC_NDPC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1550:44: warning: 
"LZO_CC_TURBOC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1552:10: warning: 
"LZO_CC_LLVM" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1554:10: warning: 
"LZO_CC_MSC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1556:10: warning: 
"LZO_CC_MSC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1558:10: warning: 
"LZO_CC_KEILC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1558:26: warning: 
"LZO_CC_PELLESC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1565:8: warning: 
"LZO_CC_WATCOMC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1567:10: warning: 
"LZO_CC_INTELC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1567:27: warning: 
"LZO_CC_WATCOMC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1583:8: warning: 
"LZO_CC_AZTECC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1583:25: warning: 
"LZO_CC_ZORTECHC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1585:10: warning: 
"LZO_CC_DMC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1585:24: warning: 
"LZO_CC_SYMANTECC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1587:10: warning: 
"LZO_CC_TURBOC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1594:8: warning: 
"LZO_CC_AZTECC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1596:10: warning: 
"LZO_CC_DMC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1596:24: warning: 
"LZO_CC_PACIFICC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1596:43: warning: 
"LZO_CC_SYMANTECC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1596:63: warning: 
"LZO_CC_ZORTECHC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1598:10: warning: 
"LZO_CC_MSC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1600:10: warning: 
"LZO_CC_TURBOC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1606:6: warning: 
"LZO_ARCH_I086" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1606:42: warning: 
"LZO_OS_DOS16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1606:58: warning: 
"LZO_OS_DOS32" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1606:74: warning: 
"LZO_OS_OS2" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1606:88: warning: 
"LZO_OS_OS216" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1606:104: warning: 
"LZO_OS_WIN16" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1669:6: warning: 
"LZO_OS_CYGWIN" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1669:24: warning: 
"LZO_OS_EMX" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1670:8: warning: 
"LZO_CC_WATCOMC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1672:11: warning: 
"LZO_OS_CYGWIN" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1678:6: warning: 
"LZO_ARCH_ALPHA" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1682:8: warning: 
"LZO_ARCH_AMD64" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1688:8: warning: 
"LZO_ARCH_ARM" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1689:8: warning: 
"LZO_ARCH_ARM" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1692:8: warning: 
"LZO_ARCH_CRIS" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1744:26: warning: 
"LZO_OS_DOS32" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1744:60: warning: 
"LZO_CC_DMC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1744:74: warning: 
"LZO_CC_INTELC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1744:91: warning: 
"LZO_CC_MSC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1744:105: warning: 
"LZO_CC_PELLESC" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1746:8: warning: 
"LZO_OS_WIN64" is not defined
C:/MinGW/MSYS/1.0.11/home/Eugene/include/lzo/lzodefs.h:1755:8: warning: 
"LZO_CC_INTELC" is not defined
libmpcodecs/ve_nuv.c: In function `put_image':
libmpcodecs/ve_nuv.c:137: warning: passing arg 4 of `lzo1x_1_compress' from 
incompatible pointer type
libmpcodecs/ve_nuv.c:162: warning: passing arg 4 of `lzo1x_1_compress' from 
incompatible pointer type

Is is something wrong and better to fix this somehow?





More information about the MPlayer-cygwin mailing list