It seems like you need to revert back to a previous version before the changes 
j.kerihuel has mode to those functions.

If you look at the previous emails from him regarding changes to the API you'll 
see why.

Respectfully,

Alan Alvarez
SPC(P), USA

----- Original Message -----
From: Pantano Angelo <[EMAIL PROTECTED]>
Date: Wednesday, April 30, 2008 13:40
Subject: Re: [openchange][devel] IProfAdmin.c compile problem
To: Jelmer Vernooij <[EMAIL PROTECTED]>, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Cc: "[email protected]" <[email protected]>

> I tried point 2) because i already had all the libraries from point 1)
> 
> but no luck, it complains on the libmapi ./configure
> 
> 
> checking for SAMBA... configure: error: Package requirements 
> (dcerpc ndr samba-hostconfig) were not met:
> 
> No package 'samba-hostconfig' found
> 
> --prefix is correct, it's weird it finds dcerpc but not samba-
> hostconfig, moreover i cant find any package named this way, I only 
> have samba-config and i know the compiler looked for samba-config 
> some days ago, you changed it due to a typo, so i edited the 
> configure and renamed hostconfig to config and it worked
> 
> after that the compiler complained again for a lot of *h samba 
> files he didnt find (i'm not pasting the error because there were 
> at least 10 of them), anyway i just copied them from the 
> /usr/local/samba libraries where the headers wanted them and it 
> compiled succesfully.
> 
> 
> with great satisfaction I finally tried to compile the evolution 
> mapi plugin (the one I found on the open suse repositories) but the 
> make fails (even applying the two patches):
> 
> exchange-mapi-connection.c: In function 
> 'exchange_mapi_connection_fetch_items':exchange-mapi-
> connection.c:788: error: too few arguments to function 
> 'GetContentsTable'exchange-mapi-connection.c: In function 
> 'get_child_folders':exchange-mapi-connection.c:1753: error: too few 
> arguments to function 'GetHierarchyTable'
> exchange-mapi-connection.c: In function 
> 'exchange_mapi_set_recipients':exchange-mapi-connection.c:2173: 
> warning: initialization discards qualifiers from pointer target type
> exchange-mapi-connection.c:2198: warning: 'return' with a value, in 
> function returning void
> exchange-mapi-connection.c:2212: warning: 'return' with a value, in 
> function returning void
> exchange-mapi-connection.c:2230: warning: 'return' with a value, in 
> function returning void
> make[3]: *** [exchange-mapi-connection.lo] Error 1
> make[3]: Leaving directory 
> `/home/feanor/Desktop/openchange/evolution-mapi-provider-
> 20080411.0/src/servers'make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/home/feanor/Desktop/openchange/evolution-mapi-provider-
> 20080411.0/src'make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/home/feanor/Desktop/openchange/evolution-mapi-provider-20080411.0'
> make: *** [all] Error 2
> 
> 
> I have to say: for a moment I thought I would have won ;) anyway, 
> is there a newer mapi-provider to fetch via svn? i tried a "svn co 
> http://svn.gnome.org/viewvc/evolution/branches/EXCHANGE_MAPI_BRANCH/"; but it 
> says
> 
> svn: PROPFIND request failed on 
> '/viewvc/evolution/branches/EXCHANGE_MAPI_BRANCH'svn: PROPFIND of 
> '/viewvc/evolution/branches/EXCHANGE_MAPI_BRANCH': 302 Found 
> (http://svn.gnome.org)
> 
> 
> 
> ________________________________________
> From: Jelmer Vernooij [EMAIL PROTECTED]
> Sent: Monday, April 28, 2008 12:16 PM
> To: [EMAIL PROTECTED]
> Cc: Pantano Angelo; [email protected]
> Subject: Re: [openchange][devel] IProfAdmin.c compile problem
> 
> Am Montag, den 28.04.2008, 12:02 +0200 schrieb Julien Kerihuel:
> > On Mon, 2008-04-28 at 09:31 +0200, Pantano Angelo wrote:
> > > Hi Bill, i've installed all krb5 packages but my libmapi make 
> still fails here:
> > >
> > >
> > > Generating libmapi/proto.h
> > > Compiling libmapi/IProfAdmin.c with -fPIC
> > > In file included from /usr/local/samba/include/credentials.h:132,
> > >                  from libmapi/IProfAdmin.c:23:
> > > /usr/local/samba/include/credentials/proto.h:410: error: 
> expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
> ‘principal_from_credentials’> > make: *** [libmapi/IProfAdmin.po] 
> Error 1
> > >
> > > does anyone have some hints?
> > Below are different options you have to fix this issue:
> >
> > 1. Install libgssapi-devel and krb5-devel, krb5-libs
> >
> > 2. Use the latest openchange trunk revision rather than the 0.7 
> release.> The samba4 version we use in trunk gets ride of this 
> limitation. (make
> > samba4 && ./autogen.sh && ./configure --prefix=/usr/local/samba 
> && make
> > && sudo make install && sudo ldconfig).
> I would recommend this option. Samba 4 and OpenChange have both 
> come a
> long way since the 0.7 release.
> 
> > 3. There are probably .deb packages (while not most up to date, 
> would be
> > enough I guess) available at the following location:
> >         * http://samba.org/~jelmer/debian/
> >         * http://samba.org/~jelmer/debian/experimental/
> >
> > Jelmer, can you confirm? I think it would also be worthwhile to 
> update> libmapi page with links where people can find .deb packages 
> and possibly
> > add rpm ones as well. I'll just need to gather some URLs.
> Unfortunately these .debs are quite old. I'm working with bubbulle on
>  updating them and uploading to debian experimental, but that may 
> take a couple of weeks in total.
> 
> Cheers,
> 
> Jelmer
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel
> 
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to