Failed to make proco all

yhus Hu jupiter.hce at gmail.com
Mon Aug 6 05:01:01 GMT 2007


Hi,

I was able to compile the samba4 last week, but failed to compile today
after updated. Although, I moved to another IP address this week, not sure
would cause any problem as well.

Please also see following version informtion:

#define SAMBA_VERSION_MAJOR 4
#define SAMBA_VERSION_MINOR 0
#define SAMBA_VERSION_RELEASE 0
#define SAMBA_VERSION_TP_RELEASE 6
#define SAMBA_VERSION_SVN_REVISION 24248
#define SAMBA_VERSION_OFFICIAL_STRING "4.0.0tp6-SVN-build-24248"
#define SAMBA_VERSION_STRING "4.0.0tp6-SVN-build-24248"

Error log message:

$ make proto all
Samba will be compiled with flags:
  CPP        = gcc -E
  CPPFLAGS   = -I./include -I. -I./lib -I./lib/replace -D_SAMBA_BUILD_=4
-DHAVE_CONFIG_H
  CC         = gcc
  CFLAGS     = -I./include -I. -I./lib -I./lib/replace -D_SAMBA_BUILD_=4
-DHAVE_CONFIG_H
  PICFLAG    = -fPIC
  LD         = gcc
  LDFLAGS    = -Wl,--export-dynamic -L./bin/static
  STLD       = /usr/bin/ar
  STLD_FLAGS = -rcs
  SHLD       = gcc
  SHLD_FLAGS = -shared -Wl,-Bsymbolic -L./bin/shared
  SHLIBEXT   = so
  srcdir     = .
  builddir   = .
  pwd        = /home/work/Samba/samba4/source
Compiling lib/registry/common/reg_interface.c
In file included from lib/registry/common/reg_interface.c:20:
./include/includes.h:28:2: error: #error "make sure you have removed all
config.h files from standalone builds!"
./include/includes.h:29:2: error: #error "the included config.h isn't from
samba!"
The following command failed:
gcc   -Ilib/replace -Ilib/talloc -Ilib/ldb/include -Ilib/tdr  -I./include
-I. -I./lib -I./lib/replace -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H  -fPIC -c
lib/registry/common/reg_interface.c -o lib/registry/common/reg_interface.o
make: *** [lib/registry/common/reg_interface.o] Error 1

Thank you.

Jim


More information about the samba-technical mailing list