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

cxl/json: Fix tracefs include. #268

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

cxl/json: Fix tracefs include. #268

wants to merge 1 commit into from

Conversation

hramrach
Copy link
Contributor

../cxl/json.c:12:10: fatal error: tracefs/tracefs.h: No such file or directory

pkg-config --cflags libtracefs
-I/usr/include/libtracefs -I/usr/include/traceevent

find /usr/include/ -name tracefs.h
/usr/include/libtracefs/tracefs.h

../cxl/json.c:12:10: fatal error: tracefs/tracefs.h: No such file or
directory

pkg-config --cflags libtracefs
-I/usr/include/libtracefs -I/usr/include/traceevent

find /usr/include/ -name tracefs.h
/usr/include/libtracefs/tracefs.h

Signed-off-by: Michal Suchanek <[email protected]>
hswong3i added a commit to alvistack/pmem-ndctl that referenced this pull request Oct 11, 2024
    git clean -xdf
    tar zcvf ../ndctl_80.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp ndctl.spec ../ndctl_80-1.spec
    cp ndctl.rpmlintrc /osc/home\:alvistack/pmem-ndctl-80/
    cp ../ndctl*80*.{gz,xz,spec,dsc} /osc/home\:alvistack/pmem-ndctl-80/
    rm -rf ../*ndctl*80*.* ../*daxctl*80*.* ../*libcxl*80*.*

See pmem#267
See pmem#268

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
hswong3i added a commit to alvistack/pmem-ndctl that referenced this pull request Oct 11, 2024
    git clean -xdf
    tar zcvf ../ndctl_80.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp ndctl.spec ../ndctl_80-1.spec
    cp ndctl.rpmlintrc /osc/home\:alvistack/pmem-ndctl-80/
    cp ../ndctl*80*.{gz,xz,spec,dsc} /osc/home\:alvistack/pmem-ndctl-80/
    rm -rf ../*ndctl*80*.* ../*daxctl*80*.* ../*libcxl*80*.*

See pmem#267
See pmem#268

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
@chereskata
Copy link

This fixes the build error on Alpine Linux. It is basically the same issue as here: #234 (v76.1)

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

Successfully merging this pull request may close these issues.

2 participants