Build fails on OS X 10.6.8

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #1
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

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #2
New source didn't fix the issue.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #3
http://pastebin.com/4FNRvJ6X

there is the transcript file, not sure if its of any help.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #4
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.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #5
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.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
amet Offline
How do ya like them apples?
Posts: 3,943
Joined: Jul 2009
Reputation: 37
Location: Novi Sad / Dubai
Post: #6
the usual .bootstrap and ./configure is done for depends?

jenkins builds using xcode3.* so we know what it works.


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
davilla Online
Team-XBMC Developer
Posts: 11,385
Joined: Feb 2008
Reputation: 64
Post: #7
fixed in https://github.com/xbmc/xbmc/commit/a8ec...1edcc34fce


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,143
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #8
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.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
(This post was last modified: 2013-10-15 12:51 by Memphiz.)
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #9
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.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
(This post was last modified: 2013-10-15 17:25 by Nuka1195.)
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #10
Looking at the change log. It looks like the line that calls strip_memmem is commented out. I'll try uncommon ting it.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,143
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #11
#(STRIP_MEMMEM) has to be $(STRIP_MEMMEM) i guess.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,143
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #12
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?

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #13
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?

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,143
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #14
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...)

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #15
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.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Post Reply