make error on lastest samba head

David Shapiro David.Edward.Shapiro at
Tue Mar 26 07:03:04 GMT 2002

config.status: include/config.h is unchanged
rebuilding include/proto.h
rebuilding include/build_env.h
creating nsswitch/winbindd_proto.h
nsswitch/winbindd_proto.h unchanged
Using FLAGS =  -O -Wall -g -I./popt -Iinclude -I./include -I./ubiqx
-I./smbwrapper  -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.    
      FLAGS32 =  -O -Wall -g -I./popt -Iinclude -I./include -I./ubiqx
-I./smbwrapper  -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.   
      LIBS = -lsec -lgen -lresolv -lsocket -lnsl  -ldl 
      LDSHFLAGS = -h SHOWFLAGS -G  -O -Wall -g
      LDFLAGS = 
Compiling smbd/server.c
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

This is solaris that previously had a good alpha15 build.  The build was
done with:

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 configure

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