fastpass
fastpass copied to clipboard
Compile problem on arbiter and kernel-mod
I am running on a ubuntu 16.04 machine. It seems dpdk 1.6.0r0 cannot be well installed. Hence I installed the new version of dpdk and then followed the rest install instruction on http://fastpass.mit.edu
However, I cannot make the arbiter. The error is:
/home/ubuntu/fastpass/src/arbiter/main.c:143:3: error: unknown field ‘header_split’ specified in initializer .header_split = 0, /**< Header Split disabled */ ^ /home/ubuntu/fastpass/src/arbiter/main.c:144:3: error: unknown field ‘hw_ip_checksum’ specified in initializer .hw_ip_checksum = 1, /**< IP checksum offload enabled */
FYI, I am using gcc4.9. Do you have any idea how could I compile the arbiter and kernel-mod on ubuntu 16.04?
Thank you!
Some update: I then use ubuntu 14.04. Yet still failed the compile of arbiter.
I used dpdk 1.6.0r0 as the website, while it does not have the right interface:
error: ‘struct rte_mbuf’ has no member named ‘l2_len’ m->l2_len = sizeof(struct ether_hdr);
I also tried the newest dpdk, but it then follows:
/home/ubuntu/fastpass/src/arbiter/main.c:143:3: error: unknown field ‘header_split’ specified in initializer .header_split = 0, /**< Header Split disabled */
Which dpdk version should we use specifically?