Actions
Bug #1526
closedBuild fails on Fedora 20
Start date:
04/22/2014
Due date:
% Done:
0%
Estimated time:
Description
]$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ./waf configure
Setting top to : /home/susmit/Code/NFD
Setting out to : /home/susmit/Code/NFD/build
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking for program sphinx-build : not found
Checking for program doxygen : /usr/bin/doxygen
Checking for program tar : /usr/bin/tar
Checking allowed flags for c++ compiler : -std=c++03 -pedantic -Wall -Wno-long-long -O2 -g
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'libndn-cpp-dev' : yes
Checking boost includes : 1.54.0
Checking boost libs : ok
Checking for boost linkage : ok
Checking if UNIX sockets are supported : yes
Checking for librt library : yes
Checking for libresolv library : yes
Checking for libpcap library : yes
Checking for program bash : /usr/bin/bash
'configure' finished successfully (2.216s)
[susmit@thelaptop NFD]$ ./waf
Waf: Entering directory `/home/susmit/Code/NFD/build'
[60/88] cxx: daemon/face/ethernet-face.cpp -> build/daemon/face/ethernet-face.cpp.2.o
[61/88] cxx: daemon/face/ethernet-factory.cpp -> build/daemon/face/ethernet-factory.cpp.2.o
[64/88] cxx: daemon/face/unix-stream-factory.cpp -> build/daemon/face/unix-stream-factory.cpp.2.o
[65/88] cxx: daemon/main.cpp -> build/daemon/main.cpp.3.o
In file included from ../daemon/face/ethernet-face.cpp:25:0:
../daemon/face/ethernet-face.hpp:32:2: error: #error "Cannot include this file when libpcap is not available"
#error "Cannot include this file when libpcap is not available"
^
../daemon/face/ethernet-face.cpp: In constructor ‘nfd::EthernetFace::EthernetFace(const boost::shared_ptr<boost::asio::posix::basic_stream_descriptor<> >&, const boost::shared_ptr<nfd::NetworkInterfaceInfo>&, const nfd::ethernet::Address&)’:
../daemon/face/ethernet-face.cpp:47:25: error: no matching function for call to ‘nfd::FaceUri::FaceUri(const nfd::ethernet::Address&)’
: Face(FaceUri(address), FaceUri::fromDev(interface->name))
^
../daemon/face/ethernet-face.cpp:47:25: note: candidates are:
In file included from ../daemon/face/face.hpp:30:0,
from ../daemon/face/ethernet-face.hpp:29,
from ../daemon/face/ethernet-face.cpp:25:
/home/susmit/Code/NFD/core/face-uri.hpp:85:3: note: nfd::FaceUri::FaceUri(const endpoint&)
FaceUri(const boost::asio::local::stream_protocol::endpoint& endpoint);
^
/home/susmit/Code/NFD/core/face-uri.hpp:85:3: note: no known conversion for argument 1 from ‘const nfd::ethernet::Address’ to ‘const endpoint& {aka const boost::asio::local::basic_endpoint<boost::asio::local::stream_protocol>&}’
/home/susmit/Code/NFD/core/face-uri.hpp:80:3: note: nfd::FaceUri::FaceUri(const endpoint&)
FaceUri(const boost::asio::ip::udp::endpoint& endpoint);
^
/home/susmit/Code/NFD/core/face-uri.hpp:80:3: note: no known conversion for argument 1 from ‘const nfd::ethernet::Address’ to ‘const endpoint& {aka const boost::asio::ip::basic_endpoint<boost::asio::ip::udp>&}’
/home/susmit/Code/NFD/core/face-uri.hpp:76:3: note: nfd::FaceUri::FaceUri(const endpoint&)
FaceUri(const boost::asio::ip::tcp::endpoint& endpoint);
^
/home/susmit/Code/NFD/core/face-uri.hpp:76:3: note: no known conversion for argument 1 from ‘const nfd::ethernet::Address’ to ‘const endpoint& {aka const boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>&}’
/home/susmit/Code/NFD/core/face-uri.hpp:67:3: note: nfd::FaceUri::FaceUri(const char*)
FaceUri(const char* uri);
^
/home/susmit/Code/NFD/core/face-uri.hpp:67:3: note: no known conversion for argument 1 from ‘const nfd::ethernet::Address’ to ‘const char*’
/home/susmit/Code/NFD/core/face-uri.hpp:62:3: note: nfd::FaceUri::FaceUri(const string&)
FaceUri(const std::string& uri);
^
/home/susmit/Code/NFD/core/face-uri.hpp:62:3: note: no known conversion for argument 1 from ‘const nfd::ethernet::Address’ to ‘const string& {aka const std::basic_string<char>&}’
/home/susmit/Code/NFD/core/face-uri.hpp:135:1: note: nfd::FaceUri::FaceUri()
FaceUri::FaceUri()
^
/home/susmit/Code/NFD/core/face-uri.hpp:135:1: note: candidate expects 0 arguments, 1 provided
/home/susmit/Code/NFD/core/face-uri.hpp:41:7: note: nfd::FaceUri::FaceUri(const nfd::FaceUri&)
class FaceUri
^
/home/susmit/Code/NFD/core/face-uri.hpp:41:7: note: no known conversion for argument 1 from ‘const nfd::ethernet::Address’ to ‘const nfd::FaceUri&’
In file included from ../daemon/face/ethernet-factory.hpp:28:0,
from ../daemon/face/ethernet-factory.cpp:25:
../daemon/face/ethernet-face.hpp:32:2: error: #error "Cannot include this file when libpcap is not available"
#error "Cannot include this file when libpcap is not available"
^
Waf: Leaving directory `/home/susmit/Code/NFD/build'
Build failed
-> task in 'daemon-objects' failed (exit status 1):
{task 27947664: cxx ethernet-face.cpp -> ethernet-face.cpp.2.o}
['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-I/home/susmit/Code/NFD/build/daemon', '-I/home/susmit/Code/NFD/daemon', '-I/home/susmit/Code/NFD/build', '-I/home/susmit/Code/NFD', '-I/home/susmit/Code/NFD/build/core', '-I/home/susmit/Code/NFD/core', '-I/usr/include', '-I/usr/local/include', '../daemon/face/ethernet-face.cpp', '-c', '-o', 'daemon/face/ethernet-face.cpp.2.o']
-> task in 'daemon-objects' failed (exit status 1):
{task 27947792: cxx ethernet-factory.cpp -> ethernet-factory.cpp.2.o}
['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-O2', '-g', '-I/home/susmit/Code/NFD/build/daemon', '-I/home/susmit/Code/NFD/daemon', '-I/home/susmit/Code/NFD/build', '-I/home/susmit/Code/NFD', '-I/home/susmit/Code/NFD/build/core', '-I/home/susmit/Code/NFD/core', '-I/usr/include', '-I/usr/local/include', '../daemon/face/ethernet-factory.cpp', '-c', '-o', 'daemon/face/ethernet-factory.cpp.2.o']
Updated by susmit shannigrahi over 10 years ago
../daemon/face/ethernet-face.hpp:32:2: error: #error "Cannot include this file when libpcap is not available"
#error "Cannot include this file when libpcap is not available"
../daemon/face/ethernet-face.cpp: In constructor ‘nfd::EthernetFace::EthernetFace(const boost::shared_ptr<boost::asio::posix::basic_stream_descriptor<> >&, const
boost::shared_ptr<nfd::NetworkInterfaceInfo>&, const nfd::ethernet::Address&)’:
../daemon/face/ethernet-face.cpp:47:25: error: no matching function for call to ‘nfd::FaceUri::FaceUri(const nfd::ethernet::Address&)’
: Face(FaceUri(address), FaceUri::fromDev(interface->name))
Updated by susmit shannigrahi over 10 years ago
Checking for librt library : yes
Checking for libresolv library : yes
Checking for libpcap library : yes
../daemon/face/ethernet-face.hpp:32:2: error: #error "Cannot include this file when libpcap is not available"
#error "Cannot include this file when libpcap is not available"
../daemon/face/ethernet-face.cpp: In constructor ‘nfd::EthernetFace::EthernetFace(const boost::shared_ptr<boost::asio::posix::basic_stream_descriptor<> >&, const
boost::shared_ptr<nfd::NetworkInterfaceInfo>&, const nfd::ethernet::Address&)’:
../daemon/face/ethernet-face.cpp:47:25: error: no matching function for call to ‘nfd::FaceUri::FaceUri(const nfd::ethernet::Address&)’
: Face(FaceUri(address), FaceUri::fromDev(interface->name))
Updated by Junxiao Shi over 10 years ago
I ran into this problem once, and ./waf distclean
helps.
Updated by susmit shannigrahi over 10 years ago
Junxiao Shi wrote:
I ran into this problem once, and
./waf distclean
helps.
Confirmed.
Updated by Alex Afanasyev over 10 years ago
That's interesting. Did you have NFD before and just merged with the recent one?
Updated by susmit shannigrahi over 10 years ago
Alex Afanasyev wrote:
That's interesting. Did you have NFD before and just merged with the recent one?
Yes, exactly.
Updated by Junxiao Shi over 10 years ago
- Tracker changed from Task to Bug
- Status changed from New to Rejected
Wrong build steps.
Actions