Hi, I am trying to compile Samba 2.2.2 on a Sun Solaris 8 (SPARC) machine (64-bit). Using gcc 3.0. Doing a standard configure (just running ./configure from the source directory) creates a Makefile, I then run make and get the following output: root@itucmt1:/var/tmp/samba-2.2.2/source > make Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb" Using FLAGS32 = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb" Using LIBS = -lsec -lgen -lsocket -lnsl -ldl Compiling smbd/server.c In file included from nsswitch/nss.h:31, from include/includes.h:704, from smbd/server.c:22: /usr/include/nss_dbdefs.h:371: parse error before "projid_t" /usr/include/nss_dbdefs.h:396: parse error before '}' token /usr/include/nss_dbdefs.h:415: field `key' has incomplete type *** Error code 1 make: Fatal error: Command failed for target `smbd/server.o' root@itucmt1:/var/tmp/samba-2.2.2/source > Can anyone help? I tried installing Samba 2.2.1 prior using a binary package and keep getting massive amounts of PANIC: internal error ==============================================================INTERNAL ERROR: Signal 11 in pid 22297 (2.2.0) Please read the file BUGS.txt in the distribution ==============================================================in /usr/local/samba/var/log.smbd accompanied by ERROR: nmbd is already running. File /usr/local/samba/var/locks/nmbd.pid exists and process id 1438 is running. in /usr/local/samba/var/log.nmbd If anyone can help with either error any assistance would be greatly appreciated. Regards, Malcolm