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

and 'compile' is script containing this:

#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
exec cc -O2 -c ${1+"$@"}

'sql.headers' only contains:

-I/usr/local/include/mysql



Any suggestions what to change for compiling this application?

Thanks

Petr

PS: Helios-qmail is very promising and if I will be able to compile it on
FreeBSD 6.0 I will try to make regular port...

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to