rendered paste bodyPrecompiling include/includes.h
Samba will be compiled with flags:
CPP = gcc -E
CPPFLAGS = -I./include -I. -I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
CC = gcc
CFLAGS = -I./include -I. -I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
PICFLAG = -fPIC
BNLD = gcc
BNLD_FLAGS = -Wl,--export-dynamic -L./bin/static
STLD = /usr/bin/ar
STLD_FLAGS = -rcs
SHLD = gcc
SHLD_FLAGS = -shared -Wl,-Bsymbolic -L./bin/shared
MDLD = gcc
MDLD_FLAGS = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined -L./bin/shared
SHLIBEXT = so
srcdir = .
builddir = .
pwd = /tmp/samba4/source
Compiling lib/registry/tools/common.c
lib/registry/tools/common.c:47: error: conflicting types for âreg_common_open_fileâ
./lib/registry/tools/common.h:35: error: previous declaration of âreg_common_open_fileâ was here
The following command failed:
gcc -Ilib/tdr -Iheimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/roken -Iheimdal/lib/asn1 -Iheimdal/lib/com_err -Iheimdal/lib/hx509 -Iheimdal/lib/hcrypto -Iheimdal/lib -Iheimdal/lib/gssapi -Iheimdal/lib/gssapi/gssapi -Iheimdal/lib/gssapi/spnego -Iheimdal/lib/gssapi/krb5 -Iheimdal/lib/gssapi/mech -Ilib/socket_wrapper -Ilib/replace -I/usr/local/include -I./include -I. -I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H -fPIC -c lib/registry/tools/common.c -o lib/registry/tools/common.o
make: *** [lib/registry/tools/common.o] Error 1