[Samba] compile failure on 3.0.0 and 3.0.1pre3

Robert M Shepard bob at rmshep.mt.net
Tue Nov 18 20:08:27 GMT 2003


I have installed Suse on an IBM as400 (powerpcc).  

This is SuSe 8.0
gcc 3.2
and with both samba 3.0.0 and 3.0.1pre3

I get this error message on the compile. (configure runs fine.
 make
 Using FLAGS =  -g -O2 -I./popt -Iinclude
 -I/home/rshepard/samba-3.0.0/source/include
 -I/home/rshepard/samba-3.0.0/source/ubiqx
 -I/home/rshepard/samba-3.0.0/source/smbwrapper  -I. -D_LARGEFILE64_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/rshepard/samba-3.0.0/source    
LIBS = -lcrypt -lattr -lresolv -lnsl -ldl
LDSHFLAGS = -shared 
LDFLAGS = 
Generating smbd/build_options.c
Building include/proto.h
creating /home/rshepard/samba-3.0.0/source/include/proto.h
Building include/wrepld_proto.h
creating /home/rshepard/samba-3.0.0/source/include/wrepld_proto.h
Building include/build_env.h
creating /home/rshepard/samba-3.0.0/source/nsswitch/winbindd_proto.h
creating /home/rshepard/samba-3.0.0/source/web/swat_proto.h
creating /home/rshepard/samba-3.0.0/source/client/client_proto.h
creating /home/rshepard/samba-3.0.0/source/utils/net_proto.h
Compiling dynconfig.c
In file included from /usr/include/asm/statfs.h:6,
		from /usr/include/linux/vfs.h:4,
		from /usr/include/linux/fs.h:13,
		from /usr/include/linux/capability.h:17,
		from /usr/include/sys/capability.h:24,
		from include/includes.h:359,
		from dynconfig.c:21:
/usr/include/asm-ppc/statfs.h:15:
redefinition of `struct statfs'
make: *** [dynconfig.o] Error 1

any help or suggestions??

bob shepard




More information about the samba mailing list