Samba4 wrongly configured to use empty get_interfaces() on Solaris

Andrew Bartlett abartlet at
Tue Aug 15 22:46:56 GMT 2006

On Tue, 2006-08-15 at 23:09 +0200, Stefan (metze) Metzmacher wrote:
> Hash: SHA1
> petr sumbera - Sun Microsystems - Prague Czech Republic schrieb:
> Hi Peter,
> > 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":
> are really both needed?
> > 
> > Can anybody see the point where we should fix this?
> we check for -lnsl and -lsocket in lib/socket/config.m4,
> maybe it would be useful to move the lib/netif/ code to lib/socket/
> and then wrapp the netif tests into this:
> tests
> LIBS=$old_LIBS
> has onyone a better idea?
> We should also let the configure test bail out if no interface code
> is found!

That sounds like the best strategy.  lib/netif and lib/socket are pretty
small and related subsystems anyway, I don't see a problem in them
sharing a folder.

Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 
Samba Developer, Red Hat Inc.        
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list