Bug 1238 - inline Ref and Unref methods provided by SimpleRefCount not expanded at link time
inline Ref and Unref methods provided by SimpleRefCount not expanded at link ...
Status: NEW
Product: ns-3
Classification: Unclassified
Component: documentation
pre-release
All All
: P5 normal
Assigned To: Tom Henderson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-09 15:27 EDT by Tom Henderson
Modified: 2019-11-05 16:56 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2011-08-09 15:27:41 EDT
need to document this issue:
http://mailman.isi.edu/pipermail/ns-developers/2011-August/009219.html
Comment 1 Peter Barnes 2019-11-05 16:56:28 EST
Linker error message was 

debug/libns3-DisService.so: undefined reference to
`ns3::WorldState::Unref() const'

Caused by 

#include "foo.h"

instead of 

#include "ns3/foo.h"

Suggestion was to document this better in the Creating a new ns-3 model chapter of the Manual:
https://www.nsnam.org/docs/manual/html/new-models.html