CVS: compiling on Solaris 2.5.1

Stefan Nehlsen stn at
Thu Aug 20 08:25:21 GMT 1998


there is a small problem with compiling the cvs version of Samba on
Solaris (2.5.1). It's around for a while now and so I report it now.

On Solaris Samba has to has to linked against libsocket and libnsl.
configure doesn't put

LIBS=-lsocket -lnsl

into the Makefile.

Another problem might be this warning:

Compiling lib/netmask.c
lib/netmask.c:317: warning: `struct in_addr' declared inside parameter list
lib/netmask.c:317: warning: its scope is only this definition or declaration,
lib/netmask.c:317: warning: which is probably not what you want.

I use gcc version

cu, Stefan

More information about the samba-technical mailing list