<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Bill,<br>
<br>
On 12/13/2013 04:23 PM, Bill Snapko wrote:<br>
</div>
<blockquote
cite="mid:F3F84FCA419189418CE40A52B8D9E33E2DEA0330@p-exmb1-dc21.corp.sgi.com"
type="cite">
<pre wrap="">Hi Jeff,
I had trouble building on something other than the default SLES 11sp2 kernel. I think the default kernel version for 11sp2 is 3.0.13-0.27-default.
I'm just guessing that you are trying to build the package with a kernel version something other than 3.0.13-0.27-default.
I can build rc3 on SLES 11sp2 with the 3.0.13-0.27-default kernel. Using another kernel version like 3.0.80-0.7-default doesn't work. I get the same or similar build errors. </pre>
</blockquote>
<br>
Exactly. I found the problem in compat-rdma-3.5/config.mk. As you
can see below, the build only thinks that it has SP2 if the
KERNEL_SUBLEVEL is 13, otherwise it thinks it has SP3. I'm working
on a fix, but the problem is that according to a Novell wiki page I
was looking at, SP3 had an original kernel version of 3.0.76. Hence
the valid kernel version ranges for SP2 and SP3 overlap.<br>
<br>
-jeff<br>
<br>
/* excerpt from compat-rdma-3.5/config.mk */<br>
...<br>
KLIB_SOURCE := $(subst build,source,$(KLIB_BUILD))<br>
NAME := $(shell grep ^NAME $(KLIB_SOURCE)/Makefile | sed -n 's/.*=
*\(.*\)/\1/p')<br>
ifneq ($(NAME),)<br>
ifeq ("$(strip $(NAME))","Sneaky Weasel")<br>
SLES_MAJOR := "11"<br>
KERNEL_SUBLEVEL := $(shell grep ^SUBLEVEL $(KLIB_SOURCE)/Makefile |
sed -n 's/.*= *\(.*\)/\1/p')<br>
ifeq ($(KERNEL_SUBLEVEL),13) <big><font
color="#cc0000"><- this is the problem!!</font></big><br>
SLES_MINOR := "2"<br>
CONFIG_COMPAT_SLES_11_2 := y<br>
else<br>
SLES_MINOR := "3"<br>
CONFIG_COMPAT_SLES_11_3 := y<br>
endif<br>
endif<br>
endif<br>
<blockquote
cite="mid:F3F84FCA419189418CE40A52B8D9E33E2DEA0330@p-exmb1-dc21.corp.sgi.com"
type="cite">
<pre wrap="">
Bill
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:ewg-bounces@lists.openfabrics.org">ewg-bounces@lists.openfabrics.org</a> [<a class="moz-txt-link-freetext" href="mailto:ewg-bounces@lists.openfabrics.org">mailto:ewg-bounces@lists.openfabrics.org</a>] On Behalf Of Jeff Becker
Sent: Friday, December 13, 2013 1:38 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:ewg@lists.openfabrics.org">ewg@lists.openfabrics.org</a>; Rupert Dance
Subject: [ewg] compat-rdma compile problem on OFED-3.5.2-rc3, on SLES11SP2
Does this look familiar to anyone? Thanks.
-jeff
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/drivers/infiniband/core/addr.c:
In function 'dst_fetch_ha':
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/drivers/infiniband/core/addr.c:197:
error: implicit declaration of function 'dst_get_neighbour'
_______________________________________________
ewg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ewg@lists.openfabrics.org">ewg@lists.openfabrics.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg">http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg</a>
</pre>
</blockquote>
<br>
</body>
</html>