From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10 i686; Nav)
Description of problem:
I got the following error when compiling samba2.2.2 no matter what
configuration I used:
Please see "Actuctual Results" below.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.configure samba2.2.2 to produce the Makefile using none or any options
Actual Results: Compiling smbd/server.c
In file included from /usr/include/linux/vfs.h:4,
/usr/include/asm/statfs.h:12 redefinition of 'struct statfs'
make: ***[smbd/server.o] Eror 1
Expected Results: Make successfully
I also noticed that /usr/include/asm/statfs.h and /usr/include/bits/
statfs.h both define 'struct statfs' but the definition of the fields are
different. /usr/include/bits/statfs.h is used by /usr/include/sys/statfs.h
which is used by samba include/includes.h.
*** This bug has been marked as a duplicate of 55727 ***