Box chef/fedora-20 unavailable
Vagrant up fails with the message that the box chef/fedora-20 not found.
[root@localhost wcbench]# vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'chef/fedora-20' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'chef/fedora-20' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
vagrant login. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/chef/fedora-20"] Error: The requested URL returned error: 404 Not Found
Thanks for the bug report, @smallen3!
That box no longer exists, we need to move to a new one. For most projects affected by this, we've moved to boxcutter/fedora22.
If you're up for changing it, verifying it and sending a PR, I'd love to merge it. :)
Thanks again for the contribution!
@dfarrell07 ..thanks for the quick response :) I have started to try with the box you mentioned but vagrant up seems to fail at the part where CBench is Built. It says undefined reference to time_diff but the header file utilities.h in the oflops code has the definition and this header file is included in traffic_generator.c
The error trace is as below:
[root@localhost oflops]# make
make all-recursive
make[1]: Entering directory '/home/vagrant/oflops'
Making all in .
make[2]: Entering directory '/home/vagrant/oflops'
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -I/home/vagrant/openflow//include -Wshadow pkg-config --cflags libconfig -static -Wl,-E -L/home/vagrant/openflow//lib pkg-config --libs libconfig -o oflops channel_info.o context.o control.o module_run.o module_default.o oflops.o oflops_pcap.o timer_event.o msg.o log.o traffic_generator.o usage.o -ldl -lpcap -lnetsnmp -loflops_test -lpthread
libtool: link: gcc -g -O2 -Wall -I/home/vagrant/openflow//include -Wshadow -Wl,-E -o oflops channel_info.o context.o control.o module_run.o module_default.o oflops.o oflops_pcap.o timer_event.o msg.o log.o traffic_generator.o usage.o -L/home/vagrant/openflow//lib -ldl -lpcap /home/vagrant/oflops/.libs/liboflops_test.a -L/home/vagrant/openflow/lib -lconfig -lnetsnmp -lpthread
traffic_generator.o: In function get_next_pkt': /home/vagrant/oflops/traffic_generator.c:140: undefined reference totime_diff'
collect2: error: ld returned 1 exit status
Makefile:574: recipe for target 'oflops' failed
make[2]: *** [oflops] Error 1
make[2]: Leaving directory '/home/vagrant/oflops'
Makefile:639: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/vagrant/oflops'
Makefile:431: recipe for target 'all' failed
make: *** [all] Error 2
I tried sshing into the vm and install a few dependencies that were missing as per http://archive.openflow.org/wk/images/3/3e/Manual.pdf. I tried to configure and make in the vm manually and it fails with the same message. Is this a linker problem? Am I missing something here. Thanks in advance :)
Sounds like it's missing a C-related dependency, gcc* or similar. I'm taking a quick look now.
Sounds like it's missing a C-related dependency, ggc* or similar. I'm taking a quick look now.
Didn't come up with a good answer, but I did replicate what you're seeing.
@dfarrell07 Tried many different things, and tried a different box too. Do you think its missing the netfpga-packet-generator-c-library when it clones the oflops repository?
@smallen3 - Wanted to send a quick ACK.
Do you think its missing the netfpga-packet-generator-c-library when it clones the oflops repository?
What makes you say this? I haven't had the cycles to debug in more detail yet.
Any solution ? I am stuck with same error. I did not have this issue with Ubuntu 14. I updated to ubuntu 15 today and it throws me error.
traffic_generator.c:140: undefined reference to `time_diff'
@dfarrell07 ..apologies for the delayed response. https://github.com/andi-bigswitch/oflops is the repo that wcbench.sh clones and that repo has a "netfpga-packet-generator-c-library" directory that links to another repository but is not cloned. So, was just a wild guess. I don't know if that is essential to wcbench.
Just came up to the same error while building Cbench on a Fedora 23 machine:
traffic_generator.o: In function get_next_pkt': /home/vagrant/oflops/traffic_generator.c:140: undefined reference totime_diff'
My workaround was to bypass the complete config process of oflops, after noticing that a Makefile within the cbench folder was already created. I simply ran make within cbench and the binary was built. oflops contains many other things on which Cbench does not seem to depend on.