Posts: 1,741
Joined: Jul 2006
Reputation:
4
Make sure yuo have all deps per the readme. The make clean; make dist clean; ./configure; make; sudo make install
If that doesn't work make really clean and then svn up followed by ./configure; make; sudo make install.
Posts: 7
Joined: May 2009
Reputation:
0
I'm having exactly the same problem, but i'm using latest stable release:
XBMC_9.04_Babylon-linux-osx-win32.tar.bz2
All deps are installed. The undefined reference `yp_get_default_domain' should either be provided by glibc(-devel) or libnsl, all of these are installed but the error is still there.
Any fix for this problem in sight?
Posts: 4,997
Joined: May 2004
Reputation:
12
What distro? You're going to have to try a little harder than that.
Posts: 7
Joined: May 2009
Reputation:
0
2009-05-31, 00:39
(This post was last modified: 2009-05-31, 00:52 by doktor5000.)
This is with mandriva 2009.1. What do you mean exactly by trying harder?
I'll try again with latest svn checkout if i find some time. But nevertheless - as mandriva forces some stricter policies on compiling software since two releases, the root cause of this problem is normally that the software or some autotools script is broken.
Or maybe is there a way to disable compilaton of the supplied libsmbclient and use the system library for that?
Posts: 4,997
Joined: May 2004
Reputation:
12
There are problems with the system lib ATM. It will abort on close if there are file handles open. At least that's my assumption after a brief look into the matter. Regardless, it's no solution for now.
What's your libc version? I'd be more interested in why libnsl needs explicitly linked on your system. It's pulled in here fine on ubuntu 9.04. I've heard conflicting reports on gentoo. No arch folks have bitched yet (HUGE surprise TBH).
Posts: 4,997
Joined: May 2004
Reputation:
12
The repack was for win32. It didn't compile from the tag.
Can someone post a command line for the link stage for xbmc.bin. ie the big ass line just before the error. There's no reason to have to explicitly link to libnsl.
Posts: 7
Joined: May 2009
Reputation:
0
Maybe you misunderstood a bit, i didn't link explicitly to libnsl, it just failed at the linking stage, whatever the reason was. The interesting thing is, i have installed no packages in between, and tried to rebuild with the 9.04.1 repack and it also compiled flawlessly.
I'll investigate further in this matter, will post my results if i get the error again.