Samba3 - error during compile

Ewald Jenisch a at jenisch.at
Fri Dec 4 21:38:42 UTC 2009


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


More information about the freebsd-questions mailing list