Compile error for 3.0.4 on solaris 8

Mark mark at giddieup.net
Tue Jun 29 22:38:12 GMT 2004


I'm trying to compile 3.0.4 on solaris 8 and keep running into this error.. gcc version is 3.0

setenv CFLAGS "-Wall"
./configure --prefix=/opt/sw/samba/3.0.4 --with-acl-support --with-syslog 
make proto
make


and i get this error

Using FLAGS =  -Wall -I./popt -Iinclude -I/root/source/samba-3.0.4/source/include -I/root/source/samba-3.0.4/source/ubiqx -I/root/source/samba-3.0.4/source/smbwrapper  -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/root/source/samba-3.0.4/source    
      LIBS = -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv
      LDSHFLAGS = -G  -L/usr/local/lib
      LDFLAGS = -L/usr/local/lib
Compiling dynconfig.c
In file included from nsswitch/winbind_nss_solaris.h:28,
                 from nsswitch/winbind_nss.h:34,
                 from nsswitch/winbind_nss_config.h:79,
                 from nsswitch/winbind_client.h:1,
                 from include/includes.h:835,
                 from dynconfig.c:21:
/usr/include/nss_dbdefs.h:375: parse error before "projid_t"
/usr/include/nss_dbdefs.h:400: parse error before '}' token
/usr/include/nss_dbdefs.h:419: field `key' has incomplete type
make: *** [dynconfig.o] Error 1


any insights would be appreciated

thanx



More information about the samba-technical mailing list