Can't compile under RH 7.2
jra at samba.org
Mon Nov 5 08:37:02 GMT 2001
On Mon, Nov 05, 2001 at 11:27:17AM -0500, Gregor N. Purdy wrote:
> Jeremy --
> > > I'm wondering if I've got generally broken includes here since the
> > > complaint is about redefinition of struct statfs...
> > Yes. RedHat shipped broken system headers with RH7.2.
> > I have added a workaround into the CVS HEAD and 2.2 sources but
> > haven't yet added the autoconf test to activate it.
> > RedHat "solved" the problem for their Samba compile by hacking
> > out a #include line in Samba.
> Eek! Is there something I can do here to work around things? Or do
> I need to wait for an update from (a) RedHat or (b) Samba team?
Until I have the auto-detection in, hack the Makefile and add
the entry -DBROKEN_REDHAT_7_SYSTEM_HEADERS to the CFLAGS line.
More information about the samba