[OpenAFS] Compilation on 2.4.3
Branden J. Moore
bmoore@nd.edu
Tue, 3 Apr 2001 20:44:02 -0500 (EST)
Hi, I apologize if this topic has been covered in the past, but I could
not find an answer in my searches.
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 *
*************************************************************************/