[openib-general] OFED 1.1 build issue
Michael S. Tsirkin
mst at mellanox.co.il
Thu Jan 11 02:18:22 PST 2007
Looks like g++ headers are not installed properly.
Quoting Davide Pasquale <pasquale.davide at gmail.com>:
Subject: OFED 1.1 build issue
Hi all!
We are working on a HP Blade cluster using Rocks Cluster 4.2.1. version.
The infiniband card inside the blade are identified as Mellanox MT25204.
We need to build Ibadm, for fabric management, wich prerequisite is the OFED
stack. We have problems compiling the source package, the build process hangs
giving this errors:
flint.cpp: In member function `bool Operations::checkGen(FBase&, u_int32_t,
u_int32_t, u_int32_t&, const char*)':
flint.cpp:4172: error: no matching function for call to
`_GLIBCXX_STD::_Bit_iterator::_Bit_iterator(u_int8_t*)'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/
stl_bvector.h:185: note: candidates are:
_GLIBCXX_STD::_Bit_iterator::_Bit_iterator(const _GLIBCXX_STD::_Bit_iterator&)
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/
stl_bvector.h:192: note:
_GLIBCXX_STD::_Bit_iterator::_Bit_iterator(_GLIBCXX_STD::_Bit_type*, unsigned
int)
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/
stl_bvector.h:190: note:
_GLIBCXX_STD::_Bit_iterator::_Bit_iterator()
flint.cpp:4173: error: no matching function for call to
`_GLIBCXX_STD::_Bit_iterator::_Bit_iterator(u_int8_t*)'
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/
stl_bvector.h:185: note: candidates are:
_GLIBCXX_STD::_Bit_iterator::_Bit_iterator(const _GLIBCXX_STD::_Bit_iterator&)
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/
stl_bvector.h:192: note:
_GLIBCXX_STD::_Bit_iterator::_Bit_iterator(_GLIBCXX_STD::_Bit_type*, unsigned
int)
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/
stl_bvector.h:190: note:
_GLIBCXX_STD::_Bit_iterator::_Bit_iterator()
flint.cpp: In member function `bool Operations::DumpConf(const char*)':
flint.cpp:4287: error: `_fw_conf_sect' was not declared in this scope
flint.cpp:4287: warning: unused variable '_fw_conf_sect'
flint.cpp:4292: error: `_fw_conf_sect' was not declared in this scope
flint.cpp:4295: error: `_fw_conf_sect' was not declared in this scope
flint.cpp:4299: warning: taking address of temporary
flint.cpp:4309: warning: taking address of temporary
flint.cpp: In function `int main(int, char**)':
Our kernel is 2.6.9-42.0.2.ELsmp and gcc -v gives out:
gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/
usr/share/info --enable-shared --enable-threads=posix --disable-checking
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
On a second cluster node we have installed with success openib-usermode.rpm and
using openib utilities I obtain this informations:
ibstatus
Infiniband device 'mthca0' port 1 status:
default gid: fe80:0000:0000:0000:0018:feff:ff8c:7a8d
base lid: 0x0
sm lid: 0x0
state: 1: DOWN
phys state: 2: Polling
rate: 10 Gb/sec (4X)
Thanks,
Davide.
_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
--
MST
More information about the general
mailing list