Samba4 wrongly configured to use empty get_interfaces() on Solaris

petr sumbera - Sun Microsystems - Prague Czech Republic Petr.Sumbera at Sun.COM
Tue Aug 15 15:45:14 GMT 2006


When configuring latest Samba 4 on Solaris no HAVE_IFACE_* is defined. 
Which means that empty function for get_interfaces() is used.

The right choice should be version defined with HAVE_IFACE_IFCONF. 
Problem is that the test program from configure is not linked with 
"-lnsl -lsocket":

configure:25981: checking for iface ifreq
configure:26003: gcc -o conftest    conftest.c  >&5
Undefined                       first referenced
  symbol                             in file
socket                              /var/tmp//cc9ra48H.o
inet_ntoa                           /var/tmp//cc9ra48H.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:26006: $? = 1
configure: program exited with status 1


Can anybody see the point where we should fix this?



More information about the samba-technical mailing list