[Ns-bugs] [Bug 838] ns-3 can't compile on MacOS with 32bit processor

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Sat Mar 20 10:02:05 PDT 2010


http://www.nsnam.org/bugzilla/show_bug.cgi?id=838


Tommaso Pecorella <tommaso.pecorella at unifi.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Tommaso Pecorella <tommaso.pecorella at unifi.it>  2010-03-20 13:02:04 EDT ---
I found the bug and I fixed it. No change in code is necessary, but a warning
in the installation wiki is.
Maybe there's a bug somewhere else in the build system tho.

The issue was due to a stale "CFLAGS=-arch i386" in my .profile, left there
from an old omnet installation.

Kill it, reconfigure ns-3 and all goes smooth as butter. This is what have to
be pointed out in the wiki.

Now the "possible" build system bug.

cairo-wideint.c was the ONLY source file using it.

All the other files had a runner like:
runner system command -> ['/usr/bin/gcc', '-O0', '-ggdb', '-g3', '-Wall', ...
etc.
while cairo_wident had it like
runner system command -> ['/usr/bin/gcc', '-arch', 'i386', '-O0', '-ggdb',
'-g3', '-Wall', ... etc.

Hence the headaches.

Cheers,

Tommaso

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list