Actions
Bug #1293
closedarm: af-packet compilation failure
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:
Description
Debian wheezy from http://www.igorpecovnik.com/2014/08/19/cubox-i-hummingboard-debian-sd-image/
Linux cubox-i 3.14.14-cubox #7 SMP Wed Sep 24 00:20:19 CEST 2014 armv7l GNU/Linux
CC source-af-packet.o source-af-packet.c: In function ‘AFPGetDevFlags’: source-af-packet.c:1261:18: error: storage size of ‘ifr’ isn’t known source-af-packet.c:1261:18: warning: unused variable ‘ifr’ [-Wunused-variable] source-af-packet.c: In function ‘AFPGetIfnumByDev’: source-af-packet.c:1278:18: error: storage size of ‘ifr’ isn’t known source-af-packet.c:1278:18: warning: unused variable ‘ifr’ [-Wunused-variable] source-af-packet.c: In function ‘AFPGetDevLinktype’: source-af-packet.c:1295:18: error: storage size of ‘ifr’ isn’t known source-af-packet.c:1307:14: error: ‘ARPHRD_LOOPBACK’ undeclared (first use in this function) source-af-packet.c:1307:14: note: each undeclared identifier is reported only once for each function it appears in source-af-packet.c:1309:14: error: ‘ARPHRD_PPP’ undeclared (first use in this function) source-af-packet.c:1295:18: warning: unused variable ‘ifr’ [-Wunused-variable] source-af-packet.c: In function ‘AFPCreateSocket’: source-af-packet.c:1474:21: error: ‘IFF_UP’ undeclared (first use in this function) source-af-packet.c:1575:14: error: ‘ARPHRD_PPP’ undeclared (first use in this function) source-af-packet.c:1576:14: error: ‘ARPHRD_ATM’ undeclared (first use in this function) source-af-packet.c: In function ‘AFPGetIfnumByDev’: source-af-packet.c:1291:1: warning: control reaches end of non-void function [-Wreturn-type] source-af-packet.c: In function ‘AFPGetDevFlags’: source-af-packet.c:1273:1: warning: control reaches end of non-void function [-Wreturn-type] source-af-packet.c: In function ‘AFPGetDevLinktype’: source-af-packet.c:1314:1: warning: control reaches end of non-void function [-Wreturn-type] make[3]: *** [source-af-packet.o] Error 1 make[3]: Leaving directory `/home/victor/suricata/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/victor/suricata/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/victor/suricata' make: *** [all] Error 2
Is there anything x86 specific about what we do in afpacket?
Actions