[Samba] make error on lastest samba head on solaris head alpha17

David Shapiro David.Edward.Shapiro at btitele.com
Tue Mar 26 11:47:02 GMT 2002


solaris 2.8 with latest cluster patch
gcc 3.0.3
gnu ld, as, binutils
compiled alpha15 fine

Now, alpha17 does not compile. I get the below error.  I saw mention of this
kind of error back in 2001, but no answer on how to fix.

> -----Original Message-----
> From:	David Shapiro 
> Sent:	Tuesday, March 26, 2002 9:56 AM
> To:	'samba-technical at lists.samba.org'
> Cc:	'samba at lists.samba.org'
> Subject:	make error on lastest samba head
> 
> 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:
> 
> #!/usr/bin/ksh
> cd /usr/local/samba
> echo "\npassword: anoncvs\n"
> cvs -d :pserver:cvs at pserver.samba.org:/cvsroot login
> if [ ! -d /usr/local/samba/source ]; then
>         cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co samba
>         if [ $! ]; then
>                 echo "error"
>         fi
> else
>         cvs -d :pserver:cvs at pserver.samba.org:/cvsroot update -d -P
> fi
> ### 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
> /usr/local/bin/autoconf
> 
> 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 mailing list