Bug 734

Summary: Detection of which apidefs to use fails in some Mac systems
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: python bindingsAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P5    
Version: ns-3-dev   
Hardware: Mac Intel   
OS: Mac OS   

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