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

Using the latest libnx results in a build error. #32

Open
ray1025 opened this issue Jan 22, 2024 · 1 comment
Open

Using the latest libnx results in a build error. #32

ray1025 opened this issue Jan 22, 2024 · 1 comment

Comments

@ray1025
Copy link

ray1025 commented Jan 22, 2024

main.c
trampoline.s
Failed to get system_resource_size (field not present).
Failed to get version (field not present).
Failed to get process_category (field not present).
Failed to get optimize_memory_allocation (field not present).
Failed to get disable_device_address_space_merge (field not present).
Failed to get signature_key_generation (field not present).
Failed to get program_id_range_min (field not present).
Failed to get program_id_range_max (field not present).
Failed to get program_id (field not present).
built ... ovll.npdm
/__w/Atmosphere/Atmosphere/nx-ovlloader/source/main.c: In function 'loadNro':
/__w/Atmosphere/Atmosphere/nx-ovlloader/source/main.c:341:20: error: expected ';' before 'void'
341 | extern NORETURN void nroEntrypointTrampoline(u64 entries_ptr, u64 handle, u64 entrypoint);
| ^~~~~
| ;
make[1]: *** [/opt/devkitpro/devkitA64/base_rules:22: main.o] Error 1
make: *** [Makefile:169: build] Error 2
Error: Process completed with exit code 2.

@masagrator
Copy link

switchbrew/libnx@a215ae2

You must change "NORETURN" to "NX_NORETURN"

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