usnistgov / ndn-dpdk

NDN-DPDK: High-Speed Named Data Networking Forwarder
https://www.nist.gov/publications/ndn-dpdk-ndn-forwarding-100-gbps-commodity-hardware
Other
131 stars 26 forks source link

Cant compile older version #55

Closed rohansuri1996 closed 2 years ago

rohansuri1996 commented 2 years ago

Hi so I couldn't get the new process of making faces on my testbed so I git checked out to the older version but I am getting this error while building the docker image

[513/2457] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o ninja: build stopped: subcommand failed. The command '/bin/sh -c sh -c 'apt-get -y -qq update' && apt-get -y -qq install --no-install-recommends ca-certificates curl jq lsb-release ${APT_PKGS} && env SKIPROOTCHECK=1 ${DEPENDS_ENV} /root/ndndpdk-depends.sh --dir=/root/ndndpdk-depends -y ${DEPENDS_ARGS} && rm -rf /root/ndndpdk-depends' returned a non-zero code: 1

I have tried things like uninstalling the dependencies and reinstalling them

yoursunny commented 2 years ago

Only the latest version is supported.

The Docker image is self-contained and you don't need to manually install dependencies.

rohansuri1996 commented 2 years ago

Solution- Use bit newer version of ndn-dpdk.

yoursunny commented 2 years ago

I guess you picked a commit that doesn't compile. This occasionally happens due to dependency breakage.

rohansuri1996 commented 2 years ago

I guess you picked a commit that doesn't compile. This occasionally happens due to dependency breakage.

Yes. I figured out in the hard way XD