libpcap編譯遇到的問題

warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 在寫libpcap捕包程序編譯時遇到這個警告,可以忽略,然後在運行時報錯: error while loadingshared libraries: libpcap.
相關文章
相關標籤/搜索