[OpenAFS] openafs-1.2.2 and 2.2.19-6.2.12 kernel

Eve V. E. Kovacs kovacs@hep.anl.gov
Wed, 12 Dec 2001 15:48:23 -0600 (CST)


Yes, I had noticed there were two versions in different places, but didn't 
know why the make was finding the /usr/include/rx version. 
(I'm certainly not an expert user of make) 

I'm not sure if this is what you wanted me to do, but here goes...
So, this time, I moved the /usr/include/rx to some other name, and the 
/usr/include/afs too for good measure, and started building from scratch 
with the spec file using
rpm -ba openafs-1.2.2.spec

BINGO!!

This did the trick. Everything worked. I installed the rpms that were 
made, setup and started the afs daemon. All is well.

Thank you VERY VERY much. You were a big help. Is there an easy 
explanation as to why the make was picking up the /usr/include/rx version. 
I looked in the code and noticed lines like 
#include "../rx/rx.h"
but thought that, since I was looking in the 
/usr/src/redhat/BUILD/openafs-1.2.2/include/afs directory, this would find 
a file in /usr/src/redhat/BUILD/openafs-1.2.2/include/rx/.

How did it get to /usr/include/rx???

Anyway, thanks again for your time, and your prompt responses!

Eve


On 12 Dec 2001, Derek Atkins wrote:

> Date: 12 Dec 2001 15:56:52 -0500
> From: Derek Atkins <warlord@MIT.EDU>
> To: Eve V. E. Kovacs <kovacs@hep.anl.gov>
> Cc: Derrick J Brashear <shadow@dementia.org>, openafs-info@openafs.org
> Subject: Re: [OpenAFS] openafs-1.2.2 and 2.2.19-6.2.12 kernel
> 
> Note that /usr/include/rx is not part of the source tree.  If
> you look at /usr/src/redhat/BUILD/openafs-1.2.2/include/rx/rx.h
> you will find the _real_ include file.
> 
> Are you building from the SRPM again?  If not, try it again.
> 
> -derek
> 
> "Eve V. E. Kovacs" <kovacs@hep.anl.gov> writes:
> 
> > Hi,
> > Sorry to be dense, but how could removing this include directory help? The 
> > make procedure is trying to include these files. It's just going to break if I 
> > take them away...
> > 
> > But since you are the experts, I tried it and got the following errors:
> > 
> > cc -c  -I/usr/include -I/local/openafs-1.2.2a/src/config 
> > -I/local/openafs-1.2.2a/include -I. -O2 uss.c
> > uss.c: In function `AddUser':
> > uss.c:1594: warning: dereferencing `void *' pointer
> > uss.c:1594: void value not ignored as it ought to be
> > uss.c: In function `main':
> > uss.c:2013: warning: passing arg 1 of `cmd_SetBeforeProc' from 
> > incompatible pointer type
> > make[3]: *** [uss.o] Error 1
> > make[3]: Leaving directory `/local/openafs-1.2.2a/src/uss'
> > make[2]: *** [uss] Error 2
> > make[2]: Leaving directory `/local/openafs-1.2.2a'
> > make[1]: *** [build] Error 2
> > make[1]: Leaving directory `/local/openafs-1.2.2a'
> > make: *** [all] Error 2
> > 
> > 
> > Same module...slightly different errors...
> > 
> > Eve
> > 
> > On 12 Dec 2001, Derek Atkins wrote:
> > 
> > > Date: 12 Dec 2001 15:24:51 -0500
> > > From: Derek Atkins <warlord@MIT.EDU>
> > > To: Eve V. E. Kovacs <kovacs@hep.anl.gov>
> > > Cc: Derrick J Brashear <shadow@dementia.org>, openafs-info@openafs.org
> > > Subject: Re: [OpenAFS] openafs-1.2.2 and 2.2.19-6.2.12 kernel
> > > 
> > > "Eve V. E. Kovacs" <kovacs@hep.anl.gov> writes:
> > > 
> > > > > > I don't think this is really an openafs problem. It seems to be a problem 
> > > > > > with the 6.2 installation. I have tried removing the ktypes.h line, but 
> > > > > > then the code susequently fails to compile, so I conclude that this 
> > > > > > include file should be there.
> > > > > 
> > > > > How about removing /usr/include/atypes.h?
> > > > > 
> > > > 
> > > > Well, the make just fails one line earlier...
> > > 
> > > How about removing /usr/include/rx/*?  (what other files live
> > > in /usr/include/rx/*?)
> > > 
> > > -derek
> > > 
> > > 
> > 
> > -- 
> > ***************************************************************
> > Eve Kovacs
> > Argonne National Laboratory,
> > Room E253, Bldg. 362, HEP
> > 9700 S. Cass Ave.
> > Argonne, IL 60439 USA
> > Phone: (630)-252-6208
> > Fax:   (630)-252-5047
> > email: kovacs@anl.gov
> > ***************************************************************
> > 
> 
> 

-- 
***************************************************************
Eve Kovacs
Argonne National Laboratory,
Room E253, Bldg. 362, HEP
9700 S. Cass Ave.
Argonne, IL 60439 USA
Phone: (630)-252-6208
Fax:   (630)-252-5047
email: kovacs@anl.gov
***************************************************************