[OpenAFS-devel] [CSL #299361] openafs-1.4.1 i386_linux26 compile fails osi_probe.c:121

thomas@cs.wisc.edu thomas@cs.wisc.edu
Tue, 25 Apr 2006 13:12:33 -0500


I am having a problem with the "#if LINUX_VERSION_CODE >=
KERNEL_VERSION(2,6,16)" to "#ifdef module_param_array" changes from
1.4.1rc10 to 1.4.1. This is CentOS 4.3 (similar to RHEL 4 update 3).
Anyone else see this?

Dave Thompson
UW-Madison

  CC [M]  /afs/cs/s/openafs-1.4.1/src/2.6.9-34.106.unsupported-i686/openafs-1.4.1/src/libafs/MODLOAD-2.6.9-34.106.unsupported-SP/osi_probe.o
/afs/cs/s/openafs-1.4.1/src/2.6.9-34.106.unsupported-i686/openafs-1.4.1/src/libafs/MODLOAD-2.6.9-34.106.unsupported-SP/osi_probe.c:121:
error: invalid lvalue in unary `&'
/afs/cs/s/openafs-1.4.1/src/2.6.9-34.106.unsupported-i686/openafs-1.4.1/src/libafs/MODLOAD-2.6.9-34.106.unsupported-SP/osi_probe.c:121:
error: initializer element is not constant
/afs/cs/s/openafs-1.4.1/src/2.6.9-34.106.unsupported-i686/openafs-1.4.1/src/libafs/MODLOAD-2.6.9-34.106.unsupported-SP/osi_probe.c:121:
error: (near initialization for `__param_arr_sys_call_table_addr.num')
/afs/cs/s/openafs-1.4.1/src/2.6.9-34.106.unsupported-i686/openafs-1.4.1/src/libafs/MODLOAD-2.6.9-34.106.unsupported-SP/osi_probe.c:138:
error: invalid lvalue in unary `&'
/afs/cs/s/openafs-1.4.1/src/2.6.9-34.106.unsupported-i686/openafs-1.4.1/src/libafs/MODLOAD-2.6.9-34.106.unsupported-SP/osi_probe.c:138:
error: initializer element is not constant
/afs/cs/s/openafs-1.4.1/src/2.6.9-34.106.unsupported-i686/openafs-1.4.1/src/libafs/MODLOAD-2.6.9-34.106.unsupported-SP/osi_probe.c:138:
error: (near initialization for `__param_arr_probe_ignore_syscalls.num')