Building samba4 against system Heimdal

Andrew Bartlett abartlet at samba.org
Mon May 16 07:58:28 MDT 2011


On Sat, 2011-05-14 at 01:11 +0200, Luke Howard wrote:
> BTW, could f18cca9a0a690013eb609719c4798da9b0e1054b have broken the OS X build? I get now:
> 
> [ 621/3342] Compiling lib/util/charset/charset_macosxfs.c
> ../lib/util/charset/charset_macosxfs.c: In function ‘resize_buffer’:
> ../lib/util/charset/charset_macosxfs.c:64: error: implicit declaration of function ‘SMB_REALLOC’
> ../lib/util/charset/charset_macosxfs.c:64: warning: assignment makes pointer from integer without a cast
> ../lib/util/charset/charset_macosxfs.c: In function ‘macosxfs_encoding_push’:
> ../lib/util/charset/charset_macosxfs.c:375: error: ‘False’ undeclared (first use in this function)
> ../lib/util/charset/charset_macosxfs.c:375: error: (Each undeclared identifier is reported only once
> ../lib/util/charset/charset_macosxfs.c:375: error: for each function it appears in.)
> ../lib/util/charset/charset_macosxfs.c:376: warning: pointer targets in passing argument 6 of ‘CFStringGetBytes’ differ in signedness
> ../lib/util/charset/charset_macosxfs.c: At top level:
> ../lib/util/charset/charset_macosxfs.c:593: warning: initialization from incompatible pointer type
> ../lib/util/charset/charset_macosxfs.c:594: warning: initialization from incompatible pointer type
> ../lib/util/charset/charset_macosxfs.c:597: warning: no previous prototype for ‘init_samba_module’

Sorry about that, I'll fix it up.  Because this code isn't compiled on
Linux I forgot to check for the changes required in coding style (False
-> false, SMB_REALLOC -> talloc_realloc)

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list