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

xmake error: cannot import module: main, not found! #13

Open
shadychan opened this issue Mar 6, 2023 · 2 comments
Open

xmake error: cannot import module: main, not found! #13

shadychan opened this issue Mar 6, 2023 · 2 comments

Comments

@shadychan
Copy link

root@linux:~/traffico# xmake f --generate-vmlinux=y
error: cannot import module: main, not found!

Can anyone tell how to solve this build error? thanks

@shadychan shadychan changed the title cannot import module: main, not found! xmake error: cannot import module: main, not found! Mar 6, 2023
@fntlnz
Copy link
Collaborator

fntlnz commented May 4, 2023

strange, what is your xmake version? Also you should not run that as root, I remember xmake doens't allow you to do that by default.

@fntlnz
Copy link
Collaborator

fntlnz commented May 4, 2023

can you run

 xmake -v -D f --generate-vmlinux=y

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