partysip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Partysip-dev] compiling partysip


From: Aymeric Moizard
Subject: Re: [Partysip-dev] compiling partysip
Date: Wed, 15 May 2002 10:29:35 +0200 (CEST)

It could be great if you can provide me an account on a
solaris machine. This way I could try to fix possible
issues...

Is it possible?

On Wed, 15 May 2002, Ralf Mahlo wrote:

> Hi!
> I'm working with Solaris 2.6 . First when I tried to compile I've got the 
> error: in pplsocket.c ,
> function ppl_gethostbyname : too much arguments for gethostbyname_r (in 
> Solaris there are only 5
> arguments, don't know about other systems...). However, I changed 
> result_buffer with result and
> deleted the old (5.) '&result'. (maybe that's wrong...)
>
> PPL_DECLARE(int) ppl_gethostbyname(struct sockaddr_in *sin, char *hostname, 
> int port)
> {
> //  struct hostent result_buffer;
>   char tmp[GETHOSTBYNAME_BUFLEN];
>   struct hostent *result;
>   int my_error;
>
>   gethostbyname_r(hostname,       /* the FQDN */
>     result,  /* the result buffer */
>     tmp,
>     GETHOSTBYNAME_BUFLEN - 1,
> //    &result,
>     &my_error);
>
>   if (!result)
>     return my_error;
> }
>
> After that I can compile the program completely, but get the warning : in 
> psp_plugin.c , function
> psp_plugin_load : warning: ANSI forbids assignment between function pointer 
> and `void *' for the
> lines 69, 77 and 85 ...
>
> I can run the program, but while loading the authentication plugin, I get a 
> bus error...
>
> Another question to the partysip.conf file: is it necessary to change the 
> content of the file with
> my own data or does it work as well with the current content?? (okay, when I 
> want to use it, it must
> be changed, but for now (only for testing, if it works) ?)
>
> Regards, Ralf
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/partysip-dev
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]