From owner-freebsd-questions@FreeBSD.ORG Fri Dec 4 21:38:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8DFB106568B for ; Fri, 4 Dec 2009 21:38:42 +0000 (UTC) (envelope-from prvs=582a1d9e1=a@jenisch.at) Received: from mgaterz1.oekb.co.at (mgaterz1.oekb.co.at [143.245.5.111]) by mx1.freebsd.org (Postfix) with ESMTP id 6A55E8FC1A for ; Fri, 4 Dec 2009 21:38:42 +0000 (UTC) Received: from exchh1.oekb.co.at ([143.245.3.20]) by mgaterz1.oekb.co.at with ESMTP; 04 Dec 2009 22:09:14 +0100 Received: from aurora.oekb.co.at (143.245.9.16) by exchh1.oekb.co.at (143.245.3.60) with Microsoft SMTP Server id 8.1.393.1; Fri, 4 Dec 2009 22:09:14 +0100 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.3/8.14.3) with ESMTP id nB4L9EAQ024892 for ; Fri, 4 Dec 2009 22:09:14 +0100 (CET) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.3/8.14.3/Submit) id nB4L9E4A024891 for freebsd-questions@freebsd.org; Fri, 4 Dec 2009 22:09:14 +0100 (CET) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Fri, 4 Dec 2009 22:09:14 +0100 From: Ewald Jenisch To: freebsd-questions@freebsd.org Message-ID: <20091204210914.GA97942@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Samba3 - error during compile 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, 04 Dec 2009 21:38:42 -0000 Hi, Upon compiling samba3 (/usr/ports/net/samba3) from source I ran into the following error: ------------------------------ < Cut here > ------------------------------ . . . Compiling passdb/machine_sid.c Compiling locking/locking.c locking/locking.c: In function 'unparse_share_modes': locking/locking.c:701: error: invalid operands to binary - The following command failed: cc -I. -I/usr/ports/net/samba3/work/samba-3.0.37/source -O -pipe -DLDAP_DEPRECATED -D_SAMBA_BUILD_=3 -I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.37/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba3/work/samba-3.0.37/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c locking/locking.c -o locking/locking.o *** Error code 1 Stop in /usr/ports/net/samba3/work/samba-3.0.37/source. *** Error code 1 Stop in /usr/ports/net/samba3. *** Error code 1 Stop in /usr/ports/net/samba3. # ------------------------------ < Cut here > ------------------------------ System: FreeBSD 7.2-STABLE #7 - amd64; kernel GENERIC Any ideas what could be wrong here? Any cure against this? Thanks much in advance for your help, -ewald