followup: samba compile problem, Red Hat 7.2
jra at samba.org
Thu Nov 1 18:58:01 GMT 2001
On Thu, Nov 01, 2001 at 06:50:34PM -0800, David Talkington wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> >Compiling smbd/server.c
> >In file included from /usr/include/linux/vfs.h:4,
> > from /usr/include/linux/fs.h:14,
> > from /usr/include/linux/capability.h:17,
> > from /usr/include/sys/capability.h:24,
> > from include/includes.h:330,
> > from smbd/server.c:22:
> >/usr/include/asm/statfs.h:12: redefinition of `struct statfs'
> >make: *** [smbd/server.o] Error 1
> >This built fine on 7.1.
> I have reproduced this problem with a fresh, complete ("everything")
> install of Red Hat 7.2, compiling as root with no environment changes
> and no updates. (The system which produced the original failure had
> all available updates applied, including kernel 2.4.9.)
> To circumvent the problem, I have commented out the offending
> definition in /usr/include/asm/statfs.h, and samba-2.2.2 is now able
> to compile.
> I still have not heard from anyone who can confirm or shed light upon
> this situation. Thoughts from the trenches?
Well, RedHat 7.2 was finalized after Samba 2.2.2 was shipped, so
I didn't get chance to test it on 7.2.
It'll have to wait until Samba 2.2.3 to be supported I'm afraid.
In the meantime, I've allocated one machine at home to be my 7.2
box, just haven't installed yet.
More information about the samba