[ofa-general] Error building OFED 1.2 sources

Vladimir Sokolovsky vlad at mellanox.co.il
Mon Sep 3 01:02:31 PDT 2007


> -----Original Message-----
> From: general-bounces at lists.openfabrics.org [mailto:general-
> bounces at lists.openfabrics.org] On Behalf Of Rajouri Jammu
> Sent: Friday, August 31, 2007 7:54 AM
> To: openib-general at openib.org
> Subject: [ofa-general] Error building OFED 1.2 sources
> 
> Hi,
> 
> I would like to make some changes to the OFED-1.2 kernel source. In
> order to make sure I'm doing the right thing I tried compiling the
> original sources (without any changes)
> the make is  bailing out with an error (see below for the steps).
> 
> I'm building on stock Centos5 kernel.
> 
> Note that build.sh script worked but I would like to make changes to
> the sources and make sure it compiles before following the
> ofed_path.sh procedure.
> 
> Any help would be great.
> 
> 
> This is what I did:
> 
> tar -zxvf OFED-1.2.tgz
> rpm -ivh OFED-1.2/SRPM/ofa_kernel-1.2-0.src.rpm
> 
> This created the source tar ball in
> /usr/src/redhat/SOURCES/
> 
> tar -zxvf /usr/src/redhat/SOURCES/ofa_kernel-1.2.tgz
> cd  /usr/src/redhat/SOURCES/ofa_kernel-1.2
> 
> ./configure
> make
> 

You should run configure with parameters.
E.g.
./configure --with-cxgb3-mod --with-ipath_inf-mod --with-ipoib-mod
--with-iser-mod --with-mthca-mod --with-sdp-mod --with-srp-mod
--with-core-mod --with-user_m
ad-mod --with-user_access-mod --with-addr_trans-mod --with-rds-mod
make
make install


Regards,
Vladimir




More information about the general mailing list