[ns] Installing NS on Mac OS 10.3
John Heidemann
johnh at ISI.EDU
Mon Feb 23 08:33:55 PST 2004
On Sun, 22 Feb 2004 19:56:21 EST, Joaquin Carbonara wrote:
>I have a laptop with Mac OS 10.3
>Tried to install the all-in-one-2.27 package, but the Make for ns failed.
>All other previous packages were ok apparently.
>
>The error I get is
>
>In file included from queue/pi.cc:52:
>queue/pi.h:70:54: macro "setbit" requires 2 arguments, but only 1 given
>In file included from queue/pi.cc:52:
>queue/pi.h: In constructor `edp_pi::edp_pi()':
>queue/pi.h:70: error: parse error before `;' token
>make: *** [queue/pi.o] Error 1
>Ns make failed!
>See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
>
>ANY HELP?
>
>Thanks!
>
>Joaquin
>
>
Looks like MacOS has contaminated the namespace with some setbit
macro. You need to find where that is... there's a gcc option that
will tell you where everything is defined (look at the info page).
Then you need to make the macro go away by #undef'ing it or not
including its header.
-John Heidemann
More information about the Ns-users
mailing list