[ofa-general] RPM build errors:user vlad does not exist - using root

Sangamesh B forum.san at gmail.com
Fri May 9 08:47:06 PDT 2008


Hi all,

I've worked with MPICH2. But I am a beginner to Infiniband and OFED stuff.

   The installation of OFED-1.3.rc1 package on a cluster with CentOS 5 gave
following error:
....
.......


gcc
-Wp,-MD,/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/.addr.o.d
-nostdinc -iwithprefix include -D__KERNEL__ -include
include/linux/autoconf.h  -include
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/include/linux/autoconf.h
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/kernel_addons/backport/2.6.9_U3/include/
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/include
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/debug
-I/usr/local/include/scst
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/ulp/srpt
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/net/cxgb3  -Iinclude
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Os -fomit-frame-pointer -g -Wdeclaration-after-statement  -mno-red-zone
-mcmodel=kernel -pipe -fno-reorder-blocks     -Wno-sign-compare
-funit-at-a-time   -DMODULE -DKBUILD_BASENAME=addr -DKBUILD_MODNAME=ib_addr
-c -o
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/.tmp_addr.o
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:31:25:
linux/mutex.h: No such file or directory
In file included from
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:32:
include/linux/inetdevice.h:50: error: field `mr_gq_timer' has incomplete
type
include/linux/inetdevice.h:51: error: field `mr_ifc_timer' has incomplete
type
include/linux/inetdevice.h:95: error: `IFNAMSIZ' undeclared here (not in a
function)
include/linux/inetdevice.h: In function `in_dev_get':
include/linux/inetdevice.h:146: error: dereferencing pointer to incomplete
type
include/linux/inetdevice.h: In function `__in_dev_get':
include/linux/inetdevice.h:156: error: dereferencing pointer to incomplete
type
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:38:26:
net/netevent.h: No such file or directory
In file included from
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/include/rdma/ib_addr.h:37,
                 from
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:39:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/include/rdma/ib_verbs.h:51:31:
linux/scatterlist.h: No such file or directory
In file included from
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/include/rdma/ib_addr.h:37,
                 from
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:39:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/include/rdma/ib_verbs.h: At top
level:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/include/rdma/ib_verbs.h:1090:
error: field `xrcd_table_mutex' has incomplete type
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:60:
warning: type defaults to `int' in declaration of `DEFINE_MUTEX'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:60:
warning: parameter names (without types) in function declaration
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:62:
warning: type defaults to `int' in declaration of `DECLARE_DELAYED_WORK'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:62:
warning: parameter names (without types) in function declaration
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In
function `set_timeout':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:127:
error: `work' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:127:
error: (Each undeclared identifier is reported only once
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:127:
error: for each function it appears in.)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In
function `queue_req':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:140:
warning: implicit declaration of function `mutex_lock'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:140:
error: `lock' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:150:
warning: implicit declaration of function `mutex_unlock'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In
function `process_req':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:225:
error: `lock' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In
function `rdma_addr_cancel':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:341:
error: `lock' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In
function `netevent_callback':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:358:
error: `NETEVENT_NEIGH_UPDATE' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In
function `addr_init':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:378:
warning: implicit declaration of function `register_netevent_notifier'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: In
function `addr_cleanup':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:384:
warning: implicit declaration of function `unregister_netevent_notifier'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c: At
top level:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:218:
warning: 'process_req' defined but not used
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:60:
warning: 'DEFINE_MUTEX' declared `static' but never defined
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c:62:
warning: 'DECLARE_DELAYED_WORK' declared `static' but never defined
make[4]: ***
[/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.o]
Error 1
make[3]: ***
[/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core] Error 2
make[2]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband]
Error 2
make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.0.2.EL-smp-x86_64'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.66489 (%build)


RPM build errors:
    user vlad does not exist - using root
    group vlad does not exist - using root
    user vlad does not exist - using root
    group vlad does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.66489 (%build)


Why these errors?

As a beginner, I want to know some ponts:

In docs/OFED_Installation_Guide.txt guide, it is given that


1. OS Distribution         Required Packages
---------------         ----------------------------------
General:
o  Common to all        gcc, glib, glib-devel, glibc, glibc-devel,
                        glibc-devel-32bit (to build 32-bit libraries on
x86_86
                        and ppc64),
                        zlib-devel, automake, autoconf, libtool.
o  RedHat, Fedora       kernel-devel, rpm-build

And:

2. Specific Component Requirements:
o  Mvapich              a Fortran Compiler (such as gcc-g77)
o  Mvapich2             libstdc++-devel, sysfsutils (SuSE),
                        libsysfs-devel (RedHat5.0, Fedora C6)

Since OS is CentOS, I tried to install libstdc++-devel CentOS rpms. But
failed because of glibc dependencies.

Are both of these very much required?


In mvapich2. three makefiles are given:

make.mvapich2.ofad, make.mvapich2.vapi and make.mvapich2.udapl.

Are all these support this OFED?
Or only make.mvapich2.ofad supports OFED? If yes, then what should be used
for the other two?



 Thanks in advance for Howto:Infiniband + OFED + mvapich2 concepts.

-Sangamesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080509/0f5225c4/attachment.html>


More information about the general mailing list