Giter Club home page Giter Club logo

Comments (3)

fatih-acar avatar fatih-acar commented on August 16, 2024

Packet-journey should compile using DPDK versions from 1.8 up to 18.08.
I've pushed commit 35cceb7 which adds support for 18.08.

from packet-journey.

tarelda avatar tarelda commented on August 16, 2024

I started with 2.0 and found success starting with 18.02. My approach consisted of trying to find the first commit fixing thing that compiler was complaining about and then picking up the first stable version that implemented it.

from packet-journey.

tarelda avatar tarelda commented on August 16, 2024

@fatih-acar I just realised that my repository was lagging one commit behind current master. So I fast forwarded it to HEAD and tried to compile pktj against DPDK 18.08.1 and suprisingly it didn't work.

== lib == libneighbour SYMLINK-FILE include/libneighbour.h CC neighbour.o AR libneighbour.a INSTALL-LIB libneighbour.a == libnetlink SYMLINK-FILE include/libnetlink.h CC netlink.o AR libnetlink.a INSTALL-LIB libnetlink.a == app CC main.o /root/packet-journey/app/main.c: In function ‘init_port’: /root/packet-journey/app/main.c:1902:8: error: ‘struct rte_eth_txconf’ has no member named ‘txq_flags’ txconf->txq_flags &= ~ETH_TXQ_FLAGS_NOOFFLOADS; ^ /root/packet-journey/app/main.c:1902:24: error: ‘ETH_TXQ_FLAGS_NOOFFLOADS’ undeclared (first use in this function) txconf->txq_flags &= ~ETH_TXQ_FLAGS_NOOFFLOADS; ^ /root/packet-journey/app/main.c:1902:24: note: each undeclared identifier is reported only once for each function it appears in /root/packet-journey/app/main.c:1906:22: error: ‘struct rte_eth_rxmode’ has no member named ‘jumbo_frame’ if (port_conf.rxmode.jumbo_frame) ^ /root/packet-journey/app/main.c:1907:9: error: ‘struct rte_eth_txconf’ has no member named ‘txq_flags’ txconf->txq_flags = 0; ^ /root/packet-journey/app/main.c:1979:9: error: ‘struct rte_eth_txconf’ has no member named ‘txq_flags’ txconf->txq_flags &= ~ETH_TXQ_FLAGS_NOOFFLOADS; ^ /root/packet-journey/app/main.c:1983:23: error: ‘struct rte_eth_rxmode’ has no member named ‘jumbo_frame’ if (port_conf.rxmode.jumbo_frame) ^ /root/packet-journey/app/main.c:1984:10: error: ‘struct rte_eth_txconf’ has no member named ‘txq_flags’ txconf->txq_flags = 0; ^ /root/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'main.o' failed make[2]: *** [main.o] Error 1 /root/dpdk/mk/rte.extapp.mk:14: recipe for target 'all' failed make[1]: *** [all] Error 2 /root/dpdk/mk/rte.extsubdir.mk:21: recipe for target 'app' failed make: *** [app] Error 2

What is more, I tried to compile this codebase against previously working 18.02 and it also failed.

from packet-journey.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.