<br><font size=2 face="sans-serif">Got the all the other errors fixed but
I am still getting the following error. It seems that attribute_container.c
is looking for "base.h" in .../BUILD/ofa_kernel-1.2/driver/base
but it's not located there. </font>
<br>
<br><font size=2><tt> gcc -Wp,-MD,/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.scsi.o.d
-nostdinc -iwithprefix <br>
include -D__KERNEL__ <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/kernel_addons/backport/2.6.9_U4/include/
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include  -Iinclude
 -Iinclude2 <br>
-I/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10/include  -include
include/linux/autoconf.h  -include <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include/linux/autoconf.h <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi -Wall -Wstrict-prototypes
-Wno-trigraphs <br>
-fno-strict-aliasing -fno-common -Os -fomit-frame-pointer -Wdeclaration-after-statement
<br>
-mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare
<br>
-fno-asynchronous-unwind-tables -funit-at-a-time  -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/ulp/ipoib <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/debug <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/hw/cxgb3/core
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/cxgb3 <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/rds -DMODULE -DKBUILD_BASENAME=scsi
<br>
-DKBUILD_MODNAME=scsi_transport_iscsi -c -o <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.tmp_scsi.o <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/scsi.c<br>
   gcc -Wp,-MD,/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.scsi_lib.o.d
-nostdinc <br>
-iwithprefix include -D__KERNEL__ <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/kernel_addons/backport/2.6.9_U4/include/
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include  -Iinclude
 -Iinclude2 <br>
-I/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10/include  -include
include/linux/autoconf.h  -include <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include/linux/autoconf.h <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi -Wall -Wstrict-prototypes
-Wno-trigraphs <br>
-fno-strict-aliasing -fno-common -Os -fomit-frame-pointer -Wdeclaration-after-statement
<br>
-mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare
<br>
-fno-asynchronous-unwind-tables -funit-at-a-time  -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/ulp/ipoib <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/debug <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/hw/cxgb3/core
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/cxgb3 <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/rds -DMODULE -DKBUILD_BASENAME=scsi_lib
<br>
-DKBUILD_MODNAME=scsi_transport_iscsi -c -o <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.tmp_scsi_lib.o <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/scsi_lib.c<br>
   gcc -Wp,-MD,/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.init.o.d
-nostdinc -iwithprefix <br>
include -D__KERNEL__ <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/kernel_addons/backport/2.6.9_U4/include/
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include  -Iinclude
 -Iinclude2 <br>
-I/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10/include  -include
include/linux/autoconf.h  -include <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include/linux/autoconf.h <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi -Wall -Wstrict-prototypes
-Wno-trigraphs <br>
-fno-strict-aliasing -fno-common -Os -fomit-frame-pointer -Wdeclaration-after-statement
<br>
-mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare
<br>
-fno-asynchronous-unwind-tables -funit-at-a-time  -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/ulp/ipoib <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/debug <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/hw/cxgb3/core
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/cxgb3 <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/rds -DMODULE -DKBUILD_BASENAME=init
<br>
-DKBUILD_MODNAME=scsi_transport_iscsi -c -o <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.tmp_init.o <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/init.c<br>
   gcc -Wp,-MD,/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.klist.o.d
-nostdinc -iwithprefix <br>
include -D__KERNEL__ <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/kernel_addons/backport/2.6.9_U4/include/
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include  -Iinclude
 -Iinclude2 <br>
-I/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10/include  -include
include/linux/autoconf.h  -include <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include/linux/autoconf.h <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi -Wall -Wstrict-prototypes
-Wno-trigraphs <br>
-fno-strict-aliasing -fno-common -Os -fomit-frame-pointer -Wdeclaration-after-statement
<br>
-mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare
<br>
-fno-asynchronous-unwind-tables -funit-at-a-time  -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/ulp/ipoib <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/debug <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/hw/cxgb3/core
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/cxgb3 <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/rds -DMODULE -DKBUILD_BASENAME=klist
<br>
-DKBUILD_MODNAME=scsi_transport_iscsi -c -o <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.tmp_klist.o <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/klist.c<br>
   gcc -Wp,-MD,/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.attribute_container.o.d
-nostdinc <br>
-iwithprefix include -D__KERNEL__ <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/kernel_addons/backport/2.6.9_U4/include/
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include  -Iinclude
 -Iinclude2 <br>
-I/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10/include  -include
include/linux/autoconf.h  -include <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include/linux/autoconf.h <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi -Wall -Wstrict-prototypes
-Wno-trigraphs <br>
-fno-strict-aliasing -fno-common -Os -fomit-frame-pointer -Wdeclaration-after-statement
<br>
-mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare
<br>
-fno-asynchronous-unwind-tables -funit-at-a-time  -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/ulp/ipoib <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/debug <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/hw/cxgb3/core
<br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/cxgb3 <br>
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/net/rds <br>
-I/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10/kernel_addons/backport/2.6.9_U4/include/src/
<br>
-DMODULE -DKBUILD_BASENAME=attribute_container -DKBUILD_MODNAME=scsi_transport_iscsi
-c -o <br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/.tmp_attribute_container.o
<br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/attribute_container.c<br>
In file included from /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/attribute_container.c:1:<br>
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include/../drivers/base/attribute_container.c:22:18:
base.h: <br>
No such file or directory<br>
make[5]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi/attribute_container.o]
Error 1<br>
make[4]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/scsi] Error
2<br>
make[3]: *** [_module_/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2] Error 2<br>
make[2]: *** [modules] Error 2<br>
make[1]: *** [modules] Error 2<br>
make[1]: Leaving directory `/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10-obj/x86_64/smp'<br>
make: *** [kernel] Error 2<br>
error: Bad exit status from /var/tmp/rpm-tmp.47502 (%install)<br>
<br>
<br>
RPM build errors:<br>
     user vlad does not exist - using root<br>
     group vlad does not exist - using root<br>
     user vlad does not exist - using root<br>
     group vlad does not exist - using root<br>
     Bad exit status from /var/tmp/rpm-tmp.47502 (%install)<br>
ERROR: Failed executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM'
--define '_prefix <br>
/usr' --define 'build_root /var/tmp/OFED' --define 'configure_options --with-cxgb3-mod
<br>
--with-ipath_inf-mod --with-ipoib-mod --with-iser-mod --with-mthca-mod
--with-sdp-mod --with-srp-mod <br>
--with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod
--with-rds-mod <br>
--with-vnic-mod ' --define 'KVERSION 2.6.9-42.0.10.EL_lustre.1.4.10smp'
--define 'KSRC <br>
/lib/modules/2.6.9-42.0.10.EL_lustre.1.4.10smp/build' --define 'build_kernel_ib
1' --define <br>
'build_kernel_ib_devel 1' --define 'NETWORK_CONF_DIR /etc/sysconfig/network-scripts'
--define <br>
'modprobe_update 1' --define 'include_ipoib_conf 1' /tmp/OFED-1.2-rc6/SRPMS/ofa_kernel-1.2-rc6.src.rpm"<br>
~</tt></font><font size=2 face="sans-serif"><br>
<br>
<br>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.<br>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Woodruff, Robert
J" <robert.j.woodruff@intel.com></b> </font>
<p><font size=1 face="sans-serif">06/19/2007 12:52 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"Vladimir Sokolovsky" <vlad@dev.mellanox.co.il>,
"Or Gerlitz" <ogerlitz@voltaire.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">"MAHMOUD HANAFI" <hanafim.ctr@asc.hpc.mil>,
"Baur, Eric" <Eric.Baur@gs.com>, "Vladimir Sokolovsky"
<vlad@mellanox.co.il>, "EWG" <Openfabrics-ewg@openib.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: [ewg] Re: [ofa-general] Build error
with build_32bit=1</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>I just installed rc6 on my systems and it worked just
fine for<br>
both 32 and 64 bit, so I expect that he has a system that does<br>
not have the 32 bit libraries installed. <br>
<br>
-----Original Message-----<br>
From: ewg-bounces@lists.openfabrics.org<br>
[mailto:ewg-bounces@lists.openfabrics.org] On Behalf Of Vladimir<br>
Sokolovsky<br>
Sent: Tuesday, June 19, 2007 9:44 AM<br>
To: Or Gerlitz<br>
Cc: MAHMOUD HANAFI; Baur, Eric; Vladimir Sokolovsky; EWG<br>
Subject: Re: [ewg] Re: [ofa-general] Build error with build_32bit=1<br>
<br>
Or Gerlitz wrote:<br>
> Tziporet Koren wrote:<br>
>> No one raises this issue in the meeting and there is no open issue
in<br>
>> bugzilla.<br>
>><br>
>> In addition in the EWG meeting yesterday we decided that RC6 is
going<br>
to<br>
>> be the GA, and that we are stopping the critical bug fixes now.<br>
>> There will always new bugs and issues but a release should be
out,<br>
and<br>
>> we can later provide support patches for various issues.<br>
> <br>
> Saying all the above, can you comment if --Mellanox-- builds OFED
with<br>
<br>
> build_32bit=0 or build_32bit=1 ???<br>
> <br>
> if this is indeed broken, OFED 1.2 GA can't go into 64bit distros,
how<br>
<br>
> do you want to GA like this?<br>
> <br>
> Or.<br>
> <br>
<br>
The default value of build_32bit is 1 (on ppc64 and x86_64) in case that<br>
<br>
glibc-devel-32bit is installed, otherwise 0.<br>
It can be changed from environment by:<br>
export build_32bit=0<br>
./install.sh<br>
...<br>
<br>
In Mellanox most of the servers are installed with glibc-devel-32bit.<br>
So, we test both.<br>
<br>
In any case the issue that Mahmoud have caused by non-standard value of
<br>
the environment variable sysconfdir (/usr/etc instead of /etc) and not
<br>
by build_32bit.<br>
<br>
<br>
Regards,<br>
Vladimir<br>
<br>
_______________________________________________<br>
ewg mailing list<br>
ewg@lists.openfabrics.org<br>
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg<br>
</tt></font>
<br>