[Samba] Problem building samba 2.2.5 on Solaris 9

J. Alexander Jacocks jjacocks at mac.com
Wed Aug 21 17:18: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", 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?


More information about the samba mailing list