Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./waf issue #17

Closed
lalalaporo opened this issue Nov 23, 2022 · 2 comments
Closed

./waf issue #17

lalalaporo opened this issue Nov 23, 2022 · 2 comments

Comments

@lalalaporo
Copy link

lalalaporo commented Nov 23, 2022

Setting top to : /home/hacks/.src/NLSR
Setting out to : /home/hacks/.src/NLSR/build
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking C++ compiler version : 9.4.0
Checking supported CXXFLAGS : -std=c++17
Checking supported LINKFLAGS : -fuse-ld=gold
Checking for program 'doxygen' : /usr/bin/doxygen
Checking for program 'tar' : /usr/bin/tar
Checking for program 'sphinx-build' : /home/hacks/.local/bin/sphinx-build
Checking for program 'dot' : /usr/bin/dot
Checking for program 'pkgconf, pkg-config' : /usr/bin/pkg-config
Checking for 'libndn-cxx' : yes
Checking for program 'dpkg-architecture' : /usr/bin/dpkg-architecture
Checking boost includes : 1.71.0
Checking boost libs : boost_system boost_iostreams boost_filesystem boost_regex
Checking for boost linkage : ok
Checking for 'PSync' : yes
Checking supported CXXFLAGS : -O2 -g -pedantic -Wall -Wextra -Wcatch-value=2 -Wextra-semi -Wnon-virtual-dtor -Wno-unused-parameter -fdiagnostics-color
Checking supported LINKFLAGS : -Wl,-O1
'configure' finished successfully (1.302s)
hacks@ECIT01681:~/.src/NLSR$ ./waf
Waf: Entering directory `/home/hacks/.src/NLSR/build'
[ 8/40] Compiling src/adjacent.cpp
[ 9/40] Compiling src/name-prefix-list.cpp
[10/40] Compiling src/update/nfd-rib-command-processor.cpp
[11/40] Compiling src/update/prefix-update-commands.cpp
[12/40] Compiling src/update/nfd-rib-commands.cpp
[13/40] Compiling src/route/fib.cpp
[14/40] Compiling src/lsdb.cpp
[21/40] Compiling src/lsa/coordinate-lsa.cpp
[36/40] Compiling src/nlsr.cpp
[37/40] Compiling src/main.cpp
[38/40] Compiling tools/nlsrc.cpp
../src/lsdb.cpp: In member function ‘bool nlsr::Lsdb::processInterestForLsa(const ndn::Interest&, const ndn::Name&, nlsr::Lsa::Type, uint64_t)’:
../src/lsdb.cpp:209:80: error: no matching function for call to ‘psync::SegmentPublisher::publish(const ndn::Name&, const ndn::Name&, const ndn::Block&, ndn::time::seconds&, const ndn::security::SigningInfo&)’
209 | m_lsaRefreshTime, m_confParam.getSigningInfo());
| ^
In file included from /usr/local/include/PSync/producer-base.hpp:26,
from /usr/local/include/PSync/full-producer.hpp:23,
from ../src/communication/sync-protocol-adapter.hpp:33,
from ../src/communication/sync-logic-handler.hpp:28,
from ../src/lsdb.hpp:32,
from ../src/lsdb.cpp:22:
/usr/local/include/PSync/segment-publisher.hpp:51:3: note: candidate: ‘void psync::SegmentPublisher::publish(const ndn::Name&, const ndn::Name&, nonstd::span_lite::span, ndn::time::milliseconds)’ 51 | publish(const ndn::Name& interestName, const ndn::Name& dataName,
| ^~~~~~~
/usr/local/include/PSync/segment-publisher.hpp:51:3: note: candidate expects 4 arguments, 5 provided

Fail ./waf, It seem like PSync was updated a few days ago and break this.

named-data/PSync@b68f284?diff=split

@lalalaporo
Copy link
Author

https://github.com/Pesa/NLSR

This solves the problem!!

@Pesa
Copy link
Member

Pesa commented Nov 30, 2022

Fixed in 65ee992

@Pesa Pesa closed this as completed Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants