Skip to content

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

@ge1mina023

Description

@ge1mina023

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions