[openib-general] Compilation issues on rhel4 u3 ppc64 sysfs.o
Vladimir Sokolovsky
vlad at mellanox.co.il
Thu May 25 02:48:59 PDT 2006
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.
>
More information about the general
mailing list