leodido/traffico

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

Opened this issue · 2 comments

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

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.

can you run

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