On Tuesday 14 April 2009 09:07:58 pm Rameez Khan wrote:
> It worked fine with me, now I wish to compile openchangeclient.c and
> mapiprofile.c using a similar makefile but i am unable to do so, I get
> errors.
>
> for openchange client i tried doing this.
>
> /*        libraries i tried to add for openchange client..
>
>  -lpopt    -L/usr/local/samba/lib    -ldcerpc    -lndr -ltalloc
> -lsamba-hostconfig    -L/usr/local/samba/lib    -lldb    -ltalloc
> openchangeclient.c
>
> */
>
> and i get the following error..
>
> /*             error
>
> openchangeclient.c:23:34: error: libmapi/defs_private.h: No such file or
> directory
> openchangeclient.c: In function ‘build_uniqueID’:
> openchangeclient.c:317: error: expected ‘)’ before ‘PRIX64’
> openchangeclient.c:317: warning: spurious trailing ‘%’ in format
> openchangeclient.c: In function ‘get_child_folders’:
> .................................................................
> */
>
> I do have defs_private.h in libmapi folder.
That isn't a missing library problem. It is a missing header problem. You 
could use -I (upper case letter i) to provide the include path. You can also 
just change the PRIX64 macro (in openchangeclient.c) to just be lx or llx 
depending on your architecture.

It isn't clear to me what you are actually trying to accomplish though, so 
this might not be good advice. Can you tell us _why_ you'd like to compile 
openchange tools without using the openchange Makefile?

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

Reply via email to