On Fri, Apr 28, 2006 at 09:57:25AM +0200, Petr Murmak wrote: > Hi! > > I'm trying install helios-qmail (http://helios-qmail.sourceforge.net/) which > 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: > > ./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
pgpnyLKfYm2i8.pgp
Description: PGP signature