traffico icon indicating copy to clipboard operation
traffico copied to clipboard

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

Open shadychan opened this issue 3 years ago • 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

shadychan avatar Mar 06 '23 07:03 shadychan

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 avatar May 04 '23 17:05 fntlnz

can you run

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

fntlnz avatar May 04 '23 17:05 fntlnz