-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Description
Not sure if I have to compile libpcap with special options. Library seems to be missing something:
sendpacket.c:225:22: warning: function 'sendpacket_open_pcap' has internal linkage but is not defined [-Wundefined-internal]
static sendpacket_t *sendpacket_open_pcap(const char *, char *) _U_;
^
sendpacket.c:541:18: note: used here
sp = sendpacket_open_pcap(device, errbuf);
^
sendpacket.c:226:32: warning: function 'sendpacket_get_hwaddr_pcap' has internal linkage but is not defined [-Wundefined-internal]
static struct tcpr_ether_addr *sendpacket_get_hwaddr_pcap(sendpacket_t *) _U_;
and when linking...
"_sendpacket_get_hwaddr_pcap", referenced from:Undefined symbols for architecture x86_64:
-bash: _sendpacket_get_hwaddr_pcap,: command not found
Reactions are currently unavailable