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

Michael S. Tsirkin mst at mellanox.co.il
Wed May 24 13:52:38 PDT 2006


Quoting r. Paul <paul.lundin at gmail.com>:
> Subject: Re: 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.

You need the 64 bit version of libsysfs - verbs require this.

-- 
MST



More information about the general mailing list