Make failed while installing netmap on Ubuntu 20.04 LTS

I tried installing netmap on Ubuntu 20.04 and followed the instructions in the following this steps.

enter image description here

(from https://github.com/luigirizzo/netmap%EF%BC%89

After executing :

./configure

, I found that ‘virtio_net.c’ was not installed. So I manually downloaded it to ‘~/ns-allinone-3.40/netmap/LINUX/ext-drivers’ and then executed

./configure --kernel-sources=/usr/src/linux-headers-5.15.0-91-generic

All the above were executed smoothly, and then I executed:

make 

enter image description here

I have tried compiling the WSL2 Linux kernel to solve this problem, but I am not sure if this is correct because it is my first time encountering Ns-3 and I am also compiling the Linux kernel for the first time. Unfortunately, I failed.

Leave a Comment