svn commit: samba r18018 - in branches/SAMBA_4_0/source/lib: ldb/replace replace

Petr Sumbera Petr.Sumbera at Sun.COM
Mon Sep 4 09:56:22 GMT 2006


tridge at samba.org wrote:
>  > Fix the build on OpenBSD. No license problem this time, I've written strnlen
>  > from scratch.
> 
> :-)
> 
> In case you hadn't guessed, strnlen() wasn't the problem (as far as
> license goes). The problem was timegm.c, which was taken from Heimdal.
> 
> We're allowed to use timegm.c, as it's a GPL compatible license, but
> we have to keep it in a separate file as it has a "need to keep this
> notice attached to the source" clause.
> 
> Cheers, Tridge

Yes, and timegm() issue is still pending to solve it. At least on 
Solaris. Build fails now on:

Linking bin/nmblookup
Undefined                       first referenced
  symbol                             in file
timegm                              bin/libsamba-util.a(time.o)
ld: fatal: Symbol referencing errors. No output written to bin/nmblookup

Working workaround for this is still to have timegm() in 
lib/replace/replace.c only.

Cheers,

Petr


More information about the samba-technical mailing list