[Samba] Trouble building Samba 2.2.5 of Solaris 9
Nir Soffer
nirs at exanet.com
Tue Aug 27 04:02:01 GMT 2002
If my memory doesn't fail me, then you need to specify -linet with
Solaris. Try man inet_aton, there should be a usage there that shows how
to compile with. Unfortunately I don't have access to a Solaris machine
right now to verify this.
Nir.
--
Nir Soffer -=- Software Engineer, Exanet Inc. -=-
"Father, why are all the children weeping? / They are merely crying son
O, are they merely crying, father? / Yes, true weeping is yet to come"
-- Nick Cave and the Bad Seeds, The Weeping Song
-----Original Message-----
From: J. Alexander Jacocks [mailto:jjacocks at mac.com]
Sent: Sunday, August 25, 2002 7:41 PM
To: samba at lists.samba.org
Subject: [Samba] Trouble building Samba 2.2.5 of Solaris 9
Looks like inet_aton has cropped up again, in libsmbclient.c:
if (!inet_aton(server, &rem_ip)) {
DEBUG(4, ("Could not convert IP address %s to struct in_addr\n",
server));
errno = ENOENT;
return NULL;
}
This function doesn't exist in Solaris, and causes this shared library
to fail to link, when called by other programs (notably KDE 3):
Undefined first referenced
symbol in file
inet_aton /usr/local/samba/lib/libsmbclient.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
Any ideas for a fix?
Thanks!
More information about the samba
mailing list