[Samba] make: *** [dynconfig.o] Error

Alexei Monastyrnyi alexeim at orcsoftware.com
Tue Jan 25 10:28:30 GMT 2005


Hi List!

I've got a problem building samba 3.0.10 on Solaria 9 box.

Configuration is successful with
./configure --with-pam --with-syslog --with-ldapsam --with-automount

But make gives the following output.
alien> make
Using FLAGS =  -O  -Iinclude 
-I/usr/local/src/samba-3.0.10/source/include 
-I/usr/local/src/samba-3.0.10/source/ubiqx 
-I/usr/local/src/samba-3.0.10/source/smbwrapper  -I. -D_LARGEFILE_SOURCE 
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/src/samba-3.0.10/source   
      LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
      LDSHFLAGS = -G  -lthread
      LDFLAGS = -lthread
Generating smbd/build_options.c
Building include/proto.h
creating /usr/local/src/samba-3.0.10/source/include/proto.h
Building include/wrepld_proto.h
creating /usr/local/src/samba-3.0.10/source/include/wrepld_proto.h
Building include/build_env.h
creating /usr/local/src/samba-3.0.10/source/nsswitch/winbindd_proto.h
creating /usr/local/src/samba-3.0.10/source/web/swat_proto.h
creating /usr/local/src/samba-3.0.10/source/client/client_proto.h
creating /usr/local/src/samba-3.0.10/source/utils/net_proto.h
creating /usr/local/src/samba-3.0.10/source/utils/ntlm_auth_proto.h
Compiling dynconfig.c
In file included from include/includes.h:926,
                 from dynconfig.c:21:
include/proto.h:587: error: parse error before "LDAP_CONST"
make: *** [dynconfig.o] Error

I used to build 3.0.7 no the same host (running OpenLDAP 2.2.18 as well) 
without any problems, but now 3.0.7 gives the same  error output...
Something must have been changed in my environment but I get blank of 
what...
Any hints are highly appreciated.

Sorry if it is off-topic...

A.


More information about the samba mailing list