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

fatal error: 'bits/libc-header-start.h' file not found #2083

Open
ge1mina023 opened this issue Nov 28, 2024 · 1 comment
Open

fatal error: 'bits/libc-header-start.h' file not found #2083

ge1mina023 opened this issue Nov 28, 2024 · 1 comment

Comments

@ge1mina023
Copy link

ge1mina023 commented Nov 28, 2024

on my m1 chip macbook pro, I entered make TARGET=hw run, and I got:

make[1]: Nothing to be done for `contgen'.
LD /Users/yue/code/nanos/output/platform/virt/bin/kernel.elf
MV kernel.dis kernel.dis.old
STRIP /Users/yue/code/nanos/output/platform/virt/bin/kernel.img
LD /Users/yue/code/nanos/output/platform/virt/bin/kernel.elf
MV kernel.dis kernel.dis.old
CC /Users/yue/code/nanos/output/test/runtime/test/runtime/hw.o
In file included from /Users/yue/code/nanos/test/runtime/hw.c:1:
/Users/yue/code/nanos/target-root/usr/include/stdio.h:27:10: fatal error: 'bits/libc-header-start.h' file not found
#include <bits/libc-header-start.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [/Users/yue/code/nanos/output/test/runtime/test/runtime/hw.o] Error 1
make[1]: *** [target] Error 2
make: *** [image] Error 2

What's going on here?

@francescolavra
Copy link
Member

This is unexpected; @ge1mina023 can you run make TARGET=hw Q= and paste the output?

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