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

Chew, Darren
2003-11-21T22:49:14Z

Hi All,

I get the following error compiling Samba 3.0.0 on Solaris 9.

Compiling dynconfig.c
In file included from include/includes.h:896,
                 from dynconfig.c:21:
include/proto.h:497: error: parse error before "LDAP_CONST"
make: *** [dynconfig.o] Error 1

./configure \
--prefix=/usr/local/samba \
--with-libiconv=/usr/local/libiconv \
--with-ldap\
--with-pam\
--with-pam_smbpass\
--with-winbind\
--with-included-popt

Are any CPPFLAGS or LDFLAGS needed? Any help much appreciated. Thanks.

Darren