Could not find mDNSembedded - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184) +---- Thread: Could not find mDNSembedded (/showthread.php?tid=180128) |
Could not find mDNSembedded - rmcore - 2013-12-10 Hello all, Today I am trying to build on 32 bit Ubuntu 12.04 using NDK r9b and tool chain arm-linux-androideabi-4.8. I have built the dependencies according to 5.1 of the read me. I am now trying to run the following command from 5.2 of the readme. make -C tools/depends/target/xbmc I get the following error. checking for main in -lavahi-client... yes checking for embedded_mDNSInit in -lmDNSEmbedded... no configure: == Could not find mDNSEmbedded. Might prevent zeroconf support. == configure: == X11 enabled. == checking for X11... no configure: error: Could not find a required library. Please see the README for your platform. make: *** [../../../..//libxbmc.so] Error 1 make: Leaving directory `/home/adev/xbmc-android/tools/depends/target/xbmc' Can someone tell me what package provides embedded_mDNSInit? I have tried searching with apt-file and haven't had any luck with this one. I have also added the PPA from this page https://launchpad.net/~team-xbmc/+archive/xbmc-ppa-build-depends and it seems I am missing a package needed to build XBMC for android. Thanks, rdg RE: Could not find mDNSembedded - Memphiz - 2013-12-10 make -C tools/depends/target/mdnsresponder sounds like the depends make didn't run through ... do "cd tools/depends && make" and ensure that it really ends with "built dependencies successfully". RE: Could not find mDNSembedded - rmcore - 2013-12-10 I tried to run make again from the tools/depends directory as you suggested. Now I am getting the following error. [ -f /home/adev/opt/xbmc-deps/i686-linux-gnu/lib/pkgconfig/x11.pc ] || ln -s /usr/lib/i686-linux-gnu/pkgconfig/x11.pc /home/adev/opt/xbmc-deps/i686-linux-gnu/lib/pkgconfig/x11.pc ln: failed to create symbolic link `/home/adev/opt/xbmc-deps/i686-linux-gnu/lib/pkgconfig/x11.pc': File exists make[1]: *** [linux-system-libs] Error 1 make[1]: Leaving directory `/home/adev/xbmc-android/tools/depends/target' make: *** [target/.installed-i686-linux-gnu] Error 2 adev@ubuntu-precise-32:~/xbmc-android/tools/depends$ It looks like the link command is failing. I notice that I do not have a /usr/lib/i686-linux-gnu directory. Instead I have an /usr/lib/i386-linux-gnu directory. Did I run the wrong configure command? Here is the configure command I ran: ./configure --with-toolchain=/home/adev/opt/arm-linux-androideabi-4.8 --prefix=/home/adev/opt/xbmc-deps --host=i686-linux-gnu Thanks, rdg I tried the configure command again and it looks like i386-linux-gnu is unsupported: adev@ubuntu-precise-32:~/xbmc-android/tools/depends$ ./configure --with-toolchain=/home/adev/opt/arm-linux-androideabi-4.8 --prefix=/home/adev/opt/xbmc-deps --host=i386-linux-gnu configure: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used checking build system type... i686-pc-linux-gnu checking host system type... i386-pc-linux-gnu checking for unzip... yes checking for zip... yes checking for curl... /usr/bin/curl checking for tar... /bin/tar configure: error: unsupported host (i386-linux-gnu) RE: Could not find mDNSembedded - Memphiz - 2013-12-11 You are missing alot from the configure line. SEE tools/depends/README for an example of what is needed for configuring depends for android. Then start again from scratch - following tools/depends/README and docs/README.android as good as possible. RE: Could not find mDNSembedded - rmcore - 2013-12-11 Memphiz, Thanks for your reply. I have tried again using the following configure line. ./configure --with-toolchain=/home/adev/opt/arm-linux-androideabi-4.8/android-14 --prefix=/home/adev/opt/xbmc-deps --host=arm-linux-androideabi --with-sdk-path=/home/adev/opt/adt-bundle-linux-x86-20131030/sdk --with-ndk=/home/adev/opt/android-ndk-r9b --with-sdk=android-14 --with-tarballs=/tmp/xbmc-android The dependencies build: make[2]: Leaving directory `/home/adev/xbmc-android/tools/depends/target/xbmc-pvr-addons' touch .installed-arm-linux-androideabi-android-14 Dependencies built successfully. make[1]: Leaving directory `/home/adev/xbmc-android/tools/depends/target' adev@ubuntu-precise-32:~/xbmc-android/tools/depends$ However, now there is a compiler error. Do you think this is a problem in my configuration or is it a real compile problem? In file included from AndroidJoyStick.cpp:22:0: AndroidExtra.h:35:25: error: expected identifier before numeric constant #define AKEYCODE_ESCAPE 111 ^ AndroidExtra.h:35:25: error: expected '}' before numeric constant AndroidExtra.h:35:25: error: expected unqualified-id before numeric constant In file included from /home/adev/opt/arm-linux-androideabi-4.8/android-14/sysroot/usr/include/android/input.h:45:0, from /home/adev/opt/arm-linux-androideabi-4.8/android-14/sysroot/usr/include/android/native_activity.h:27, from XBMCApp.h:27, from AndroidJoyStick.cpp:23: /home/adev/opt/arm-linux-androideabi-4.8/android-14/sysroot/usr/include/android/keycodes.h:259:1: error: expected declaration before '}' token } ^ make[1]: *** [AndroidJoyStick.o] Error 1 make: *** [xbmc/android/activity/activity.a] Error 2 adev@ubuntu-precise-32:~/xbmc-android$ RE: Could not find mDNSembedded - pazeto - 2014-03-27 Hi rmcore, I'm with the same problem that u. My Error You resolved your error ? RE: Could not find mDNSembedded - Memphiz - 2014-03-28 use ndk r9 ... not r9something RE: Could not find mDNSembedded - pazeto - 2014-03-28 Nice.. work using ndk r9. Thanks Memphiz RE: Could not find mDNSembedded - un1versal - 2015-12-15 (2013-12-10, 20:43)Memphiz Wrote: make -C tools/depends/target/mdnsresponder Im getting this very error trying to compile from master today,, but Im not on Android, Im on x86 Linux side and seems to me this isnt a Linux library but rather an android one. In any case I NEVER needed this before. @wsnipex is compiling from master broken atm? All that reshuffle it looks broken to me from config log Code: configure:27802: checking for EGL From terminal Code: == PulseAudio support disabled. == EGL? seriously? Dependency nightmare, whats going on? Maybe related? https://github.com/xbmc/xbmc/pull/8467 or https://github.com/xbmc/xbmc/pull/8486 I see egl added in videoplayer, but no dependencies added to readme, whats the deal for NVIDIA now is this going the way of intel also?... idk... help? RE: Could not find mDNSembedded - wsnipex - 2015-12-16 nothing to do with mdns: Code: No package 'egl' found you need libegl1-mesa-dev edit: you shouldn't need this for nvidia only, did you try disabling vaapi already? RE: Could not find mDNSembedded - un1versal - 2015-12-16 Yes vaapi is explicitly disabled its has always been. I did install that dependency last night and managed to compile, but if you say I dont need it for nvidia then something is borked somewhere. Also.... The readmes need updating in any case to add libegl1-mesa-dev and remove the other mesa-gl from readmes, but not sure which, theres a few on readme linux and one on readme ubuntu Ill be happy to make a pr, if you be kind enough to tell me what needs removing when I open PR.. RE: Could not find mDNSembedded - wsnipex - 2015-12-16 seems egl is needed for nvidia as well |