[OSX/iOS] Little problem compiling samba [solved]

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #11
my build from scratch was fine. zero problems with samba.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
TheChief79 Offline
Member
Posts: 72
Joined: Jun 2012
Reputation: 0
Post: #12
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
(This post was last modified: 2012-07-23 12:34 by TheChief79.)
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #13
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.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
TheChief79 Offline
Member
Posts: 72
Joined: Jun 2012
Reputation: 0
Post: #14
The sources are the same as in the mainline. There is no change i the darwin depends. I still get this error and need a solution, that i can automate my compile process.

It is always the same error and the process breaks at samba:

Code:
Linking non-shared library bin/libwbclient.a
Linking shared library bin/libsmbclient.dylib.0
ld: warning: -pie being ignored. It is only used when linking a main executable
ld: in bin/libwbclient.a, archive has no table of contents for architecture i386
collect2: ld returned 1 exit status
make[2]: *** [bin/libsmbclient.dylib.0] Error 1
make[1]: *** [samba-3.6.0/source3/bin/libsmbclient.dylib] Error 2
make: *** [samba] Error 2

I always have to run "ranlib source3/bin/libwbclient.a". So can i put this command somewhere in the Makefile of samba?

Thanks
TheChief

EDIT: I think I solved the problem for me putting @ranlib $@ in Makefile.in in samba-3.6.0/source3 line 2243 and created a new tarball in Users/Shared/xbmc-depends/tarballs.
(This post was last modified: 2012-08-14 11:34 by TheChief79.)
find quote
TheChief79 Offline
Member
Posts: 72
Joined: Jun 2012
Reputation: 0
Post: #15
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!
find quote
Post Reply