From owner-freebsd-questions@FreeBSD.ORG Fri Apr 28 07:59:02 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40F8216A404 for ; Fri, 28 Apr 2006 07:59:02 +0000 (UTC) (envelope-from petr@cdr.cz) Received: from smtp-out.klfree.net (mail.klfree.cz [62.240.168.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDA9743D49 for ; Fri, 28 Apr 2006 07:59:01 +0000 (GMT) (envelope-from petr@cdr.cz) Received: from localhost (loopback [127.0.0.1]) by smtp.klfree.net (Postfix) with ESMTP id 218271342F9 for ; Fri, 28 Apr 2006 09:59:00 +0200 (CEST) Received: from K2P (ip18.k2.klfree.czf [10.102.41.75]) by smtp.klfree.net (Postfix) with ESMTP id 4C224134306 for ; Fri, 28 Apr 2006 09:58:52 +0200 (CEST) From: "Petr Murmak" To: Date: Fri, 28 Apr 2006 09:57:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZqmWMQyD9X8k/pQ8C0J2JBP0zcJw== Message-Id: <20060428075852.4C224134306@smtp.klfree.net> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mail.klfree.net Cc: Subject: Problem compiling helios-qmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 07:59:02 -0000 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...