The Samba-Bugzilla – Bug 1727
Redefinition of 'struct statfs'
Last modified: 2004-11-22 11:42:41 UTC
I compiled Samba following the instruction
Collection/compiling.html". I ran "./configure" with the option "./configure --
with-acl-support=yes --with-ads=yes". The result was fine. Then, I issue the
command "make". Error occured as follow:
Using FLAGS = -O -I/usr/include/heimdal -I./popt -Iinclude -
3.0.6/source/ubiqx -I/tmp/smb_inst/samba-3.0.6/source/smbwrapper -I. -
D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared -Bsymbolic
In file included from /usr/include/asm/statfs.h:6,
/usr/include/asm-s390/statfs.h:20: redefinition of `struct statfs'
make: *** [dynconfig.o] Error 1
The same error occured in several trials in my ZLinux in s390. But everything
was fine when I did the same thing in my x86 Linux.
Jim might have some ideas about what is happening here.
This is a problem you should bug SuSE about...asuming you're using SuSE.
There's not much we can do about it. Please see: