[openib-general] Compilation issues on rhel4 u3 ppc64 sysfs.o

Moshe Kazir moshek at voltaire.com
Tue Jul 11 06:03:05 PDT 2006


Vladimir,

I'm trying the last tarball OFED svn Rev=8031 on IBM ppc64 redhat as4 U
3.

I compiled the pciutils & sysfsutils rpm's with -m64 as you wrote. 

I face  tvflash.c  compile error.

 Do I need to compile more rpm's to 64 bit ?

Moshe
   
____________________________________________________________
Moshe Katzir   |  +972-9971-8639 (o)   |   +972-52-860-6042  (m)
 
Voltaire - The Grid Backbone
 
 www.voltaire.com

  


-----Original Message-----
From: openib-general-bounces at openib.org
[mailto:openib-general-bounces at openib.org] On Behalf Of Vladimir
Sokolovsky
Sent: Thursday, May 25, 2006 12:49 PM
To: Scott Weitzenkamp (sweitzen)
Cc: openib-general at openib.org
Subject: Re: [openib-general] Compilation issues on rhel4 u3 ppc64
sysfs.o


In OFED-1.0-rc5 all binaries and libraries will be compiled on *ppc64 
*with *-m64* flag.
This requires sysfsutils and sysfsutils-devel 64-bit RPM to be installed

(in order to build libibverbs).
Also pciutils and pciutils-devel 64-bit required for tvflash package.

libsdp will be built both 32 and 64 bit libraries.

Note: in order to build sysfsutils 64-bit RPM run:
         CC="gcc -m64" rpmbuild --rebuild sysfsutils-1.3.0-1.2.1.src.rpm
          (This was tested on Fedora C4 PPC64)

Regards,
Vladimir

Scott Weitzenkamp (sweitzen) wrote:
> I know Vlad made some changes for rc5 in this area, at least for
> libsdp, not sure if other libs got changed as well.
>  
> Scott Weitzenkamp
> SQA and Release Manager
> Server Virtualization Business Unit
> Cisco Systems
>  
>
>
------------------------------------------------------------------------
>     *From:* Paul [mailto:paul.lundin at gmail.com]
>     *Sent:* Wednesday, May 24, 2006 11:00 AM
>     *To:* Scott Weitzenkamp (sweitzen)
>     *Cc:* openib-general at openib.org
>     *Subject:* Re: [openib-general] Compilation issues on rhel4 u3
>     ppc64 sysfs.o
>
>     Scott,
>           Upon further inspection the build.sh and install.sh scripts
>     built 32bit libraries and binaries. If I export CFLAGS (and the
>     like) to include -m64 then the build dies while looking for a
>     64bit libsysfs. rhel4 u3 does not include a ppc64 sysfsutils, nor
>     have I been able to find an actual 64bit version of it. Is there a
>     workaround for getting things to build actual ppc64
>     binaries/libraries ?
>
>     The actual error is:
>     checking for dlsym in -ldl... yes
>     checking for pthread_mutex_init in -lpthread... yes
>     checking for sysfs_open_class in -lsysfs... no
>     configure: error: sysfs_open_class() not found. libibverbs
>     requires libsysfs.
>

_______________________________________________
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




More information about the general mailing list