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
Product: ns-3
Classification: Unclassified
Component: python bindings
ns-3-dev
Mac Intel Mac OS
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-02 05:45 UTC by Gustavo J. A. M. Carneiro
Modified: 2009-11-22 13:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo J. A. M. Carneiro 2009-11-02 05:45:41 UTC
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