Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2006 04:08:28 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Petr Murmak <petr@cdr.cz>
Cc:        questions@freebsd.org
Subject:   Re: Problem compiling helios-qmail
Message-ID:  <20060428080828.GA82181@xor.obsecurity.org>
In-Reply-To: <20060428075852.4C224134306@smtp.klfree.net>
References:  <20060428075852.4C224134306@smtp.klfree.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--YZ5djTAD1cGYuMQK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 28, 2006 at 09:57:25AM +0200, Petr Murmak wrote:
> Hi!
>=20
> I'm trying install helios-qmail (http://helios-qmail.sourceforge.net/) wh=
ich
> is based on qmail-sql (http://qmail-sql.digibel.be/) and I know for sure,
> that on FreeBSD 4.x it was possible to install it, but on FreeBSD 6.0 I
> receive during installation only this:
>=20
> ./compile qmail-getpw.c `cat sql.headers`
> In file included from sql.h:6,
>                  from qmail-getpw.c:17:
> /usr/include/unistd.h:356: error: conflicting types for 'read'
> readwrite.h:4: error: previous declaration of 'read' was here
> /usr/include/unistd.h:356: error: conflicting types for 'read'
> readwrite.h:4: error: previous declaration of 'read' was here
> /usr/include/unistd.h:370: error: conflicting types for 'write'
> readwrite.h:5: error: previous declaration of 'write' was here
> /usr/include/unistd.h:370: error: conflicting types for 'write'
> readwrite.h:5: error: previous declaration of 'write' was here
> qmail-getpw.c: In function `main':
> qmail-getpw.c:84: warning: return type of 'main' is not `int'
> *** Error code 1

One of two things:

1) Report the problem to the authors

2) Patch the software yourself to not use its own (false) prototype
for those functions but to include the relevant system header.

Kris

--YZ5djTAD1cGYuMQK
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFEUc17Wry0BWjoQKURAqrhAKC0cHqAnsgKBlfzUIkBtRiapET7kgCg4EeE
j+xrieNbeIATQtZQ3BRR9Ww=
=jggw
-----END PGP SIGNATURE-----

--YZ5djTAD1cGYuMQK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060428080828.GA82181>