2011/1/16 Vladimir Sokolovsky <[email protected]> > On 01/14/2011 09:56 AM, Dark Charlot wrote: > >> Dear experts, >> >> First I don't know if I am posting in the right mailing list, if not, >> please apologize and let me know. >> >> Here is my problem: >> I am running a mandriva cluster ( Mandriva 2010.0 kernel 2.6.31.12), with >> a >> bunch of mellanox cards. I struggled during one week but finally I was >> able >> to install OFED 1.5.1 on my running kernel 2.6.31.12 (linux kernel >> provided >> by the mandriva distribution) and now it works very well and fast ! >> >> Recently I upgraded a part of my cluster with the latest stable kernel >> 2.6.32.27 downloaded from http://www.kernel.org. >> >> So far, I am not able to build the ofa_kernel from OFED 1.5.1 package for >> the kernel 2.6.32.27. >> >> When I tried to rebuild the RPM, it stops with the following message : >> >> >> ------------------------------------------------------------------------------------------------------------------------------------------------- >> rpm -ivh ofa_kernel-1.5.1-OFED.1.5.1..src.rpm >> >> cd rpmbuild/SPECS >> >> rpmbuild -vv -bb ofa_kernel.spec --define 'configure_options >> --with-core-mod >> --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod >> --with-mthca-mod --with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod >> --with-nes-mod ' --define 'build_kernel_ib 1' --define >> 'build_kernel_ib_devel 1' --define 'KVERSION 2.6.32.27' --define 'K_SRC >> /net/direct/rhdata/jcl/linux-2.6.32.27' --define 'network_dir >> /etc/sysconfig/network-scripts' --define '_prefix /usr' --define >> '__arch_install_post %{nil}' >> .... >> .... >> > snip > > ------------------------------------------------------------------------------------------------------------------------------------------------- >> >> According to the output, there are some unresolved symbols which I don't >> understand.... It looks like I get this unresolved symbols, **only** if I >> am >> using a linux kernel that I manually compiled. If I used a kernel provided >> by my distribution, these unresolved symbols vanished.... >> What I am doing wrong ? Is there specifics options to set when we compile >> the linux kernel from sources ? >> >> Thanks in advance for your help. >> >> Jean-Charles. >> >> > Hi Jean-Charles, > First, this is the right mailing list. > Please send me the full compilation log. > > Hi Vladimir,
You'll find in attachment the compilation log file.
I used the following command to generate the log file:
cd rpmbuild/SPECS
rpmbuild -vv -bb ofa_kernel.spec --define 'configure_options
--with-core-mod --with-user_mad-mod --with-user_access-mod
--with-addr_trans-mod --with-mthca-mod --with-mlx4-mod --with-mlx4_en-mod
--with-cxgb3-mod --with-nes-mod ' --define 'build_kernel_ib 1' --define
'build_kernel_ib_devel 1' --define 'KVERSION 2.6.32.27' --define 'K_SRC
/net/direct/rhdata/jcl/linux-2.6.32.27' --define 'network_dir
/etc/sysconfig/network-scripts' --define '_prefix /usr' --define
'__arch_install_post %{nil}' > log.txt 2>&1
thank you in advance for your help.
Jean-Charles
log.txt.gz
Description: GNU Zip compressed data
_______________________________________________ ewg mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
