Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not compile on android #49

Closed
ksooo opened this issue Oct 29, 2016 · 5 comments
Closed

does not compile on android #49

ksooo opened this issue Oct 29, 2016 · 5 comments
Labels

Comments

@ksooo
Copy link
Member

ksooo commented Oct 29, 2016

compilation of master fails on android:

/home/jenkins/workspace/Android-ARM/tools/depends/target/binary-addons/arm-linux-androideabi-android-21/build/pvr.mediaportal.tvserver/src/lib/live555/groupsock/GroupsockHelper.cpp:503:21: error: request for member 's_addr' in 'imr.ip_mreq_source::imr_multiaddr', which is of non-class type '__be32 {aka unsigned int}'
   imr.imr_multiaddr.s_addr = groupAddress;
                     ^
[ 64%] Building C object CMakeFiles/pvr.mediaportal.tvserver.dir/src/lib/live555/groupsock/inet.c.o
/home/jenkins/workspace/Android-ARM/tools/depends/target/binary-addons/arm-linux-androideabi-android-21/build/pvr.mediaportal.tvserver/src/lib/live555/groupsock/GroupsockHelper.cpp:504:22: error: request for member 's_addr' in 'imr.ip_mreq_source::imr_sourceaddr', which is of non-class type '__be32 {aka unsigned int}'
   imr.imr_sourceaddr.s_addr = sourceFilterAddr;
                      ^
/home/jenkins/workspace/Android-ARM/tools/depends/target/binary-addons/arm-linux-androideabi-android-21/build/pvr.mediaportal.tvserver/src/lib/live555/groupsock/GroupsockHelper.cpp:505:21: error: request for member 's_addr' in 'imr.ip_mreq_source::imr_interface', which is of non-class type '__be32 {aka unsigned int}'
   imr.imr_interface.s_addr = ReceivingInterfaceAddr;
                     ^
/home/jenkins/workspace/Android-ARM/tools/depends/target/binary-addons/arm-linux-androideabi-android-21/build/pvr.mediaportal.tvserver/src/lib/live555/groupsock/GroupsockHelper.cpp: In function 'Boolean socketLeaveGroupSSM(UsageEnvironment&, int, netAddressBits, netAddressBits)':
/home/jenkins/workspace/Android-ARM/tools/depends/target/binary-addons/arm-linux-androideabi-android-21/build/pvr.mediaportal.tvserver/src/lib/live555/groupsock/GroupsockHelper.cpp:521:21: error: request for member 's_addr' in 'imr.ip_mreq_source::imr_multiaddr', which is of non-class type '__be32 {aka unsigned int}'
   imr.imr_multiaddr.s_addr = groupAddress;
                     ^
/home/jenkins/workspace/Android-ARM/tools/depends/target/binary-addons/arm-linux-androideabi-android-21/build/pvr.mediaportal.tvserver/src/lib/live555/groupsock/GroupsockHelper.cpp:522:22: error: request for member 's_addr' in 'imr.ip_mreq_source::imr_sourceaddr', which is of non-class type '__be32 {aka unsigned int}'
   imr.imr_sourceaddr.s_addr = sourceFilterAddr;
                      ^
/home/jenkins/workspace/Android-ARM/tools/depends/target/binary-addons/arm-linux-androideabi-android-21/build/pvr.mediaportal.tvserver/src/lib/live555/groupsock/GroupsockHelper.cpp:523:21: error: request for member 's_addr' in 'imr.ip_mreq_source::imr_interface', which is of non-class type '__be32 {aka unsigned int}'
   imr.imr_interface.s_addr = ReceivingInterfaceAddr;
@ksooo
Copy link
Member Author

ksooo commented Oct 29, 2016

@koying do you have a clue what could be the problem/fix?

@ksooo ksooo added the bug label Oct 29, 2016
@margro
Copy link
Member

margro commented Oct 29, 2016

Hmm, this is code from an external library live555 used for rtsp stream reading. I'm already in the progress of trying to switch to the latest version (current code is from 2008) but somehow, the latest version does not stream at all. MediaPortal itself also never upgraded their live555 copy (probably for a good reason).

What we could do as temporary fix is disable live555 support for Android only.
Which CMake variable can I use to detect an Android build?

@ksooo
Copy link
Member Author

ksooo commented Oct 29, 2016

@margro people complaining in the forum no longer having the addon on android. maybe you can tell them? => http://forum.kodi.tv/showthread.php?tid=294090&pid=2446393#pid2446393

What we could do as temporary fix is disable live555 support for Android only.
Which CMake variable can I use to detect an Android build?

@hudokkow ^^^^

@margro
Copy link
Member

margro commented Oct 29, 2016

@ksooo I will respond there. I probably have a proper fix that I can backport from upstream live555.

@ksooo
Copy link
Member Author

ksooo commented Oct 29, 2016

@margro cool, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants