Posts: 72
Joined: Jun 2012
Reputation:
0
2012-07-22, 13:10
(This post was last modified: 2012-08-16, 10:03 by TheChief79.)
Each time when i compile the OSX/iOS build depends it stops on compiling samba. I get something like:
ld: in bin/libwbclient.a, archive has no table of contents
collect2: ld returned 1 exit status
make[1]: *** [bin/libsmbclient.dylib.0] Error 1
I have to run "ranlib libwbclient.a" in the source3/bin folder manually, before i can finally build samba.
How can this be fixed? Maybe this can be placed in the Makefile?
I'm using Xcode 4.3.2 on Lion 10.7.4, but i had this issue on 10.6 and XCode 3.x, too.
If you need additional information, let me know.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
need more info, what hw are you building under ? make or make -jX in depends ? , etc.
Posts: 72
Joined: Jun 2012
Reputation:
0
I'm building on an iMac 8,1 and i just build with "make" according to the README.osx/ios. I have this issue since new build system. I already tried to delete all stuff under /Users/shared/xbmc-depends, but no success. make always stops at samba due to this error. Can you build samba without error?
Thanks for your help
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
very odd, checking a from scratch build
Posts: 72
Joined: Jun 2012
Reputation:
0
I have this from the beginning i build XBMC for OSX/iOS, dont know why. Let me know, if you have any idea.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
do you have macports installed or is this a neked 10.7.4 setup.
Posts: 72
Joined: Jun 2012
Reputation:
0
This didn't help, no success...strange.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
my build from scratch was fine. zero problems with samba.
Posts: 72
Joined: Jun 2012
Reputation:
0
2012-07-23, 08:57
(This post was last modified: 2012-07-23, 12:34 by TheChief79.)
Hm, i have no idea. Can you tell me, where i could place "ranlib bin/libwbclient.a" in the Makefiles of samba, that i can make a patch for myself and that i can compile without stopping at samba?
Or maybe it is an issue in the PVR deleopment tree? I just compile margros/opdenkamps xbmc branch.
Thanks
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
Oh, you are in PVR deleopment tree, who knows where that branch is with respect to mainline. Please checkout mainline git and build depends from it.
Posts: 72
Joined: Jun 2012
Reputation:
0
Finally, i found out, that all my problem are casused by iTerm.app. No when i use Terminal.app, everything works. So this is solved!
iTerm.app i will remove.
Thanks for your help!