fastpass icon indicating copy to clipboard operation
fastpass copied to clipboard

Compile problem on arbiter and kernel-mod

Open leochli opened this issue 5 years ago • 1 comments

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!

leochli avatar Mar 24 '19 04:03 leochli

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?

leochli avatar Mar 24 '19 16:03 leochli