[OpenAFS] Compilation on 2.4.3

Branden J. Moore bmoore@nd.edu
Tue, 3 Apr 2001 21:21:31 -0500 (EST)


OK, defining AFS_64BIT_ENV got me past flipbase64.c, but when I get to
kdump.c, I get the same errors as with 1.0.3.

Any Hints?

Thanks.
Branden

/*************************************************************************
* Branden J. Moore                              University of Notre Dame *
* bmoore@nd.edu                Dept. of Computer Science and Engineering *
* http://www.nd.edu/~bmoore   Laboratory for Computational Life Sciences *
*************************************************************************/

On Tue, 3 Apr 2001, Derrick J Brashear wrote:

> On Tue, 3 Apr 2001, Branden J. Moore wrote:
>
> Short answer:
> define AFS_64BIT_ENV in config/param.i386_linux24.h
>
> Long answer:
> yes, your platform has long long, and the above definition will make it
> work; but there are other changes in CVS which should cover you otherwise
> as well
>
> > I'm running (heavily modified) Mandrake 7.1 (x86), with a stock 2.4.3
> > kernel.  I have the gcc (2.95.3) that Mandrake 7.1 came with.  Today, I
> > have tried compiling both openAFS 1.0.3 and today's CVS snapshot.  Both
> > compiles fail, but in different places:
> > 1.0.3:  when compiling kdump.c, I get a lot of warnings in file:
> > /usr/src/linux-2.4.3/include/asm/socket.h,
> > 	of redefined variables
> > and errors in files:
> > /usr/src/linux-2.4.3/include/linux/string.
> > /usr/src/linux-2.4.3/include/asm/string.h
> > /usr/src/linux-2.4.3/include/linux/fs.h
> > /usr/src/linux-2.4.3/include/linux/ncp_fs_sb.h
> >
> > Most of these errors are parse errors, or conflicting definitions.
> >
> > I can send output if you wish (there is a LOT)
> >
> > CVS-04-03-2001:
> > In compiling flipbase64.c:
> > flipbase64.c: In function `int64_to_flipbase64':
> > flipbase64.c:36: invalid operands to binary ==
> > flipbase64.c:39: invalid operands to binary &
> > flipbase64.c:39: invalid operands to binary >>
> > flipbase64.c:39: invalid operands to binary !=
> > flipbase64.c:40: array subscript is not an integer
> >
> >
> > I don't suppose anybody else has been having these issues?
> >
> > Thanks in advance for your help.
> >
> > Branden Moore
> >
> > /*************************************************************************
> > * Branden J. Moore                              University of Notre Dame *
> > * bmoore@nd.edu                Dept. of Computer Science and Engineering *
> > * http://www.nd.edu/~bmoore   Laboratory for Computational Life Sciences *
> > *************************************************************************/
> >
> >
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > https://lists.openafs.org/mailman/listinfo.cgi/openafs-info
> >
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-info
>