riaz@riaz-as:~/workspace/ns-allinone-3.30/ns-3.30$ ./waf --run scratch/first
Waf: Entering directory `/home/riaz/workspace/ns-allinone-3.30/ns-3.30/build'
[2299/2363] Linking build/examples/tutorial/ns3.30-first-debug
[2322/2363] Compiling scratch/first.cc
/usr/bin/ld: examples/tutorial/first.cc.2.o: in function `main':
/home/riaz/workspace/ns-allinone-3.30/ns-3.30/build/../examples/tutorial/first.cc:71: undefined reference to `ns3::AnimationInterface::AnimationInterface(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/usr/bin/ld: /home/riaz/workspace/ns-allinone-3.30/ns-3.30/build/../examples/tutorial/first.cc:72: undefined reference to `ns3::AnimationInterface::SetConstantPosition(ns3::Ptr<ns3::Node>, double, double, double)'
/usr/bin/ld: /home/riaz/workspace/ns-allinone-3.30/ns-3.30/build/../examples/tutorial/first.cc:73: undefined reference to `ns3::AnimationInterface::SetConstantPosition(ns3::Ptr<ns3::Node>, double, double, double)'
/usr/bin/ld: /home/riaz/workspace/ns-allinone-3.30/ns-3.30/build/../examples/tutorial/first.cc:71: undefined reference to `ns3::AnimationInterface::~AnimationInterface()'
/usr/bin/ld: /home/riaz/workspace/ns-allinone-3.30/ns-3.30/build/../examples/tutorial/first.cc:71: undefined reference to `ns3::AnimationInterface::~AnimationInterface()'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/riaz/workspace/ns-allinone-3.30/ns-3.30/build'