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

Compile errors #6

Open
uudiin opened this issue Aug 23, 2024 · 0 comments
Open

Compile errors #6

uudiin opened this issue Aug 23, 2024 · 0 comments

Comments

@uudiin
Copy link

uudiin commented Aug 23, 2024

Some warnings and errors occurs, like this:

  CC      arch/arm64/kernel/asm-offsets.s
  UPD     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
<stdin>:247:2: warning: syscall restart_syscall not implemented [-W#warnings]
  247 | #warning syscall restart_syscall not implemented
      |  ^
<stdin>:250:2: warning: syscall exit not implemented [-W#warnings]
  250 | #warning syscall exit not implemented
      |  ^
<stdin>:256:2: warning: syscall read not implemented [-W#warnings]
  256 | #warning syscall read not implemented
      |  ^

and

  LDS     arch/arm64/kernel/vdso/vdso.lds
  CC      arch/arm64/kernel/vdso/vgettimeofday.o
In file included from <built-in>:4:
In file included from /Volumes/source/opensrc/linux/lib/vdso/gettimeofday.c:5:
In file included from ./include/vdso/datapage.h:164:
./arch/arm64/include/asm/vdso/gettimeofday.h:24:31: error: use of undeclared identifier '__NR_gettimeofday'
   24 |         register long nr asm("x8") = __NR_gettimeofday;
      |                                      ^
./arch/arm64/include/asm/vdso/gettimeofday.h:41:31: error: use of undeclared identifier '__NR_clock_gettime'
   41 |         register long nr asm("x8") = __NR_clock_gettime;
      |                                      ^
./arch/arm64/include/asm/vdso/gettimeofday.h:58:31: error: use of undeclared identifier '__NR_clock_getres'
   58 |         register long nr asm("x8") = __NR_clock_getres;
      |                                      ^
3 errors generated.
make[2]: *** [scripts/Makefile.build:244: arch/arm64/kernel/vdso/vgettimeofday.o] Error 1

Built on Apple M3 Pro chip for Mac Book Pro 2023.

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

1 participant