bug-cvs
[Top][All Lists]
Advanced

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

Re: Error in compiling cvs-1.12.9 on a DEC


From: Mark D. Baushke
Subject: Re: Error in compiling cvs-1.12.9 on a DEC
Date: Thu, 08 Jul 2004 01:28:46 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hermann Deppe <address@hidden> writes:

> While compiling cvs-1.12.9
> configure gives ...
> 
> checking build system type... alphaev56-dec-osf4.0c
> 
> I get this error and make exits.
> 
> cc: Error: zlib.c, line 596: In this declaration, the type of
> "read_and_gzip" is not compatible with the type of a         previous
> declaration of "read_and_gzip" at line number 197 in file server.h.
> read_and_gzip (int fd, const char *fullname, unsigned char **buf,
> size_t *size,
> ^
> *** Exit 1
> 
> Could You give me an advice how to fix this?
> Regards

The cvs 1.12.9 sources uses

int read_and_gzip (int, const char *, unsigned char **, size_t *, size_t *,
                   int);

in src/server.h and 

int
read_and_gzip (int fd, const char *fullname, unsigned char **buf, size_t *size,
               size_t *len, int level)

in src/zlib.c and those two prototypes look the same to me with regard
to types.

You might try looking at the cpp output of the zlib.c compilation to see
if some macro somewhere has managed to mangle size_t or const or
something... but I am at a loss to understand why that should be
different off-hand.

        -- Mark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFA7QW+3x41pRYZE/gRArtCAJ9UyA2oJb3V9aIOddqbXbVdSQPB6ACgtxJw
z1r25YSSo8nCGJNtvIv1WjQ=
=fHN1
-----END PGP SIGNATURE-----




reply via email to

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