[Unionfs] Compiling unionfs 1.0.11 on RHEL 3
Michael Grice
grice at berbee.com
Wed Apr 6 15:36:17 EDT 2005
Charles,
I did say I had the kernel source installed. :) RHEL 3 puts it in the
kernel-source RPM; there's no kernel-devel or kernel-headers packages
any more.
It turns out, however, that /lib/modules/2.4.21-27.ELsmp/build was
a broken symbolic link pointing to a non-existentent kernel source
directory. I changed it to to point to the actual kernel sources and
now all is well.
Thanks for your help,
Michael
* Charles P. Wright <cwright at cs.sunysb.edu> [050406 14:15] wrote:
> Michael,
>
> It seems that you probably don't have kernel headers.
> Does /lib/modules/2.4.21-27.ELsmp/build/include exist? If so,
> does /lib/modules/2.4.21-27.ELsmp/build/include/linux/sched.h exist?
>
> You probably need the kernel-devel package (on RHEL3 it could be called
> kernel-headers or you might even need kernel-source).
>
> Charles
>
> On Wed, 2005-04-06 at 14:10 -0500, Michael Grice wrote:
> > I am having issues compiling unionfs 1.0.11 on Red Hat Enterprise Linux
> > 3. I've got the kernel source installed, I've done a make mrproper and
> > a make dep on the source, and I get this:
> >
> > cc -D__KERNEL__ -DMODULE -I.
> > -I/lib/modules/2.4.21-27.ELsmp/build/include -Wall -Wno-unused-label
> > -Werror -fno-strict-aliasing -g -O2 -c -o subr.o subr.c
> > In file included from /usr/include/linux/sched.h:14,
> > from fist.h:34,
> > from subr.c:22:
> > /usr/include/linux/timex.h:173: field `time' has incomplete type
> > /usr/include/linux/timex.h:188: confused by earlier errors, bailing out
> > make: *** [subr.o] Error 1
> >
> > I'm not sure if this is a kernel source issue (Red Hat uses a patched
> > kernel, I believe) or a stupid user issue. I get pretty much the same
> > results if I try to compile unionfs 1.0.9, too.
> >
> > Any suggestions?
> >
> > Thanks,
> >
> > Michael
> > _______________________________________________
> > unionfs mailing list
> > unionfs at mail.fsl.cs.sunysb.edu
> > http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
More information about the unionfs
mailing list