latest v4-0-test compilation report (Samba4/OpenChange)

Stefan (metze) Metzmacher metze at samba.org
Wed Feb 25 00:37:26 MST 2009


Volker Lendecke schrieb:
> On Wed, Feb 25, 2009 at 06:18:02AM +0100, Julien Kerihuel wrote:
>> Below is a quick report of Samba4/OpenChange compilation issues
>> encountered with latest samba4 git v4-0-test.
>>
>> Samba4 compilation:
>> ===================
>> During tevent compilation, I encounter:
>>         tevent.h:34:36: error: ../lib/replace/replace.h: No such file or directory
>>
>> Replacing the include directive with ../../lib/replace/replace.h fixes
>> the building issue but reference to this file in the installed tevent.h
>> causes OpenChange compilation to fail. Once removed from installed
>> headers, everything is fine with it.
> 
> Ok, I added this because tevent.h references bool and
> uintXX_t. How can we include the relevant system headers
> there without replace.h? Write configure checks individually
> for tevent?

It already includes stdint.h, so just stdbool.h is missing.

libreplace autogenerates both in case the system doesn't have them.

And in general the .c files should include "replace.h" as first header.
(Similar to "includes.h" in samba specific code)

metze


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20090225/d45b93ad/signature.bin


More information about the samba-technical mailing list