Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Redhat-7.5 #30

Open
santoshs opened this issue Oct 5, 2018 · 1 comment
Open

Build fails on Redhat-7.5 #30

santoshs opened this issue Oct 5, 2018 · 1 comment

Comments

@santoshs
Copy link

santoshs commented Oct 5, 2018

sudo yum install libcxl-devel dapl-devel

A make gives the following error.

...
make -C hxeocapi
make[2]: Entering directory `/home/santosh/HTX/bin/hxeocapi'
cc -D__HTX_LINUX__ -DTRUE=1 -DFALSE=0 -D__64BIT__ -D__HTX_LE__ -O2 -g -D_GNU_SOURCE -D__HTX_LINUX__ -I/usr/local/include -I./ -I/usr/include/ -I/home/santosh/HTX//export/ppc64le//include/ -c get_rule.c -o get_rule.o
In file included from hxeocapi.h:23:0,
                 from get_rule.c:22:
memcpy.h:26:21: fatal error: libocxl.h: No such file or directory
 #include <libocxl.h>
                     ^
compilation terminated.
make[2]: *** [get_rule.o] Error 1
make[2]: Leaving directory `/home/santosh/HTX/bin/hxeocapi'
make[1]: *** [hxeocapi] Error 2
make[1]: Leaving directory `/home/santosh/HTX/bin'
make: *** [bin] Error 2

There is no file name libocxl in /usr/include, changing the include to libcxl.h leads to more errors.

@fbarrat
Copy link
Contributor

fbarrat commented Oct 5, 2018

libcxl is for capi1 (power8) or capi2 (power9)
libocxl is for opencapi
Based on the name of your source file, I'm guessing you're interested in opencapi. Can you confirm?
If so, then RHEL7.5-ALT doesn't support opencapi. Support is added in RHEL7.6-ALT (a.k.a Pegas 1.2). You will also need to make sure the libocxl package is installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants