Hi, I am a little new to samba. I am currently trying to port samba-3.6.6 to a HP-UX (11.31ia) machine. On compilation i get the following error..... bugatti#make Using CFLAGS = -I../lib/zlib -AC99 -AC99 -I. -I/home/dheeraj/samba/samba-3.6.6/source3 -I/home/dheeraj/samba/samba-3.6.6/source3/../lib/popt -I/home/dheeraj/samba/samba-3.6.6/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED -I/home/dheeraj/samba/samba-3.6.6/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = +z LIBS = -lsec -lnsl LDFLAGS = +z -L./bin DYNEXP -Wl,-E,+b/usr/local/lib/hpux32:/usr/lib/hpux32:/usr/local/lib/hpux64:/usr/lib/hpux64 LDSHFLAGS = +z -b -Wl,-B,symbolic,-b -L./bin -lc SHLIBEXT = so SONAMEFLAG = -Wl,+h, creating /home/dheeraj/samba/samba-3.6.6/source3/exports/libtalloc.syms Linking shared library bin/libtalloc.so.2 creating /home/dheeraj/samba/samba-3.6.6/source3/exports/libtdb.syms Linking shared library bin/libtdb.so.1 Compiling passdb/pdb_ldap.c "passdb/pdb_ldap.c", line 1764: error #2029: expected an expression (ber_printf (ber, "ts", LDAP_TAG_EXOP_MODIFY_PASSWD_ID, ^ "passdb/pdb_ldap.c", line 1764: error #2018: expected a ")" (ber_printf (ber, "ts", LDAP_TAG_EXOP_MODIFY_PASSWD_ID, ^ "passdb/pdb_ldap.c", line 1776: error #2029: expected an expression LDAP_TAG_EXOP_MODIFY_PASSWD_NEW, ^ "passdb/pdb_ldap.c", line 1776: error #2018: expected a ")" LDAP_TAG_EXOP_MODIFY_PASSWD_NEW, ^ 4 errors detected in the compilation of "passdb/pdb_ldap.c". The following command failed: ) *** Error exit code 2 Stop. "LDAP_TAG_EXOP_MODIFY_PASSWD_ID"... is defined in /source3/include/smbldap.h. And it is rightly defined as of ber_tag_t type, the one that ber_printf expects. I have tried all the usual methods but the problem is not getting solved. Need some help!