[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHdPZaMsvkwmbYm=-q_cynaScAr-vn0UfEPTzorb+ywKqU2a7w@mail.gmail.com>
Date: Thu, 21 Mar 2013 18:07:13 +0530
From: "devendra.aaru" <devendra.aaru@...il.com>
To: netdev@...r.kernel.org
Subject: tools/selftests: psock_fanout compiler errors
Hello,
when i do make -C tools/testing/selftests/.
I get
gcc -Wall -I../../../../usr/include/ -o psock_fanout psock_fanout.c
psock_fanout.c: In function ‘test_control_single’:
psock_fanout.c:239:23: error: ‘PACKET_FANOUT_ROLLOVER’ undeclared
(first use in this function)
psock_fanout.c:239:23: note: each undeclared identifier is reported
only once for each function it appears in
psock_fanout.c:240:11: error: ‘PACKET_FANOUT_FLAG_ROLLOVER’ undeclared
(first use in this function)
psock_fanout.c: In function ‘test_control_group’:
psock_fanout.c:264:11: error: ‘PACKET_FANOUT_FLAG_ROLLOVER’ undeclared
(first use in this function)
psock_fanout.c: In function ‘main’:
psock_fanout.c:368:44: error: ‘PACKET_FANOUT_FLAG_ROLLOVER’ undeclared
(first use in this function)
psock_fanout.c:372:23: error: ‘PACKET_FANOUT_ROLLOVER’ undeclared
(first use in this function)
make[1]: *** [psock_fanout] Error 1
i have the linux/if_packet.h file in /usr/include/ but i couldn't see
PACKET_FANOUT_ROLLOVER flag in that header.
I have a fedora 18 userspace
uname -a if you need it:
Linux localhost.localdomain 3.6.10-4.fc18.x86_64 #1 SMP Tue Dec 11
18:01:27 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
and the recent git head points to id in net-next is
e76d120b68d2e0f159ba999b1210920a5a0ed53d.
do i need to recompile the kernel and install kernel headers (i guess
kernel headers doesn't matter in this point)?
thanks,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists