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

John A. Goebel jgoebel@slac.stanford.edu
Tue, 25 Apr 2006 11:18:50 -0700


++ 25/04/06 13:12 -0500 - <thomas@cs.wisc.edu>:
 
Hey,

> 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?
 
There's a fix that worked for me here:

http://rt.central.org/rt/Ticket/Display.html?id=30514


John

> 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')
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

##############################################
# John Goebel <jgoebel(at)slac.stanford.edu> #
# Stanford Linear Accelerator Center         #
# 2575 Sand Hill Road, Menlo Park, CA 94025  #
############################################ #