[OpenAFS-devel] problems compiling openafs modules on Debian
linux
Paul E Rybski
prybski@cs.cmu.edu
Tue, 9 Dec 2003 19:11:26 -0500 (EST)
HI Derrick,
I'll check out the patch and see how well that works. It also
turns out that I was slighly mistaken with the version of openafs that I
was having the signal.h problem with. It turns out that 1.3.50 doesn't
have that problem but 1.2.10 does. I was using openafs 1.2.10 because the
modules came as a nice debian source package that would be built into a
.deb file and that's the version that I'd like to use if possible. Both
versions have the mach_apicdef.h problem, however.
From 1.2.10's config.log, here's what seems to be the problem:
configure:4866: checking for signal.h
configure:4876: gcc-2.95 -E conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/asm/sigcontext.h:4,
from /usr/include/bits/sigcontext.h:28,
from /usr/include/signal.h:326,
from configure:4872:
/usr/include/linux/compiler.h:17: warning: `__attribute_used__' redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the
previous defi
nition
configure: failed program was:
#line 4871 "configure"
#include "confdefs.h"
#include <signal.h>
-Paul
On Tue, 9 Dec 2003, Derrick J Brashear wrote:
> On Tue, 9 Dec 2003, Paul E Rybski wrote:
>
> > Hi,
> > Has anyone had any troubles compiling the openafs modules under
> > Debian linux? I used to not have any problems with this until recently.
> > I did recently turn off local apic support for uniprocessors in my kernel,
> > but I don't know if that makes a difference or not. Any thoughts?
> >
> > I'm running an up-to-date stable/testing and am trying to compile openafs
> > 1.3.50 with gcc-2.95.4 on kernels 2.4.22, 2.4.22-ac4, and 2.4.23. The
> > first bit of weirdness is that the configure script doesn't find my
> > signal.h file. When I hack the config.cache file to change that and try
> > recompiling, I get an error saying:
> >
> > In file included from /usr/include/linux/smp.h:17,
> > from /usr/include/linux/percpu_counter.h:9,
> > from /usr/include/linux/ext2_fs_sb.h:20,
> > from /usr/include/linux/ext2_fs.h:20,
> > from devname.c:91:
> > /usr/include/asm/smp.h:73: mach_apicdef.h: No such file or directory
>
> The patch here:
> http://www.openafs.org/cgi-bin/wdelta/vol-linux-dont-assume-ext2-20031208
>
> will not apply directly but if you make the same change it will go away.
>
> I'd like to see at least enough of config.log to know what the deal with
> signal.h is.
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>
---
Paul E. Rybski, Ph.D., Postdoctoral Fellow
Robotics Institute, Carnegie Mellon University
Phone: 412-268-1521, Fax: 412-268-6436
Web: http://www.cs.cmu.edu/~prybski