Build fails on OS X 10.6.8

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #16
manually remove the x86_64-apple-darwin10.8.0-pkg-config symlink


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #17
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.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
(This post was last modified: 2013-10-28 13:03 by Nuka1195.)
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #18
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.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #19
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.

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

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: #21
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

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

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: #23
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.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #24
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.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #25
[Image: gb6p.png]

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.

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: #26
[Image: kvz8.png]

Uploaded with ImageShack.us

Without reinstalling iTunes.

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

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,159
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #27
finally ... grats ... now we expect some nice improvements from you - know that you hogged 2 of us for support Tongue

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
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #28
itunes is on all my 10.6.8 boxes, never had an issue with it but then again, I don't have MacPorts installed.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #29
Smile thanks to both of you. Maybe uninstalling macports did the trick.

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: #30
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.

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