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

Re: compiling packages



On Mon, Feb 26, 2001 at 10:20:57AM +1100, Brian May wrote:
> Hello,
> 
> I am compiling cyrus-sasl, and have encountered a problem doesn't
> exist (or am I blind? <grin>):
> 

I've already got that package to compile, and I announced it on this
list at the same time as the work I did openldap (still not tested).
You can get the patch from my webpage
http://alcor.concordia.ca/~i_khavki/ (it's back to the old address).
Look at the bottom of the page. If you have problems with the patch
please post them.

Igor

> common.c:849: conflicting types for `_sasl_log'
> saslint.h:184: previous declaration of `_sasl_log'
> 
> but both defintions look the same to me. saslint.h:184 contains:
> 
> extern int
> _sasl_log(sasl_conn_t *conn,
>           int priority,
>           const char *plugin_name,
>           int sasl_error,       /* %z */
>           int error_value, /* %m */
>           const char *format,
>           ...);
> 
> common.c:849 contains:
> int
> _sasl_log (sasl_conn_t *conn,
>            int priority,
>            const char *plugin_name,
>            int sasl_error,      /* %z */
>            int errno,   /* %m */
>            const char *format,
>            ...)
> 
> Can anyone see any differences? Why should it work on Linux but not
> The Hurd?
> 
> Also, what should I do to this code:
> 
>     char name[MAXHOSTNAMELEN];
>     memset(name, 0, sizeof(name));
>     gethostname(name, MAXHOSTNAMELEN);
> 
> as MAXHOSTNAMELEN is not defined?
> 
> Finally, if I compile new packages (without changes to the source),
> should I upload the binary-only packages to Debian?
> 
> What if changes to the source code are required?
> -- 
> Brian May <bam@debian.org>
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: