-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Centos7 compile error #262
Comments
Hello @leoapd19 please provide full context to your build execution |
hi @lmangani [root@localhost captagent]# make |
Hi @leoapd19 seems different OS has different |
Probably < 1.10 [1] [1] https://centos.pkgs.org/7/centos-x86_64/libpcap-devel-1.5.3-12.el7.x86_64.rpm.html |
Please @leoapd19 retest again after the fix we merged. |
Thanks , @kYroL01 its working now . |
1 similar comment
Thanks , @kYroL01 its working now . |
Thank you as well @btriller for reporting it. |
socket_pcap.c:511:81: error: dereferencing pointer to incomplete type
snprintf(mac_src, sizeof(mac_src), "%.2X-%.2X-%.2X-%.2X-%.2X-%.2X", sll2->sll2_addr[0], sll2->sll2_addr[1], sll2->sll2_addr[2], sll2->sll2_addr[3], sll2->sll2_addr[4], sll2->sll2_addr[5]);
^
socket_pcap.c:511:101: error: dereferencing pointer to incomplete type
snprintf(mac_src, sizeof(mac_src), "%.2X-%.2X-%.2X-%.2X-%.2X-%.2X", sll2->sll2_addr[0], sll2->sll2_addr[1], sll2->sll2_addr[2], sll2->sll2_addr[3], sll2->sll2_addr[4], sll2->sll2_addr[5]);
The text was updated successfully, but these errors were encountered: