[MPlayer-users] mplayer fails to build with Live555 library
Umar Qureshey
umar at janteq.com
Fri Jul 26 01:00:47 CEST 2013
Hi,
I am trying to compile a recent svn version of mplayer with the latest livemedia library (http://live555.com/liveMedia/public/) so I can do RTSP streaming. However, the build fails:
codec-cfg.c: In function 'parse_codec_cfg':
codec-cfg.c:580:22: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
codec-cfg.c:581:22: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc -MMD -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 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=softfp -I/home/lab/umar/imx6/ltib/rootfs/usr/include/ -I/home/lab/umar/imx6/ltib/rootfs/usr/src/linux/include/ -I/home/lab/umar/imx6/ltib/rootfs/usr/include/directfb/ -I/home/lab/umar/umar_stuff/live/install/usr/local/include/liveMedia -I/home/lab/umar/umar_stuff/live/install/usr/local/include/groupsock -I/home/lab/umar/umar_stuff/live/install/usr/local/include/BasicUsageEnvironment -I/home/lab/umar/umar_stuff/live/install/usr/local/include/UsageEnvironment -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1 -marm -D_REENTRANT -c -o mpcommon.o mpcommon.c
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=softfp -I/home/lab/umar/imx6/ltib/rootfs/usr/include/ -I/home/lab/umar/imx6/ltib/rootfs/usr/src/linux/include/ -I/home/lab/umar/imx6/ltib/rootfs/usr/include/directfb/ -I/home/lab/umar/umar_stuff/live/install/usr/local/include/liveMedia -I/home/lab/umar/umar_stuff/live/install/usr/local/include/groupsock -I/home/lab/umar/umar_stuff/live/install/usr/local/include/BasicUsageEnvironment -I/home/lab/umar/umar_stuff/live/install/usr/local/include/UsageEnvironment -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1 -marm -D_REENTRANT -c -o libmpdemux/demux_rtp.o libmpdemux/demux_rtp.cpp
libmpdemux/demux_rtp.cpp: In function 'char* openURL_rtsp(RTSPClient*, const char*)':
libmpdemux/demux_rtp.cpp:101:20: error: 'class RTSPClient' has no member named 'describeWithPassword'
libmpdemux/demux_rtp.cpp:103:20: error: 'class RTSPClient' has no member named 'describeURL'
libmpdemux/demux_rtp.cpp: In function 'demuxer_t* demux_open_rtp(demuxer_t*)':
libmpdemux/demux_rtp.cpp:157:82: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
/home/lab/umar/umar_stuff/live/install/usr/local/include/liveMedia/RTSPClient.hh:39:22: error: initializing argument 2 of 'static RTSPClient* RTSPClient::createNew(UsageEnvironment&, const char*, int, const char*, portNumBits, int)' [-fpermissive]
libmpdemux/demux_rtp.cpp:157:82: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
/home/lab/umar/umar_stuff/live/install/usr/local/include/liveMedia/RTSPClient.hh:39:22: error: initializing argument 3 of 'static RTSPClient* RTSPClient::createNew(UsageEnvironment&, const char*, int, const char*, portNumBits, int)' [-fpermissive]
libmpdemux/demux_rtp.cpp:157:82: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
/home/lab/umar/umar_stuff/live/install/usr/local/include/liveMedia/RTSPClient.hh:39:22: error: initializing argument 4 of 'static RTSPClient* RTSPClient::createNew(UsageEnvironment&, const char*, int, const char*, portNumBits, int)' [-fpermissive]
libmpdemux/demux_rtp.cpp:247:21: error: 'class RTSPClient' has no member named 'setupMediaSubsession'
libmpdemux/demux_rtp.cpp:259:24: error: 'class RTSPClient' has no member named 'playMediaSession'
libmpdemux/demux_rtp.cpp: In function 'void teardownRTSPorSIPSession(RTPState*)':
libmpdemux/demux_rtp.cpp:648:27: error: 'class RTSPClient' has no member named 'teardownMediaSession'
libmpdemux/demux_rtp.cpp: In function 'char* openURL_rtsp(RTSPClient*, const char*)':
libmpdemux/demux_rtp.cpp:105:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [libmpdemux/demux_rtp.o] Error 1
Is there a fix or workaround for this?
More information about the MPlayer-users
mailing list