Hi List,

If people have a similar question, here is the explanation that has been
provided on IRC:

- If you are using libmapi-0.6-HOLODECK package, you need to ensure you
are compiling the correct version of Samba4. In the current case, Alex
was using Samba4 rev 26183 which doesn't work with libmapi-0.6. There
are some PIDL modifications in "recent Samba4 revisions" which changes
return values and break libmapi-0.6 (packaged) compatibility.

- Solutions:
        1. Use openchange trunk latest revision. This way you can keep
        using the latest samba4 version. We'll ensure it compiles
        properly.
        
        2. Compile libmapi-0.6 with the revision "known" to be working.
        If you compiled with a recent Samba4 version, configure would
        have displayed a warning about working samba4 revisions.
        
IRC log available at:
        http://irclogs.openchange.org/?year=2007&date=20071129

Cheers,
Julien.


On Thu, 2007-11-29 at 12:06 +0100, Alex Sandini wrote:
> Hello all,
> I am new here.
> 
> I have downloaded libmapi yesterday and samba4 using the rsync method 
> explained in doc/howto.txt
> 
> samba4 compiled and installed fine, but libmapi gives the following errors:
> ...
> Compiling libmapi/simple_mapi.c with -fPIC
> Compiling libmapi/util/locale.c with -fPIC
> Compiling libmapi/util/codepage.c with -fPIC
> Compiling libmapi/x500.c with -fPIC
> Compiling ndr_mapi.c with -fPIC
> ndr_mapi.c:124: error: conflicting types for ‘ndr_push_mapi_request’
> ./gen_ndr/ndr_exchange.h:555: error: previous declaration of 
> ‘ndr_push_mapi_request’ was here
> ndr_mapi.c: In function ‘ndr_push_mapi_request’:
> ndr_mapi.c:129: error: incompatible types in return
> ndr_mapi.c:132: error: incompatible types in return
> ndr_mapi.c:137: error: incompatible types in return
> ...
> 
> ndr_mapi.c +124:
> NTSTATUS ndr_push_mapi_request(struct ndr_push *ndr, int ndr_flags, 
> const struct mapi_request *r)
> 
> gen_ndr/ndr_exchange.h +555:
> enum ndr_err_code ndr_push_mapi_request(struct ndr_push *ndr, int 
> ndr_flags, const struct mapi_request *r);
> 
> Any idea?
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel
-- 
Julien Kerihuel
[EMAIL PROTECTED]
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to