greenbone / openvas-scanner

This repository contains the scanner component for Greenbone Community Edition.
https://greenbone.github.io/docs/
GNU General Public License v2.0
3.25k stars 605 forks source link

error: too few arguments to function ‘pcap_findalldevs’ iface = pcap_findalldevs(); #595

Closed mkula111 closed 4 years ago

mkula111 commented 4 years ago

I don't remember how to program in C, but I keep getting this error when I try to "make" the openvas package. The cmake works ok but I run into errors when trying to make and make install. I.E. error: too few arguments to function ‘pcap_findalldevs’ 69 | iface = pcap_findalldevs(); I don't know what arguments are needed and I've searched the internet, but nobody is up to date on this. I've tried some things but I don't know the solution. I don't know what the required arguments must be for pcap_findalldevs. Please help me. I run Kali linux and cmake version 3.16.3

Expected behavior

Actual behavior

Steps to reproduce

1. 2. 3.

GVM versions

gsa: (gsad --version)

gvm: (gvmd --version)

openvas: (openvas --version)

gvm-libs:

openvas-smb:

ospd-openvas: (ospd-openvas --version)

Environment

Operating system:

Installation method / source: (packages, source installation)

Logfiles

jjnicola commented 4 years ago

Duplicated of Issue #511