[ndnSIM] Problem in intsalling ndnSIM-NLSR

Gregorius Pradana Satriawan gregoriuspradanas at yahoo.com
Tue Apr 9 09:53:44 PDT 2019


i was trying to installing ndnSIM-NLSR from 3rd-ndn-hackathon/ndnSIM-NLSR in my Ubuntu 16.04. 
I was modify the step of porting with selecting version of ns-3 branch with version ns-3.23-dev-ndnSIM2.1 branch.  It was any error but I has configure and try to resolve few error, but another error was appearing. First is error in 'libndn-cxx' in ./waf configure, it can be solved by installing ndn-cxx before installing it (http://named-data.net/doc/ndn-cxx/current/INSTALL.html).  After that ndnSIM-NLSR can configured. But when I compile (./waf) there error with protobuf. The protobuf is can't linked with ndnSIM-NLSR. I was install protobuf 3.6 before. 
This error is :[2382/2395] Linking build/scratch/subdir/subdir./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::io::CodedInputStream::IncrementRecursionDepthAndPushLimit(int)' ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::UnknownFieldSet::default_instance()' ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::Arena::OnArenaAllocation(std::type_info const*, unsigned long) const' ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntFallback()' ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)' ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(unsigned long, void (*)(void*))' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::io::CodedInputStream::DecrementRecursionDepthAndPopLimit(int)' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::internal::DestroyMessage(void const*)' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::Message::SpaceUsedLong() const' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned long)' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::internal::AssignDescriptors(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::internal::MigrationSchema const*, google::protobuf::Message const* const*, unsigned int const*, google::protobuf::Metadata*, google::protobuf::EnumDescriptor const**, google::protobuf::ServiceDescriptor const**)' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::io::CodedInputStream::ReadVarint64Fallback()' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int)' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::internal::RegisterAllTypes(google::protobuf::Metadata const*, int)' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::internal::OnShutdownRun(void (*)(void const*), void const*)' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::internal::InitSCCImpl(google::protobuf::internal::SCCInfoBase*)' ./libns3-dev-ndnSIM-debug.so: undefined reference to  `google::protobuf::internal::fixed_address_empty_string[abi:cxx11]' ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::io::CodedInputStream::ReadTagFallback(unsigned int)' collect2: error: ld returned 1 exit status

How to solve it? I need help. Thank for your attention.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190409/e83ed0a5/attachment.html>


More information about the ndnSIM mailing list