Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2009 22:09:14 +0100
From:      Ewald Jenisch <a@jenisch.at>
To:        freebsd-questions@freebsd.org
Subject:   Samba3 - error during compile
Message-ID:  <20091204210914.GA97942@aurora.oekb.co.at>

next in thread | raw e-mail | index | archive | help
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



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