SAMBA 4 - compilation on Solaris (strsep missing)

petr sumbera - Sun Microsystems - Prague Czech Republic Petr.Sumbera at Sun.COM
Tue Aug 1 16:21:12 GMT 2006


Hello guys,

I have just tried to compile Samba 4 from repository on Solaris. It went 
quite good except this stopper:

strsep is not available on Soalirs

I recommend add this function into:

source/heimdal/lib/roken/strsep_copy.c
(with #ifndef HAVE_STRSEP).

I believe we can use for example OpenBSD implementation:

http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/strsep.c?rev=1.6&content-type=text/x-cvsweb-markup

Cheers,

Petr




More information about the samba-technical mailing list