Kodi Community Forum

Full Version: Build fails on OS X 10.6.8
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
manually remove the x86_64-apple-darwin10.8.0-pkg-config symlink
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.
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.
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.
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?
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
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!
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.
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.
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.
Image

Uploaded with ImageShack.us

Without reinstalling iTunes.

But I need iTunes installed, so we'll see.
finally ... grats ... now we expect some nice improvements from you - know that you hogged 2 of us for support :p
itunes is on all my 10.6.8 boxes, never had an issue with it but then again, I don't have MacPorts installed.
Smile thanks to both of you. Maybe uninstalling macports did the trick.
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.
Pages: 1 2 3