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

toa支持arm64吗? #1006

Open
whbwyj opened this issue Nov 27, 2024 · 1 comment
Open

toa支持arm64吗? #1006

whbwyj opened this issue Nov 27, 2024 · 1 comment

Comments

@whbwyj
Copy link

whbwyj commented Nov 27, 2024

toa.c:126:18: error: implicit declaration of function ‘lookup_address’; did you mean ‘lookup_bdev’? [-Werror=implicit-function-declaration]
pte_t *pte = lookup_address(addr, &level);
^~~~~~~~~~~~~~
lookup_bdev
toa.c:126:18: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
toa.c:127:20: error: ‘_PAGE_RW’ undeclared (first use in this function); did you mean ‘PAGE_S2’?
if (pte->pte & _PAGE_RW)
^~~~~~~~
PAGE_S2
toa.c:127:20: note: each undeclared identifier is reported only once for each function it appears in
toa.c: In function ‘set_addr_rw’:
toa.c:138:18: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
pte_t *pte = lookup_address(addr, &level);
^~~~~~~~~~~~~~
toa.c:140:17: error: ‘_PAGE_RW’ undeclared (first use in this function); did you mean ‘PAGE_S2’?
pte->pte |= _PAGE_RW;
^~~~~~~~
PAGE_S2
toa.c: In function ‘set_addr_ro’:
toa.c:147:18: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
pte_t *pte = lookup_address(addr, &level);
^~~~~~~~~~~~~~
toa.c:149:18: error: ‘_PAGE_RW’ undeclared (first use in this function); did you mean ‘PAGE_S2’?
pte->pte &= ~_PAGE_RW;
^~~~~~~~
PAGE_S2
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:310: toa.o] Error 1
make[1]: *** [Makefile:1530: module/root/nginx/dpvs_toa] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.19.90-2403.3.0.0270.87.uel20.aarch64'

@ywc689
Copy link
Collaborator

ywc689 commented Nov 28, 2024

内核版本是什么?

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