[openib-general] Compilation issues on rhel4 u3 ppc64 sysfs.o

Scott Weitzenkamp (sweitzen) sweitzen at cisco.com
Tue May 23 12:38:56 PDT 2006


OFED 1.0 rc4 does compile and run on RHEL4 U3 ppc64.
 
Scott Weitzenkamp
SQA and Release Manager
Server Virtualization Business Unit
Cisco Systems
 


________________________________

	From: openib-general-bounces at openib.org
[mailto:openib-general-bounces at openib.org] On Behalf Of Paul Lundin
	Sent: Tuesday, May 23, 2006 12:34 PM
	To: openib-general at openib.org
	Subject: [openib-general] Compilation issues on rhel4 u3 ppc64
sysfs.o
	
	
	Hi All,
	     I just started working with openIB in the past week. I am
having an issue getting the kernel modules to compile with the stock
rhel4 u3 kernel. I have applied the patches found at
https://openib.org/svn/gen2/branches/backport/2.6.9_U3/ and followed the
instructions from
https://openib.org/tiki/tiki-index.php?page=Installation+Cheat+Sheet but
I have been getting the following error:
	
	LD
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/built-in.o
	LD
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/built-in.o
	CC [M] /usr/src/kernels/2.6.9-
34.EL-ppc64/drivers/infiniband/core/index.o
	CC [M]
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/addr.o
	CC [M]
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/cm.o
	/usr/src/kernels/2.6.9-
34.EL-ppc64/drivers/infiniband/core/cm.c: In function `ib_cm_cleanup':
	
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/cm.c:3367:
warning: implicit declaration of function `idr_destroy'
	CC [M] /usr/src/kernels/2.6.9-
34.EL-ppc64/drivers/infiniband/core/packer.o
	CC [M]
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/ud_header.o
	CC [M]
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/verbs.o
	CC [M] /usr/src/kernels/2.6.9-
34.EL-ppc64/drivers/infiniband/core/sysfs.o
	
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/sysfs.c:693:
error: unknown field `uevent' specified in initializer
	
/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/sysfs.c:693:
warning: initialization from incompatible pointer type 
	make[2]: ***
[/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/sysfs.o]
Error 1
	make[1]: ***
[/usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core] Error 2
	make: *** [_module_/usr/src/kernels/2.6.9-
34.EL-ppc64/drivers/infiniband] Error 2
	make: Leaving directory `/usr/src/kernels/2.6.9-34.EL-ppc64'
	
	Any help would be appreciated. As noted this is on a ppc64
machine. The rhel4 u3 install does *NOT* configure openIB by default
like it does on intel architectures. I was wondering if openIB has been
tested at all on ppc64 and if this was even possible at this point. 
	
	Regards.
	Paul
	
	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060523/f5b5cdbe/attachment.html>


More information about the general mailing list