|
Bugzilla – Full Text Bug Listing |
| Summary: | ./waf --python-scan fails | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Mathieu Lacage <mathieu.lacage> |
| Component: | python bindings | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | gjcarneiro, jpelkey |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Mathieu Lacage
2010-04-16 02:02:36 UTC
Sounds like a system installation problem? Your system headers do not appear to support compilation with -m32 very well. -m32 is used as a flag to make a 64-bit system scan headers pretending to be a 32-bit system. I get supposedly the same errors on a stock fc12 box. Let's check if plain g++ has the same problem. First try to parse the header normally: g++ -I build/debug/ -I /usr/include/python2.6 build/debug/bindings/python/everything.h If it works, add -m32 and try again: g++ -m32 -I build/debug/ -I /usr/include/python2.6 build/debug/bindings/python/everything.h Do you reproduce the compiler error that GCC-XML reports? python scan worked for me on my 64-bit machine, most recent ns-3-dev: a597d6d2da85 I am closing this invalid now. I haven't gotten it to fail yet. |