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

init.c:330:43: error: macro "uk_lib_initcall" passed 2 arguments, but takes just 1 #45

Open
FuuuOverclocking opened this issue Jan 5, 2024 · 0 comments

Comments

@FuuuOverclocking
Copy link

FuuuOverclocking commented Jan 5, 2024

With Unikraft 0.15, when building unikraft/app-wamr (target: wamr-qemu-x86_64-initrd (qemu/x86_64)), the following error occurred:

<prefix>/libs/lwip/init.c:330:43: error: macro "uk_lib_initcall" passed 2 arguments, but takes just 1                                   
 W    330 | uk_lib_initcall(liblwip_init, liblwip_term);                                                                                                                     
 W        |                                           ^                                                                                                                      
 W  In file included from <prefix>/libs/lwip/init.c:47:                                                                                     
 W  <prefix>/unikraft/include/uk/init.h:115: note: macro "uk_lib_initcall" defined here

Source:

lwip/init.c:330

uk_lib_initcall(liblwip_init, liblwip_term);

unikraft/include/uk/init.h:115

#define uk_lib_initcall(fn)       uk_lib_initcall_prio(fn, UK_PRIO_LATEST)
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