make error on lastest head

David Shapiro David.Edward.Shapiro at
Fri Mar 22 11:08:02 GMT 2002

I downloaded via cvs lastest head and ran configure and make, but I got the
following error:

In file included from nsswitch/nss.h:32,
                 from include/includes.h:790,
                 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
/usr/include/nss_dbdefs.h:422: confused by earlier errors, bailing out
make: *** [smbd/server.o] Error 1

I have a solaris 2.8 sparc server that I tried to compile this on with gcc
3.x and gnu tools.


My configure and make was done with the following script:

cd /usr/local/samba
echo "\npassword: anoncvs\n"
cvs -d :pserver:cvs at login
if [ ! -d /usr/local/samba/source ]; then
        cvs -z5 -d :pserver:cvs at co samba
        if [ $! ]; then
                echo "error"
        cvs -d :pserver:cvs at update -d -P
### Thanks to Gerald Carter for the following make steps:
cd /usr/local/samba/source
/usr/local/bin/make realclean
/usr/bin/rm config.cache

cd /usr/local/samba/source
env CFLAGS="-Wall" ./configure --enable-debug --with-winbind && make proto
&& make

David E. Shapiro
Senior Unix Admin
BTi - the future of communications
4300 Six Forks Road, Raleigh, NC 27609
Office # 1-919-865-6955 
Pager # 1-800520-2354
Fax    # 1-919-863-7340

More information about the samba-technical mailing list