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

Error in kraft build #26

Open
daihuasheng opened this issue Mar 28, 2024 · 5 comments
Open

Error in kraft build #26

daihuasheng opened this issue Mar 28, 2024 · 5 comments

Comments

@daihuasheng
Copy link

daihuasheng commented Mar 28, 2024

I installed kraft v0.8.1 and execute "kraft build" for qemu/x86_64, which reported:

 W  /host/app-python3/.unikraft/unikraft/lib/uksched/sched.c:38:10: fatal error: sys/membarrier.h: No such file or directory
 W     38 | #include <sys/membarrier.h>
 W        |          ^~~~~~~~~~~~~~~~~~
 W  compilation terminated.
 W  make[1]: *** [/host/app-python3/.unikraft/unikraft/support/build/Makefile.build:27: /host/app-python3/.unikraft/build/libuksched/sched.o] Error 1

I have no idea why this happened. Would you please give me some advice? Thank you a lot.

@daihuasheng daihuasheng changed the title Error in kraft build: Error in kraft build Mar 28, 2024
@StefanJum
Copy link
Member

This should have been fixed yesterday, did you try it now or is it an older issue?

@daihuasheng
Copy link
Author

I tried "kraft build" again and the results remain the same. What had been changed yesterday?

@StefanJum
Copy link
Member

What had been changed yesterday?

This commit was merged unikraft/lib-musl@fd1abc9

Maybe try a kraft clean --proper and then kraft build again. If it still does not work, I'll try to reproduce it on my end.

@daihuasheng
Copy link
Author

daihuasheng commented Mar 29, 2024

Maybe try a kraft clean --proper and then kraft build again. If it still does not work, I'll try to reproduce it on my end.

It did not work still. The error report remained the same.

@StefanJum
Copy link
Member

StefanJum commented Mar 29, 2024 via email

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