Kodi Community Forum
Build fails on OS X 10.6.8 - 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: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: Build fails on OS X 10.6.8 (/showthread.php?tid=175559)

Pages: 1 2 3


RE: Build fails on OS X 10.6.8 - davilla - 2013-10-28

manually remove the x86_64-apple-darwin10.8.0-pkg-config symlink


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-28

http://pastebin.com/YUuyuXfK

Quote:ld: warning: can't add line info to anonymous symbol __ZN15CPictureInfoTag7ArchiveER8CArchive.lsda from /Users/scottjohns/Development/xbmc/build/XBMC.build/Release/XBMC.build/Objects-normal/x86_64/PictureInfoTag.o
ld: warning: can't add line info to anonymous symbol 4-byte-literal=0x3F800000 from /Users/scottjohns/Development/xbmc/build/XBMC.build/Release/XBMC.build/Objects-normal/x86_64/PeripheralCecAdapter.o
ld: warning: can't add line info to anonymous symbol 4-byte-literal=0x3F800000 from /Users/scottjohns/Development/xbmc/build/XBMC.build/Release/XBMC.build/Objects-normal/x86_64/BitstreamConverter.o
Undefined symbols:
"_memmem", referenced from:
_parse_pem_cert_mem in libmicrohttpd.a(gnutls_x509.o)
_parse_pem_cert_mem in libmicrohttpd.a(gnutls_x509.o)
_parse_pem_cert_mem in libmicrohttpd.a(gnutls_x509.o)
_parse_pem_cert_mem in libmicrohttpd.a(gnutls_x509.o)
_MHD__gnutls_fbase64_decode in libmicrohttpd.a(x509_b64.o)
_MHD__gnutls_fbase64_decode in libmicrohttpd.a(x509_b64.o)
_MHD__gnutls_fbase64_decode in libmicrohttpd.a(x509_b64.o)
_MHD__gnutls_fbase64_decode in libmicrohttpd.a(x509_b64.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

ok make worked now, but build failed in xcode.


RE: Build fails on OS X 10.6.8 - davilla - 2013-10-28

remove gnutils.


make -C tools/depends/target/gnutils/<build dir> uninstall

<build dir> will be something like 'macosx10.6_x86_64-target' , it depends on your target.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-29

Thanks for all your help, but unfortunately no folder exists under gnutils. I did a 'git clean -fdx' before so it should have been deleted if there was an old one.

I have deleted the share xbmc-depends folder to make sure all tarballs are downloaded new, and the above git clean command.

There is something odd with my system, if memphiz can build on 10.6.8, and I seem to be the only one having this issue on snow leopard.

I will try uninstalling macports? I did read somewhere that it could interfere.


Build fails on OS X 10.6.8 - Memphiz - 2013-10-29

it is called gnutls and master builds fine atm. If you removed xbmc-depends in /Users/Shared and rellay checked out master - it should be no problem. Could you try with i386? Maybe we are missing something for x64?


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-29

http://pastebin.com/n9G3sTdk

No building for i386 fails also, but more errors. it looks like it is still trying to target 64 bit.


Quote:find: /Users/Shared/xbmc-depends/macosx10.6_x86_64-target: No such file or directory



RE: Build fails on OS X 10.6.8 - Memphiz - 2013-10-29

sry - i can just say - go around the world. configure depends for i386 as told in tools/depends/README make depends (maybe without -j option if in doubt), do the xcode_depends and compile the i386 target in xcode. This HAS to work!


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-29

I followed the readme from the beginning.

3.1.1 Compiling as 32 Bit binary
$ cd $HOME/XBMC
$ cd tools/depends
$ ./bootstrap
$ ./configure --host=i386-apple-darwin
$ make

$ cd $HOME/XBMC
$ make -C tools/depends/target/xbmc
$ make clean
$ make xcode_depends


I know it's my system, just not sure how to reset everything or what is causing the issues. I don't want to reinstall OSX or know if that is even necessary.

I'll try uninstalling macports.


RE: Build fails on OS X 10.6.8 - davilla - 2013-10-29

the location where depends are installed and referenced are poisoned, you need to delete it. Look in /Users/Shared/xbmc-depends/ for macosx10.6_x86_64-target or macosx10.6_i386-target. That's the default depends install location.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-30

Image

Uploaded with ImageShack.us

Davilla, I deleted that folder and let make download all new files. Do either of you have itunes installed?

I uninstalled macports and reinstalled xcode 3.2.6. I was prompted to quit itunes helper. I did in Activity Monitor. I now get the above message. last time i reinstalled itunes. I will try and build xbmc first then install itunes. I don't know why it would interfere, but it seems to.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-30

Image

Uploaded with ImageShack.us

Without reinstalling iTunes.

But I need iTunes installed, so we'll see.


RE: Build fails on OS X 10.6.8 - Memphiz - 2013-10-30

finally ... grats ... now we expect some nice improvements from you - know that you hogged 2 of us for support :p


RE: Build fails on OS X 10.6.8 - davilla - 2013-10-30

itunes is on all my 10.6.8 boxes, never had an issue with it but then again, I don't have MacPorts installed.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-30

Smile thanks to both of you. Maybe uninstalling macports did the trick.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-11-11

Building still works here, but, project.pbxproj file keeps getting changed. this happened before and there was a fix you applied that i can't find now.

wish i could be more help, the only issue is when i rebase, i always have to reset that file, no big deal.