Can't for the life of me get ios-depends to build - 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: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137) +---- Thread: Can't for the life of me get ios-depends to build (/showthread.php?tid=100289) |
Can't for the life of me get ios-depends to build - mjar81 - 2011-04-28 Any clue on what I may be doing wrong or how I can fix it? I'm following the instructions here: https://github.com/xbmc/xbmc/blob/master/README.ios My Computer is a Mid-2009 Macbook Pro OS 10.6.7 Trying to build from source (git commit 2e6a98c01a48f90dbc5d8b615b247f2720b07ad5) 1. download source - OK 2. "sudo mkdir -p /usr/local/bin; sudo cp tools/osx/ios-depends/gas-preprocessor/gas-preprocessor.pl /usr/local/bin/" - OK 3. "make -C tools/osx/ios-depends" - FAILS Error: gcc -std=gnu99 -o dpkg archives.o cleanup.o configure.o depcon.o enquiry.o errors.o filesdb.o help.o main.o packages.o processarc.o remove.o select.o trigproc.o update.o ../libcompat/libcompat.a ../lib/libdpkg.a -lz -lbz2
Undefined symbols for architecture x86_64: "_libintl_gettext", referenced from: _print_and_abort in libcompat.a(obstack.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: *** [dpkg] Error 1 make[1]: *** [dpkg] Error 2 make: *** [dpkg] Error 2 Here is my console log: http://pastebin.com/wpanewgA Any help would be greatly appreciated. - davilla - 2011-04-28 dkpg is not linking to libintl correctly It can find the headers: checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes config.log for dpkg might have more info. It's very important to 'make -C tools/osx/ios-depends distclean' before re-trying if you have make problems. - mjar81 - 2011-04-28 Thanks for the quick reply and definitely thanks for the heads up about running that command after a bad build. Here's the contents of my dpkg config.log: http://pastebin.com/9y0dZidm Again, thanks for the help. - mjar81 - 2011-04-28 OK, so i was able to get past that error by changing the CONFIGURE parameter in make file for dpkg to: Code: CONFIGURE=./configure CC='cc -m32' CXX='g++ -m32' --prefix=$(PREFIX) --enable-static --disable-shared Now i'm running into a problem with samba, with the exact same error messages as this thread: http://forum.xbmc.org/showthread.php?p=751857 But i was able to get through those issues. still in the build process. I'll let you know how it winds up. |