Bug 734 - Detection of which apidefs to use fails in some Mac systems
: Detection of which apidefs to use fails in some Mac systems
Status: RESOLVED FIXED
: ns-3
python bindings
: ns-3-dev
: Macintosh Mac OS
: P5 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-11-02 05:45 EDT by
Modified: 2009-11-22 13:27 EDT (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-11-02 05:45:41 EDT
On some Mac systems, uint64_t is "long long unsigned int" even though "long
unsigned int" is also 64 bits wide.

Need to fix the detection of which apidefs to use by considering gcc
compilation tests (to check how uint64_t is defined, long or long long?),
instead of struct.calcsize.

Reporter thread here:


http://groups.google.com/group/ns-3-users/browse_frm/thread/8e50f28113ef23ba/3c65b2baf01a9f1e?hl=en&tvc=1&q=ns-3.6+does+not+build+on+Mac+OS+10.6+%09%09%09%09#3c65b2baf01a9f1e