[openib-general] [Bug 50] New: 1.0rc4 build fails

bugzilla-daemon at openib.org bugzilla-daemon at openib.org
Thu May 4 15:34:30 PDT 2006


http://openib.org/bugzilla/show_bug.cgi?id=50

           Summary: 1.0rc4 build fails
           Product: OpenFabrics Linux
           Version: gen2
          Platform: X86-64
        OS/Version: 2.6.9
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IB Core
        AssignedTo: bugzilla at openib.org
        ReportedBy: weiny2 at llnl.gov


I downloaded the 1.0rc4 from:

https://openib.org/svn/gen2/branches/1.0/ofed/releases/

and followed the build instructions on a RHEL4 U3 installation.

The following message appeared:

ERROR: Failed executing "env NETWORK_CONF_DIR=/etc/sysconfig/network-scripts
/tmp/openib-1.0/build_rpm.sh --prefix /usr/local/ofed --build_root /var/tmp/OFED
--packages ib_ipath ib_ipoib ib_mthca ib_rds ib_sdp ib_verbs -- --with-libibcm
--with-libibcommon --with-libibmad --with-libibumad --with-libibverbs
--with-libipathverbs --with-libmthca --with-mstflint --with-openib-diags
--with-opensm --with-perftest -kver 2.6.9-39chaos --ksrc
/lib/modules/2.6.9-39chaos/build "

Digging through the log files I find the following compile error:

  gcc
-Wp,-MD,/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/.user_mad.o.d
-nostdinc -iwithprefix include -D__KERNEL__
-I/var/tmp/OFED/tmp/openib/openib/include 
-I/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include  -Iinclude
  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os
-g -Wdeclaration-after-statement  -mno-red-zone -mcmodel=kernel -pipe
-fno-reorder-blocks	 -Wno-sign-compare -funit-at-a-time 
-I/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/include 
-I/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/ipoib 
-I/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/kdapl 
-I/var/tmp/OFED/tmp/openib/openib/drivers/infiniband/debug -D__nocast=  -DMODULE
-DKBUILD_BASENAME=user_mad -DKBUILD_MODNAME=ib_umad -c -o
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/.tmp_user_mad.o
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/user_mad.c
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/user_mad.c:832:
warning: static declaration of 'class_create' follows non-static declaration
include/linux/device.h:242: warning: previous declaration of 'class_create' was here
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/user_mad.c:866:
warning: static declaration of 'class_destroy' follows non-static declaration
include/linux/device.h:243: warning: previous declaration of 'class_destroy' was
here
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/user_mad.c:892:
error: conflicting types for 'class_device_create'
include/linux/device.h:248: error: previous declaration of 'class_device_create'
was here
/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/user_mad.c:892:
error: conflicting types for 'class_device_create'
include/linux/device.h:248: error: previous declaration of 'class_device_create'
was here
make[3]: ***
[/var/tmp/OFED/tmp/openib/openib/src/linux-kernel/infiniband/core/user_mad.o]
Error 1



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the general mailing list