xdp-project / xdp-tutorial

XDP tutorial
2.33k stars 562 forks source link

After running "make" it says, config.mk: No such file or directory #366

Closed Zapperdax closed 11 months ago

Zapperdax commented 11 months ago

$ make ../lib/defines.mk:4: ../lib/../config.mk: No such file or directory make: *** No rule to make target '../lib/../config.mk'. Stop.

I installed all the dependencies, and tried running the first basic01-xdp-pass, and encountered this issue.

kumarkshiv commented 11 months ago

I was also facing the same issue:

This worked for me: $ cd xdp-tutorial $ sudo ./configure $ make

This will configure the libraries and compile all the programs inside xdp-tutorial. After that, you can compile the program by running the "make" command in individual folders.

Zapperdax commented 11 months ago

Yes @shivkumar301 , it worked after I did that. Thanks

liulangwa commented 9 months ago

thanks