[Samba] Trouble building Samba 2.2.5 of Solaris 9

J. Alexander Jacocks jjacocks at mac.com
Sun Aug 25 08:42:01 GMT 2002

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",
  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?
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the samba mailing list