Error: too few arguments to function ‘pcap_findalldevs’ iface = pcap_findalldevs();

I don’t remember how to program in C, but I still get this error message everytime I try to make the OpenVas scanner. The cmake worked for me with all the requirements. I don’t know how to program the file so make can install it. Something is wrong with the pcap_findalldevs() fuunction.
Please help. There is nothing on the internet for this.

Mark Kula
Use this category for:

  • General questions on how to scan with a GSE/GCE/GSM
  • Specific scan configurations / settings
  • Everything else around scanning techniques

It seems you have a hard time building it, please check the required libraries and includes from the GIT repository and try again.

Please double check and read the category before posting.

This should work here as well: