greenbone / openvas-scanner

This repository contains the scanner component for Greenbone Community Edition.

Home Page:https://greenbone.github.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mkula111 opened this issue · comments

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

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

Duplicated of Issue #511