[ndnSIM] How python scripts in .waf-tools dir are invoked?

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Sat Oct 3 22:48:34 PDT 2015


> 		• The changes I have made to the ndnSIM/wscript file are attached herewith. Can you suggest any clue to fix this? As a workaround, I have another NLSR buid, from where I copy the protoc generated files, and use them. But that's just a workaround. 

I feel that you may need something like this:

https://github.com/named-data-ndnSIM/ndnSIM/blob/master/wscript#L77-L78

> 	• After workaround, the build again fails end in the end during linking phase with the following erros, again related to the protobuf library. Not sure how to configure this library during the configure time. 
> 3030 [2896/2968] Linking build/src/ndnSIM/examples/ns3-dev-ndn-congestion-topo-plugin-debug
> 3031 [2896/2968] Linking build/bindings/python/ns/internet.so
> 3032 [2897/2968] Linking build/src/ndnSIM/examples/ns3-dev-ndn-csma-debug
> 3033 ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::Message::CheckTypeAndMergeFrom(google::proto     buf::MessageLite const&)'
> 3034 ./libns3-dev-ndnSIM-debug.so: undefined reference to `vtable for google::protobuf::Message'
> 3035 ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::internal::LogMessage::LogMessage(google::pro     tobuf::LogLevel, char const*, int)'
> 3036 ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::io::CodedInputStream::ReadVarint64Fallback(u     nsigned long*)'
> 3037 ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::internal::WireFormatLite::WriteUInt64(int, u     nsigned long, google::protobuf::io::CodedOutputStream*)'
> 
> 
> Can you suggest any solutions to this? 
> 

The linking error most probably means that there are some header files missing and you need to include them in your code.

--
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science
UCLA



More information about the ndnSIM mailing list