[Ns-bugs] [Bug 1298] Undefined click symbols
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Fri Dec 16 06:21:07 PST 2011
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1298
--- Comment #12 from Gustavo J. A. M. Carneiro <gjcarneiro at gmail.com> 2011-12-16 09:21:06 EST ---
06:15:27 runner ['/usr/bin/g++', 'src/click/model/ipv4-click-routing.cc.1.o',
'src/click/model/ipv4-l3-click-protocol.cc.1.o', 'sr
c/click/helper/click-internet-stack-helper.cc.1.o', '-o',
'/Users/gjc/ns-3-allinone/ns-3-dev/build/libns3-click.dylib', '-L/Users/
gjc/ns-3-allinone/click-2.0.1/ns', '-lnsclick', '-ldl', '-dynamiclib']
Undefined symbols:
"ns3::Node::RegisterProtocolHandler(ns3::Callback<void,
ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, n
s3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType,
ns3::empty, ns3::empty, ns3::empty>, unsigned short, ns3::Ptr
<ns3::NetDevice>, bool)", referenced from:
ns3::Ipv4L3ClickProtocol::AddInterface(ns3::Ptr<ns3::NetDevice>) in
ipv4-l3-click-protocol.cc.1.o
What I can see from here is simply that the link command is missing the other
ns-3 modules that this module depends on. It should have -lns3-network, for
instance, but it is not there. Hence the undefined symbols.
--
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list