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

compiling packages



Hello,

I am compiling cyrus-sasl, and have encountered a problem doesn't
exist (or am I blind? <grin>):

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>



Reply to: