Bug 2790 - Undefined Symbols
Undefined Symbols
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: core
ns-3-dev
All All
: P3 blocker
Assigned To: Peter Barnes
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-04 22:13 UTC by Robert Ammon
Modified: 2017-10-04 22:14 UTC (History)
1 user (show)

See Also:


Attachments
Source Files (38.49 KB, text/x-c++src)
2017-10-04 22:13 UTC, Robert Ammon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Ammon 2017-10-04 22:13:27 UTC
Created attachment 2928 [details]
Source Files

The file int64x64-test-suite.cc contains the following code:

#if defined (INT64X64_USE_CAIRO) && !defined (PYTHON_SCAN)
  std::cout << "cairo_impl64:  " << cairo_impl64 << std::endl;
  std::cout << "cairo_impl128: " << cairo_impl128 << std::endl;
#endif

If INT64x64_USE_CAIRO is defined, a build error occurs because cairo_impl64 and cairo_impl128 are undefined.  They are declared in cairo-wideint-private.h as follows:

extern const char * cairo_impl64;
extern const char * cairo_impl128;

but are never defined and end up being undefined externals at link time.