Hello,

Thanks for your kind email, I am trying to make a subset of openchange
tools, which are of interest to me, not using all the features of
openchangeclient, I am trying to do some sort of merge of mapiprofile and
openchangeclient in a sort of a test client where I create profiles and
perform client operations from one program either a GUI based or first test
as a console application.

So, at start I am looking to compile the tools that interest me most from my
own Makefile, and tailor openchangeclient and mapiprofile to merge and give
me the results that I want to take out of exchange.

Thanks and kind regards,

/Rameez.

On Wed, Apr 15, 2009 at 1:07 AM, Brad Hards <[email protected]> wrote:

> 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
>



-- 
Muhammad Rameez Khan
Cell  -> 0046-73-7055073
Mail -> [email protected]
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to