Kodi Community Forum
librtmp.so crashes XBMC? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Android (https://forum.kodi.tv/forumdisplay.php?fid=164)
+---- Thread: librtmp.so crashes XBMC? (/showthread.php?tid=160248)



librtmp.so crashes XBMC? - RedPenguin - 2013-03-24

My buddy has just bought a Nexus 7 WiFi and I am attempting to compile a librtmp.so so he can do redirects and others with a newer librtmp than the normal one included in XBMC.

The only problem is the one included in XBMC is over 1MB and mine with the arm-linux-androideabi cross-compiler comes out to 416KB and it just causes XBMC to crash claiming it's having issues loading libcurl, which I found out cause I did not touch libcurl in anyway and if you put the original librtmp.so back in place XBMC functions normally.

I have a feeling that somehow ssl and zlib are compiled into the included librtmp.so maming it bigger.

Does anyone have any experience using the Win 64 and/or Win 32 Android SDK in Cygwin 1.7 or even in Ubuntu 64-bit.

For some reason no matter how hard I try with the cross-compiler I just get the following error:

/opt/cross/x-tools/arm-linux-androideabi/bin/../lib/gcc/arm-linux-androideabi/4.6.3/../../../../arm-linux-androideabi/lib/crtbegin_dynamic.o: In function `_start':
rtmp.o: In function `HandleInvoke':
rtmp.c:(.text+0x9804): undefined reference to `sqrt'
rtmp.c:(.text+0x9808): undefined reference to `atan'
rtmp.c:(.text+0x980c): undefined reference to `exp'
collect2: ld returned 1 exit status
Makefile:90: recipe for target `librtmp' failed

Yet if I do "cd librtmp" and do it, it works fine spitting out a librtmp.so.0.