XBMC 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
I'm having issues build xbmc.app on OS X snow leopard with xcode 3.2.6. I've tried everything I know, but trashing the xbmc source and downloading new.

here is a screenshot of xcode. I'm not sure where the log that would help would be. I know not very descriptive, but if anybody has a tip.

Things I've tried.
reinstalling xcode, by dleting the Developer folder and installing new. maybe I should uninstall somehow.
deleting all the xbmc_depends folder.
git clean
make clean in xbmc folder and tools/depends folder
of course clean inside xcode.

if no ideas I'll try deleting the source folder and redownloading.

[Image: 9esc.png]

Uploaded with ImageShack.us
New source didn't fix the issue.

there is the transcript file, not sure if its of any help.
Quote:ld: duplicate symbol _memmem in /Users/Shared/xbmc-depends/macosx10.6_x86_64-target/lib/libgnutls.a(memmem.o) and /Users/Shared/xbmc-depends/macosx10.6_x86_64-target/lib/libmicrohttpd.a(memmem.o)
collect2: ld returned 1 exit status
Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1

seems to be the key to the link failure. i've searched the wiki and here. i don't see any steps in the readme that i missed?

are the developers building on 10.6.8 still? iTunes was interferring with installing xcode again. i had to stop iTunes helper. then i had to reinstall itunes 11.1.1.
resetting source back to june 15 (the last time i successfully built xbmc) works.

so something has changed somewhere. I am on a case sensitive file system if that could possibly be it.
the usual .bootstrap and ./configure is done for depends?

jenkins builds using xcode3.* so we know what it works.
davilla why did this work on jenkins then? Because it uses 10.8sdk and doesn't run 10.6.8? Well i develop on 10.6.8 using xcode 3.2.6 and didn't seet that linker error tbh.
Hi and thank you, unfortunately I still get the error. I do see your change in source.

Quote:ld: duplicate symbol _memmem in /Users/Shared/xbmc-depends/macosx10.6_x86_64-target/lib/libgnutls.a(memmem.o) and /Users/Shared/xbmc-depends/macosx10.6_x86_64-target/lib/libmicrohttpd.a(memmem.o)
collect2: ld returned 1 exit status
Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1

I deleted the shared folder and did git clean. I followed the help file from the start.

I'm trying a make clean under tools/depends now.
Looking at the change log. It looks like the line that calls strip_memmem is commented out. I'll try uncommon ting it.
#(STRIP_MEMMEM) has to be $(STRIP_MEMMEM) i guess.
btw i am still building and linking fine with xcode 3.2.6 under 10.6.8 - i really wonder what is the problem.

@nuka which target are you building with which settings?
Release / XBMC.app / XBMC / x86_64

It does work now with the uncommenting of STRIP_MEMMEM.

I'm on a case sensitive file system, I don't know what other specs would be helpful to you. When I reinstalled xcode 3.2.6. I got a message that i needed to close iTunes, which was iTunes helper. Then the installation of xcode 3.2.6 worked, but corrupted? the iTunes installation so I had to reinstall iTunes 11.1.1. I don't know why that would interfere for building for XBMC, but maybe iTunes 11.1.1 does something?
Mhhh didn't try this configuration for a long time (i never build the .app - only the bin and then run it in the debugger...)
Now make fails for me.

Quote:ln: x86_64-apple-darwin10.8.0-pkg-config: File exists
make[6]: *** [install-exec-hook] Error 1
make[5]: *** [install-exec-am] Error 2
make[4]: *** [install-am] Error 2
make[3]: *** [install-recursive] Error 1
make[2]: *** [.installed-x86_64-darwin10.8.0-native] Error 2
make[1]: *** [pkg-config-native] Error 2
make: *** [native/.installed-x86_64-darwin10.8.0-native] Error 2

I thought i read somewhere macports can interfere? I think i installed that awhile ago to build for android? anyways i do have that folder, but i've also reinstalled xcode so i don't know what my issues are.
Pages: 1 2 3
Reference URL's