View Single Post
  #5  
Old 03-15-2015, 06:38 AM
snuky snuky is offline
Junior Member
 
Join Date: Oct 2014
Posts: 12
snuky is on a distinguished road
Default

Re: Sources for a working rtmpdump+ilive?


Quote:
Originally Posted by biezom View Post
maybe with -V option you can learn more why it crashes
My output to make V=s
Code:
make[1]: Entering directory `/home/user/wrt/trunk'

make[2]: Entering directory `/home/user/wrt/trunk/package/libs/toolchain'
if [ -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean ]; then rm -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install
if [ -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean ]; then rm -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install
make[2]: Leaving directory `/home/user/wrt/trunk/package/libs/toolchain'
make[2]: Entering directory `/home/user/wrt/trunk/package/libs/ocf-crypto-headers'
make[2]: Leaving directory `/home/user/wrt/trunk/package/libs/ocf-crypto-headers'
make[2]: Entering directory `/home/user/wrt/trunk/package/libs/zlib'
if [ -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/zlib.default.install.clean ]; then rm -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/zlib.default.install /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/zlib.default.install.clean; fi; echo "zlib" >> /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/zlib.default.install
make[2]: Leaving directory `/home/user/wrt/trunk/package/libs/zlib'
make[2]: Entering directory `/home/user/wrt/trunk/package/libs/openssl'
if [ -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/openssl.default.install.clean ]; then rm -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/openssl.default.install /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/openssl.default.install.clean; fi; echo "libopenssl" >> /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/openssl.default.install
make[2]: Leaving directory `/home/user/wrt/trunk/package/libs/openssl'
make[2]: Entering directory `/home/user/wrt/trunk/feeds/mediawrt/utils/rtmpdump'
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16  -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16  -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make -j1 -C /home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3/. AR="mips-openwrt-linux-uclibc-gcc-ar" AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM="mips-openwrt-linux-uclibc-gcc-nm" CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB="mips-openwrt-linux-uclibc-gcc-ranlib" STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" INC="-I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include" XLDFLAGS="-L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib" ;
make[3]: Entering directory `/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3'
make[4]: Entering directory `/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3/librtmp'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3/librtmp'
mips-openwrt-linux-uclibc-gcc -Wall  -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpdump.o rtmpdump.c
cc1: note: someone does not honour COPTS correctly, passed 0 times
mips-openwrt-linux-uclibc-gcc -Wall -L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz -lm 
/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/librtmp.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
rtmpdump.o: In function `main':
rtmpdump.c:(.text.startup+0xf38): undefined reference to `AVcopy'
collect2: error: ld returned 1 exit status
make[3]: *** [rtmpdump] Error 1
make[3]: Leaving directory `/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3'
make[2]: *** [/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3/.built] Error 2
make[2]: Leaving directory `/home/user/wrt/trunk/feeds/mediawrt/utils/rtmpdump'
make[1]: *** [package/feeds/mediawrt/rtmpdump/compile] Error 2
make[1]: Leaving directory `/home/user/wrt/trunk
rtmpdump.c line 1050
Code:
if (playpath.av_len == 0 && parsedPlaypath.av_len)
		  {
                    playpath = AVcopy(parsedPlaypath);
		  }
AVcopy function is not defined at all so I skipped rtmpdump and i got a librtmp.so.1 and rtmpgw but

http://192.168.1.133:8080/?r=rtmp:%2...jsda6523 lDGD

i get
Code:
Connecting ... port: 1935, app: redirect
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!

Connecting ... port: 1935, app: redirect
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!
Reply With Quote