[OpenAFS] RedHat 7.1 and kernel 2.4.3-12

Marc Schmitt schmitt@inf.ethz.ch
Mon, 02 Jul 2001 16:52:45 +0200


Hi Derek,

Derek Atkins wrote:

> Marc Schmitt <schmitt@inf.ethz.ch> writes:
>
> > Hi all
>
> Hi,
>
> > RedHat recently release a kernel upgrade (2.4.3-12). Looks like many
> > things have changed since 2.4.2-2. I don`t manage to compile the
> > openafs-kernel-source (1.0.4-24.2):
>
> Ok, however....
>
> > make[2]: *** [afs_dir.o] Error 1
> > make[2]: Leaving directory
> > `/usr/src/openafs-kernel-1.0.4/src/MODLOAD-2.4.3-12-MP'
> > make[1]: *** [linux_compdirs] Error 2
> > make[1]: Leaving directory `/usr/src/openafs-kernel-1.0.4/src'
> > make: *** [src/COMMON/libafs.o] Error 2
>

Sorry, my fault, here it is:
# make build-it
cd src; make all LINUX_SRCDIR=/usr/src/linux-`uname -r` LINUX_VERS=`uname
-r`
make[1]: Entering directory `/usr/src/openafs-kernel-1.0.4/src'
Makefile:150: warning: overriding commands for target `xdr_int64.o'
Makefile.common:234: warning: ignoring old commands for target
`xdr_int64.o'
rm -f h net netinet sys rpc
ln -s rx rpc
for v in 2.4.3-12 ; do \
 for m in MP SP ; do \
  KDIR=MODLOAD-$v-$m; \
  mkdir -p ${KDIR}; \
  ln -fs ../Makefile ${KDIR}/Makefile ; \
  ln -fs ../Makefile.common ${KDIR}/Makefile.common; \
  sh ./redhat.sh /usr/src/linux-2.4.3-12 ${KDIR}/Makefile.extradefs; \
 done \
done
for v in 2.4.3-12 ; do \
 IDIR=/usr/src/linux-2.4.3-12/include/linux; \
 rm -f h; \
 ln -s ${IDIR} h; \
 rm -f linux; \
 ln -s ${IDIR} linux; \
 rm -f net; \
 ln -s ${IDIR} net; \
 rm -f netinet; \
 ln -s ${IDIR} netinet; \
 rm -f sys; \
 ln -s ${IDIR} sys; \
 rm -f asm; \
 ln -s /usr/src/linux-2.4.3-12/include/asm asm ; \
 for m in MP SP ; do \
  KDIR=MODLOAD-$v-$m ; \
  echo Building in directory: ${KDIR} ; \
  if [ "$m" = "MP" ] ; then \
   SMP_DEF="-DAFS_SMP -D__BOOT_KERNEL_SMP=1 -D__BOOT_KERNEL_UP=0
-D__SMP__" ; \
   TARG="libafs.mp.o" ; \
  else  \
   SMP_DEF="-D__BOOT_KERNEL_SMP=0 -D__BOOT_KERNEL_UP=1 -U__SMP__" ; \
   TARG=libafs.o ; \
  fi ; \
  cd ${KDIR} ; \
  make SMP_DEF="${SMP_DEF}" ${TARG} CLIENT=$v || exit $?; \
  cd ../ ; \
 done \
done
Building in directory: MODLOAD-2.4.3-12-MP
make[2]: Entering directory
`/usr/src/openafs-kernel-1.0.4/src/MODLOAD-2.4.3-12-MP'
Makefile:150: warning: overriding commands for target `xdr_int64.o'
Makefile.common:234: warning: ignoring old commands for target
`xdr_int64.o'
gcc -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -march=i486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__
-DCPU=586 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -D__BOOT_KERNEL_SMP=1
-D__BOOT_KERNEL_UP=0 -D__SMP__ -DSTRUCT_INODE_HAS_I_BYTES=1
-DINODE_SETATTR_NOT_VOID=1  -I. -I../ -c ../afs/afs_dir.c;
In file included from ../afs/afs_dir.c:22:
../h/time.h:45: nondigits in number and not hexadecimal
../h/time.h:45: nondigits in number and not hexadecimal
../h/time.h:45: nondigits in number and not hexadecimal
../h/time.h:45: parse error before `0da02d67'
../h/time.h: In function `jiffies_to_timespec':
../h/time.h:47: nondigits in number and not hexadecimal
../h/time.h:47: nondigits in number and not hexadecimal
../h/time.h:47: nondigits in number and not hexadecimal
../h/time.h:48: nondigits in number and not hexadecimal
../h/time.h:48: nondigits in number and not hexadecimal
../h/time.h:48: nondigits in number and not hexadecimal
../h/time.h: At top level:
../h/time.h:101: parse error before `72270e35'
../h/time.h:101: `do_gettimeofday_R_ver_str' declared as function
returning a function
../h/time.h:102: nondigits in number and not hexadecimal
../h/time.h:102: nondigits in number and not hexadecimal
../h/time.h:102: nondigits in number and not hexadecimal
../h/time.h:102: nondigits in number and not hexadecimal
../h/time.h:102: parse error before `19d7b1ff'
../h/time.h:102: `do_settimeofday_R_ver_str' declared as function
returning a function
../h/time.h:103: parse error before `60743022'
../h/time.h:103: `get_fast_time_R_ver_str' declared as function returning
a function
In file included from ../linux/wait.h:13,
                 from ../h/fs.h:12,
                 from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../linux/kernel.h:51: nondigits in number and not hexadecimal
../linux/kernel.h:51: nondigits in number and not hexadecimal
../linux/kernel.h:51: parse error before `01075bf0'
../linux/kernel.h:52: `panic_R_ver_str' declared as function returning a
function
../linux/kernel.h:57: parse error before `20000329'
../linux/kernel.h:57: `simple_strtoul_R_ver_str' declared as function
returning a function
../linux/kernel.h:58: nondigits in number and not hexadecimal
../linux/kernel.h:58: nondigits in number and not hexadecimal
../linux/kernel.h:58: nondigits in number and not hexadecimal
../linux/kernel.h:58: parse error before `0b742fd7'
../linux/kernel.h:58: `simple_strtol_R_ver_str' declared as function
returning a function
../linux/kernel.h:59: nondigits in number and not hexadecimal
../linux/kernel.h:59: nondigits in number and not hexadecimal
../linux/kernel.h:59: parse error before `61b7b126'
../linux/kernel.h:59: `simple_strtoull_R_ver_str' declared as function
returning a function
../linux/kernel.h:61: nondigits in number and not hexadecimal
../linux/kernel.h:61: nondigits in number and not hexadecimal
../linux/kernel.h:61: nondigits in number and not hexadecimal
../linux/kernel.h:61: nondigits in number and not hexadecimal
../linux/kernel.h:61: parse error before `3c2c5af5'
../linux/kernel.h:61: `sprintf_R_ver_str' declared as function returning
a function
../linux/kernel.h:62: nondigits in number and not hexadecimal
../linux/kernel.h:62: nondigits in number and not hexadecimal
../linux/kernel.h:62: nondigits in number and not hexadecimal
../linux/kernel.h:62: parse error before `954cbb26'
../linux/kernel.h:62: `vsprintf_R_ver_str' declared as function returning
a function
../linux/kernel.h:63: `get_option_R_ver_str' declared as function
returning a function
../linux/kernel.h:63: warning: parameter names (without types) in
function declaration
../linux/kernel.h:64: nondigits in number and not hexadecimal
../linux/kernel.h:64: nondigits in number and not hexadecimal
../linux/kernel.h:64: nondigits in number and not hexadecimal
../linux/kernel.h:64: nondigits in number and not hexadecimal
../linux/kernel.h:64: nondigits in number and not hexadecimal
../linux/kernel.h:64: parse error before `0fbff9b9'
../linux/kernel.h:64: `get_options_R_ver_str' declared as function
returning a function
../linux/kernel.h:65: nondigits in number and not hexadecimal
../linux/kernel.h:65: nondigits in number and not hexadecimal
../linux/kernel.h:65: nondigits in number and not hexadecimal
../linux/kernel.h:65: parse error before `23f2d36f'
../linux/kernel.h:65: `memparse_R_ver_str' declared as function returning
a function
../linux/kernel.h:70: nondigits in number and not hexadecimal
../linux/kernel.h:70: nondigits in number and not hexadecimal
../linux/kernel.h:70: parse error before `1b7d4074'
../linux/kernel.h:71: `printk_R_ver_str' declared as function returning a
function
In file included from ../linux/prefetch.h:13,
                 from ../linux/list.h:6,
                 from ../linux/wait.h:14,
                 from ../h/fs.h:12,
                 from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../asm/processor.h:51: warning: parameter names (without types) in
function declaration
../asm/processor.h:51: field `loops_per_jiffy_R_ver_str' declared as a
function
../asm/processor.h:72: nondigits in number and not hexadecimal
../asm/processor.h:72: nondigits in number and not hexadecimal
../asm/processor.h:72: nondigits in number and not hexadecimal
../asm/processor.h:72: parse error before `65dda927'
../asm/processor.h:247: nondigits in number and not hexadecimal
../asm/processor.h:247: parse error before `7413793a'
../asm/processor.h:251: warning: parameter names (without types) in
function declaration
../asm/processor.h:430: missing white space after number `7e9'
../asm/processor.h:430: parse error before `7e9'
../asm/processor.h:430: `kernel_thread_R_ver_str' declared as function
returning a function
In file included from ../linux/spinlock.h:35,
                 from ../linux/wait.h:16,
                 from ../h/fs.h:12,
                 from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../asm/spinlock.h:9: nondigits in number and not hexadecimal
../asm/spinlock.h:9: nondigits in number and not hexadecimal
../asm/spinlock.h:9: parse error before `1b7d4074'
../asm/spinlock.h:10: `printk_R_ver_str' declared as function returning a
function
In file included from ../linux/net.h:22,
                 from ../h/fs.h:15,
                 from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../linux/socket.h:243: nondigits in number and not hexadecimal
../linux/socket.h:243: nondigits in number and not hexadecimal
../linux/socket.h:243: nondigits in number and not hexadecimal
../linux/socket.h:243: nondigits in number and not hexadecimal
../linux/socket.h:243: parse error before `9fb3dd30'
../linux/socket.h:243: `memcpy_fromiovec_R_ver_str' declared as function
returning a function
../linux/socket.h:252: nondigits in number and not hexadecimal
../linux/socket.h:252: floating constant exponent has no digits
../linux/socket.h:252: missing white space after number `9ce'
../linux/socket.h:252: parse error before `9ce'
../linux/socket.h:252: `memcpy_toiovec_R_ver_str' declared as function
returning a function
../linux/socket.h:253: `memcpy_tokerneliovec_R_ver_str' declared as
function returning a function
../linux/socket.h:253: warning: parameter names (without types) in
function declaration
../linux/socket.h:256: `put_cmsg_R_ver_str' declared as function
returning a function
../linux/socket.h:256: warning: parameter names (without types) in
function declaration
In file included from ../h/fs.h:15,
                 from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../linux/net.h:98: nondigits in number and not hexadecimal
../linux/net.h:98: nondigits in number and not hexadecimal
../linux/net.h:98: floating constant exponent has no digits
../linux/net.h:98: parse error before `7c60d66e'
../linux/net.h:99: field `getname_R_ver_str' declared as a function
../linux/net.h:134: nondigits in number and not hexadecimal
../linux/net.h:134: parse error before `2394a062'
../linux/net.h:134: `sock_unregister_R_ver_str' declared as function
returning a function
../linux/net.h:143: `net_ratelimit_R_ver_str' declared as function
returning a function
../linux/net.h:143: warning: parameter names (without types) in function
declaration
../linux/net.h:144: nondigits in number and not hexadecimal
../linux/net.h:144: nondigits in number and not hexadecimal
../linux/net.h:144: nondigits in number and not hexadecimal
../linux/net.h:144: parse error before `1c66f64c'
../linux/net.h:144: `net_random_R_ver_str' declared as function returning
a function
../linux/net.h:145: `net_srandom_R_ver_str' declared as function
returning a function
../linux/net.h:145: warning: parameter names (without types) in function
declaration
In file included from ../h/fs.h:16,
                 from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../linux/kdev_t.h:76: `kdevname_R_ver_str' declared as function returning
a function
../linux/kdev_t.h:76: warning: parameter names (without types) in
function declaration
In file included from ../h/fs.h:19,
                 from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../linux/dcache.h:173: nondigits in number and not hexadecimal
../linux/dcache.h:173: nondigits in number and not hexadecimal
../linux/dcache.h:173: nondigits in number and not hexadecimal
../linux/dcache.h:173: nondigits in number and not hexadecimal
../linux/dcache.h:173: nondigits in number and not hexadecimal
../linux/dcache.h:173: parse error before `1cbd21ba'
../linux/dcache.h:173: `flush_dentry_tuxinfo_R_ver_str' declared as
function returning a function
../linux/dcache.h:179: nondigits in number and not hexadecimal
../linux/dcache.h:179: nondigits in number and not hexadecimal
../linux/dcache.h:179: nondigits in number and not hexadecimal
../linux/dcache.h:179: parse error before `6cf28f77'
../linux/dcache.h:179: `prune_dcache_R_ver_str' declared as function
returning a function
In file included from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../h/fs.h:54: nondigits in number and not hexadecimal
../h/fs.h:54: nondigits in number and not hexadecimal
../h/fs.h:54: nondigits in number and not hexadecimal
../h/fs.h:54: nondigits in number and not hexadecimal
../h/fs.h:54: parse error before `03cada27'
In file included from ../asm/semaphore.h:39,
                 from ../h/fs.h:200,
                 from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../asm/system.h:336: floating constant exponent has no digits
../asm/system.h:336: missing white space after number `794487e'
../asm/system.h:336: parse error before `794487e'
../asm/system.h:336: `disable_hlt_R_ver_str' declared as function
returning a function
../asm/system.h:337: nondigits in number and not hexadecimal
../asm/system.h:337: nondigits in number and not hexadecimal
../asm/system.h:337: nondigits in number and not hexadecimal
../asm/system.h:337: parse error before `9c7077bd'
../asm/system.h:337: `enable_hlt_R_ver_str' declared as function
returning a function
In file included from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../h/fs.h:565: missing white space after number `6e85119'
../h/fs.h:565: parse error before `6e85119'
In file included from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../h/fs.h:571: `sys_fcntl_R_ver_str' declared as function returning a
function
../h/fs.h:571: warning: parameter names (without types) in function
declaration
../h/fs.h:572: nondigits in number and not hexadecimal
../h/fs.h:572: nondigits in number and not hexadecimal
../h/fs.h:572: missing white space after number `73da3e9'
../h/fs.h:572: parse error before `73da3e9'
../h/fs.h:572: `sys_dup_R_ver_str' declared as function returning a
function
../h/fs.h:574: nondigits in number and not hexadecimal
../h/fs.h:574: nondigits in number and not hexadecimal
../h/fs.h:574: parse error before `16bd3948'
../h/fs.h:574: `sys_read_R_ver_str' declared as function returning a
function
../h/fs.h:575: `sys_write_R_ver_str' declared as function returning a
function
../h/fs.h:575: warning: parameter names (without types) in function
declaration
../h/fs.h:576: nondigits in number and not hexadecimal
../h/fs.h:576: parse error before `065b44e8'
../h/fs.h:576: `sys_chroot_R_ver_str' declared as function returning a
function
../h/fs.h:577: `sys_chdir_R_ver_str' declared as function returning a
function
../h/fs.h:577: warning: parameter names (without types) in function
declaration
In file included from ../linux/reiserfs_fs_sb.h:8,
                 from ../h/fs.h:656,
                 from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../linux/tqueue.h:69: warning: parameter names (without types) in
function declaration
../linux/tqueue.h:69: nondigits in number and not hexadecimal
../linux/tqueue.h:69: nondigits in number and not hexadecimal
../linux/tqueue.h:69: nondigits in number and not hexadecimal
../linux/tqueue.h:69: nondigits in number and not hexadecimal
../linux/tqueue.h:69: nondigits in number and not hexadecimal
../linux/tqueue.h:69: parse error before `0da0dcd1'
../linux/tqueue.h:69: nondigits in number and not hexadecimal
../linux/tqueue.h:69: nondigits in number and not hexadecimal
../linux/tqueue.h:69: nondigits in number and not hexadecimal
../linux/tqueue.h:69: parse error before `5373dbb6'
../linux/tqueue.h:117: nondigits in number and not hexadecimal
../linux/tqueue.h:117: nondigits in number and not hexadecimal
../linux/tqueue.h:117: parse error before `3889b11c'
../linux/tqueue.h:117: `__run_task_queue_R_ver_str' declared as function
returning a function
../linux/tqueue.h: In function `run_task_queue':
../linux/tqueue.h:122: nondigits in number and not hexadecimal
../linux/tqueue.h:122: nondigits in number and not hexadecimal
../linux/tqueue.h:122: called object is not a function
In file included from ../afs/afs_osi.h:27,
                 from ../afs/afs_dir.c:81:
../h/fs.h: At top level:
../h/fs.h:1017: nondigits in number and not hexadecimal
../h/fs.h:1017: nondigits in number and not hexadecimal
../h/fs.h:1017: nondigits in number and not hexadecimal
../h/fs.h:1017: parse error before `268cc6a2'
../h/fs.h:1017: `sys_close_R_ver_str' declared as function returning a
function
../h/fs.h:1023: nondigits in number and not hexadecimal
../h/fs.h:1023: nondigits in number and not hexadecimal
../h/fs.h:1023: floating constant exponent has no digits
../h/fs.h:1023: parse error before `7c60d66e'
../h/fs.h:1023: `getname_R_ver_str' declared as function returning a
function
../h/fs.h:1033: `unregister_blkdev_R_ver_str' declared as function
returning a function
../h/fs.h:1033: warning: parameter names (without types) in function
declaration
../h/fs.h:1046: `unregister_chrdev_R_ver_str' declared as function
returning a function
../h/fs.h:1046: warning: parameter names (without types) in function
declaration
../h/fs.h:1048: `bdevname_R_ver_str' declared as function returning a
function
../h/fs.h:1048: warning: parameter names (without types) in function
declaration
../h/fs.h:1049: nondigits in number and not hexadecimal
../h/fs.h:1049: parse error before `9754741d'
../h/fs.h:1049: `cdevname_R_ver_str' declared as function returning a
function
../h/fs.h:1050: `kdevname_R_ver_str' declared as function returning a
function
../h/fs.h:1050: warning: parameter names (without types) in function
declaration
../h/fs.h:1143: nondigits in number and not hexadecimal
../h/fs.h:1143: nondigits in number and not hexadecimal
../h/fs.h:1143: parse error before `11d4076d'
../h/fs.h:1143: `check_disk_change_R_ver_str' declared as function
returning a function
../h/fs.h:1149: nondigits in number and not hexadecimal
../h/fs.h:1149: parse error before `98f51538'
../h/fs.h:1149: `__invalidate_buffers_R_ver_str' declared as function
returning a function
../h/fs.h:1153: `sync_dev_R_ver_str' declared as function returning a
function
../h/fs.h:1153: warning: parameter names (without types) in function
declaration
../h/fs.h:1154: floating constant exponent has no digits
../h/fs.h:1154: missing white space after number `8e'
../h/fs.h:1154: parse error before `8e'
../h/fs.h:1154: `fsync_dev_R_ver_str' declared as function returning a
function
../h/fs.h:1178: `do_pipe_R_ver_str' declared as function returning a
function
../h/fs.h:1178: warning: parameter names (without types) in function
declaration
../h/fs.h:1303: nondigits in number and not hexadecimal
../h/fs.h:1303: nondigits in number and not hexadecimal
../h/fs.h:1303: parse error before `740274ca'
../h/fs.h:1303: `is_read_only_R_ver_str' declared as function returning a
function
../h/fs.h:1316: `set_blocksize_R_ver_str' declared as function returning
a function
../h/fs.h:1316: warning: parameter names (without types) in function
declaration
../h/fs.h:1365: warning: parameter names (without types) in function
declaration
../h/fs.h:1379: nondigits in number and not hexadecimal
../h/fs.h:1379: nondigits in number and not hexadecimal
../h/fs.h:1379: nondigits in number and not hexadecimal
../h/fs.h:1379: nondigits in number and not hexadecimal
../h/fs.h:1379: parse error before `0abb7b07'
../h/fs.h:1379: `read_ahead_R_ver_str' declared as function returning an
array
In file included from ../h/mm.h:4,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/sched.h:6: nondigits in number and not hexadecimal
../linux/sched.h:6: nondigits in number and not hexadecimal
../linux/sched.h:6: parse error before `7b16c344'
In file included from ../linux/binfmts.h:5,
                 from ../linux/sched.h:9,
                 from ../h/mm.h:4,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/capability.h:284: nondigits in number and not hexadecimal
../linux/capability.h:284: nondigits in number and not hexadecimal
../linux/capability.h:284: parse error before `59ab4080'
In file included from ../linux/sched.h:10,
                 from ../h/mm.h:4,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/personality.h:55: `register_exec_domain_R_ver_str' declared as
function returning a function
../linux/personality.h:55: warning: parameter names (without types) in
function declaration
../linux/personality.h:56: nondigits in number and not hexadecimal
../linux/personality.h:56: nondigits in number and not hexadecimal
../linux/personality.h:56: nondigits in number and not hexadecimal
../linux/personality.h:56: parse error before `6c332c8d'
../linux/personality.h:56: `unregister_exec_domain_R_ver_str' declared as
function returning a function
../linux/personality.h:61: nondigits in number and not hexadecimal
../linux/personality.h:61: nondigits in number and not hexadecimal
../linux/personality.h:61: parse error before `7d678b69'
../linux/personality.h:61: `__set_personality_R_ver_str' declared as
function returning a function
In file included from ../asm/apic.h:5,
                 from ../asm/smp.h:21,
                 from ../linux/smp.h:14,
                 from ../linux/sched.h:23,
                 from ../h/mm.h:4,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/pm.h:112: warning: parameter names (without types) in function
declaration
../linux/pm.h:119: nondigits in number and not hexadecimal
../linux/pm.h:119: nondigits in number and not hexadecimal
../linux/pm.h:119: nondigits in number and not hexadecimal
../linux/pm.h:119: nondigits in number and not hexadecimal
../linux/pm.h:119: nondigits in number and not hexadecimal
../linux/pm.h:119: parse error before `8dbab11c'
../linux/pm.h:121: `pm_register_R_ver_str' declared as function returning
a function
../linux/pm.h:126: `pm_unregister_R_ver_str' declared as function
returning a function
../linux/pm.h:126: warning: parameter names (without types) in function
declaration
../linux/pm.h:131: nondigits in number and not hexadecimal
../linux/pm.h:131: nondigits in number and not hexadecimal
../linux/pm.h:131: nondigits in number and not hexadecimal
../linux/pm.h:131: nondigits in number and not hexadecimal
../linux/pm.h:131: parse error before `9c0ba5b2'
../linux/pm.h:131: `pm_unregister_all_R_ver_str' declared as function
returning a function
../linux/pm.h:136: nondigits in number and not hexadecimal
../linux/pm.h:136: nondigits in number and not hexadecimal
../linux/pm.h:136: floating constant exponent has no digits
../linux/pm.h:136: missing white space after number `38ff3e'
../linux/pm.h:136: parse error before `38ff3e'
../linux/pm.h:136: `pm_send_R_ver_str' declared as function returning a
function
../linux/pm.h:141: `pm_send_all_R_ver_str' declared as function returning
a function
../linux/pm.h:141: warning: parameter names (without types) in function
declaration
../linux/pm.h:146: nondigits in number and not hexadecimal
../linux/pm.h:146: nondigits in number and not hexadecimal
../linux/pm.h:146: parse error before `1a55780a'
../linux/pm.h:146: `pm_find_R_ver_str' declared as function returning a
function
../linux/pm.h:186: warning: parameter names (without types) in function
declaration
../linux/pm.h:187: nondigits in number and not hexadecimal
../linux/pm.h:187: floating constant exponent has no digits
../linux/pm.h:187: missing white space after number `60a32e'
../linux/pm.h:187: parse error before `60a32e'
In file included from ../linux/sched.h:24,
                 from ../h/mm.h:4,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/tty.h:59: syntax error before `{'
../linux/tty.h:93: parse error before `}'
../linux/tty.h:95: parse error before `screen_info_R_ver_str'
../linux/tty.h:95: warning: parameter names (without types) in function
declaration
../linux/tty.h:95: warning: data definition has no type or storage class
../linux/tty.h:343: nondigits in number and not hexadecimal
../linux/tty.h:343: nondigits in number and not hexadecimal
../linux/tty.h:343: parse error before `89ac5254'
../linux/tty.h:346: missing white space after number `4e6'
../linux/tty.h:346: parse error before `4e6'
../linux/tty.h:417: `console_print_R_ver_str' declared as function
returning a function
../linux/tty.h:417: warning: parameter names (without types) in function
declaration
In file included from ../linux/sched.h:27,
                 from ../h/mm.h:4,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/securebits.h:6: warning: parameter names (without types) in
function declaration
In file included from ../h/mm.h:4,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/sched.h:73: warning: parameter names (without types) in function
declaration
In file included from ../h/mm.h:4,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/sched.h:151: nondigits in number and not hexadecimal
../linux/sched.h:151: nondigits in number and not hexadecimal
../linux/sched.h:151: parse error before `17d59d01'
../linux/sched.h:151: `schedule_timeout_R_ver_str' declared as function
returning a function
../linux/sched.h:152: nondigits in number and not hexadecimal
../linux/sched.h:152: parse error before `4292364c'
../linux/sched.h:152: `schedule_R_ver_str' declared as function returning
a function
../linux/sched.h:154: nondigits in number and not hexadecimal
../linux/sched.h:154: nondigits in number and not hexadecimal
../linux/sched.h:154: nondigits in number and not hexadecimal
../linux/sched.h:154: parse error before `2d6c3d04'
../linux/sched.h:154: `schedule_task_R_ver_str' declared as function
returning a function
../linux/sched.h:155: nondigits in number and not hexadecimal
../linux/sched.h:155: nondigits in number and not hexadecimal
../linux/sched.h:155: parse error before `7c3242b4'
../linux/sched.h:155: `flush_scheduled_tasks_R_ver_str' declared as
function returning a function
In file included from ../h/mm.h:4,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/sched.h:545: nondigits in number and not hexadecimal
../linux/sched.h:545: nondigits in number and not hexadecimal
../linux/sched.h:545: nondigits in number and not hexadecimal
../linux/sched.h:545: parse error before `0da02d67'
../linux/sched.h:548: warning: parameter names (without types) in
function declaration
../linux/sched.h:578: `sys_wait4_R_ver_str' declared as function
returning a function
../linux/sched.h:578: warning: parameter names (without types) in
function declaration
../linux/sched.h:580: `in_group_p_R_ver_str' declared as function
returning a function
../linux/sched.h:580: warning: parameter names (without types) in
function declaration
../linux/sched.h:581: `in_egroup_p_R_ver_str' declared as function
returning a function
../linux/sched.h:581: warning: parameter names (without types) in
function declaration
../linux/sched.h:586: missing white space after number `8e39319'
../linux/sched.h:586: parse error before `8e39319'
../linux/sched.h:586: `dequeue_signal_R_ver_str' declared as function
returning a function
../linux/sched.h:587: nondigits in number and not hexadecimal
../linux/sched.h:587: nondigits in number and not hexadecimal
../linux/sched.h:587: nondigits in number and not hexadecimal
../linux/sched.h:587: nondigits in number and not hexadecimal
../linux/sched.h:587: parse error before `4b34fbf5'
../linux/sched.h:588: `block_all_signals_R_ver_str' declared as function
returning a function
../linux/sched.h:589: nondigits in number and not hexadecimal
../linux/sched.h:589: parse error before `0a2487e0'
../linux/sched.h:589: `unblock_all_signals_R_ver_str' declared as
function returning a function
../linux/sched.h:592: missing white space after number `8e2'
../linux/sched.h:592: parse error before `8e2'
../linux/sched.h:592: `kill_pg_info_R_ver_str' declared as function
returning a function
../linux/sched.h:593: nondigits in number and not hexadecimal
../linux/sched.h:593: floating constant exponent has no digits
../linux/sched.h:593: parse error before `1988d21e'
../linux/sched.h:593: `kill_sl_info_R_ver_str' declared as function
returning a function
../linux/sched.h:594: `kill_proc_info_R_ver_str' declared as function
returning a function
../linux/sched.h:594: warning: parameter names (without types) in
function declaration
../linux/sched.h:599: nondigits in number and not hexadecimal
../linux/sched.h:599: parse error before `38f29719'
../linux/sched.h:599: `kill_pg_R_ver_str' declared as function returning
a function
../linux/sched.h:600: `kill_sl_R_ver_str' declared as function returning
a function
../linux/sched.h:600: warning: parameter names (without types) in
function declaration
../linux/sched.h:601: nondigits in number and not hexadecimal
../linux/sched.h:601: nondigits in number and not hexadecimal
../linux/sched.h:601: floating constant exponent has no digits
../linux/sched.h:601: parse error before `932da67e'
../linux/sched.h:601: `kill_proc_R_ver_str' declared as function
returning a function
../linux/sched.h:662: nondigits in number and not hexadecimal
../linux/sched.h:662: nondigits in number and not hexadecimal
../linux/sched.h:662: parse error before `0c60f2e0'
../linux/sched.h:664: `request_irq_R_ver_str' declared as function
returning a function
../linux/sched.h:665: `free_irq_R_ver_str' declared as function returning
a function
../linux/sched.h:665: warning: parameter names (without types) in
function declaration
../linux/sched.h: In function `suser':
../linux/sched.h:683: `abe77484' undeclared (first use in this function)
../linux/sched.h:683: (Each undeclared identifier is reported only once
../linux/sched.h:683: for each function it appears in.)
../linux/sched.h: In function `fsuser':
../linux/sched.h:692: `abe77484' undeclared (first use in this function)
../linux/sched.h: At top level:
../linux/sched.h:761: `daemonize_R_ver_str' declared as function
returning a function
../linux/sched.h:761: warning: parameter names (without types) in
function declaration
../linux/sched.h:763: nondigits in number and not hexadecimal
../linux/sched.h:763: nondigits in number and not hexadecimal
../linux/sched.h:763: parse error before `9c62098f'
../linux/sched.h:763: `do_execve_R_ver_str' declared as function
returning a function
../linux/sched.h: In function `del_from_runqueue':
../linux/sched.h:852: `ca3c6d78' undeclared (first use in this function)
../linux/sched.h:852: invalid lvalue in decrement
../linux/sched.h:853: nondigits in number and not hexadecimal
../linux/sched.h:853: nondigits in number and not hexadecimal
../linux/sched.h:853: nondigits in number and not hexadecimal
In file included from ../h/mm.h:12,
                 from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../linux/mmzone.h: At top level:
../linux/mmzone.h:48: parse error before `234535e0'
../linux/mmzone.h:48: field `free_pages_R_ver_str' declared as a function

In file included from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../h/mm.h:14: nondigits in number and not hexadecimal
../h/mm.h:14: nondigits in number and not hexadecimal
../h/mm.h:14: nondigits in number and not hexadecimal
../h/mm.h:14: numeric constant contains digits beyond the radix
../h/mm.h:14: parse error before `01139ffc'
../h/mm.h:15: nondigits in number and not hexadecimal
../h/mm.h:15: nondigits in number and not hexadecimal
../h/mm.h:15: parse error before `0948cde9'
../h/mm.h:16: nondigits in number and not hexadecimal
../h/mm.h:16: nondigits in number and not hexadecimal
../h/mm.h:16: nondigits in number and not hexadecimal
../h/mm.h:16: parse error before `8a7d1c31'
In file included from ../afs/afs_osi.h:28,
                 from ../afs/afs_dir.c:81:
../h/mm.h:400: nondigits in number and not hexadecimal
../h/mm.h:400: nondigits in number and not hexadecimal
../h/mm.h:400: nondigits in number and not hexadecimal
../h/mm.h:400: parse error before `5b3b8f78'
../h/mm.h:400: `__get_free_pages_R_ver_str' declared as function
returning a function
../h/mm.h:401: parse error before `6807e076'
../h/mm.h:401: `get_zeroed_page_R_ver_str' declared as function returning
a function
../h/mm.h:418: parse error before `234535e0'
../h/mm.h:418: `free_pages_R_ver_str' declared as function returning a
function
../h/mm.h:435: nondigits in number and not hexadecimal
../h/mm.h:435: parse error before `69d01e73'
../h/mm.h:435: `remap_page_range_R_ver_str' declared as function
returning a function
../h/mm.h:470: missing white space after number `7e9'
../h/mm.h:470: parse error before `7e9'
../h/mm.h:470: `si_meminfo_R_ver_str' declared as function returning a
function
../h/mm.h:502: floating constant exponent has no digits
../h/mm.h:502: missing white space after number `9e'
../h/mm.h:502: parse error before `9e'
../h/mm.h:502: `do_brk_R_ver_str' declared as function returning a
function
make[2]: *** [afs_dir.o] Error 1
make[2]: Leaving directory
`/usr/src/openafs-kernel-1.0.4/src/MODLOAD-2.4.3-12-MP'
make[1]: *** [linux_compdirs] Error 2
make[1]: Leaving directory `/usr/src/openafs-kernel-1.0.4/src'
make: *** [src/COMMON/libafs.o] Error 2
[openafs-kernel-1.0.4]#


>
> Could you send _MORE_ of the error here, like the actual compilation
> problem?  This message tells me only that the problem was in compiling
> afs_dir.o; but it doesn't give me ANY information about what was
> failing?
>
> I presume that you have the 2.4.3-12 kernel-source RPM installed?

Yes:
# rpm -qa | grep kernel
kernel-2.4.3-12
openafs-kernel-source-1.0.4-24.2
kernel-doc-2.4.3-12
openafs-kernel-1.0.4-24.2
kernel-headers-2.4.3-12
kernel-source-2.4.3-12


Regards,
    Marc

>
>
> -derek
>
> PS: I'm not surprised the 2.4.2 modules don't work.
> --
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info