[Ns-developers] ns2 patch for MacOS X 10.4 Tiger
lars.eggert at netlab.nec.de
Thu Jul 21 07:27:39 PDT 2005
On Jul 21, 2005, at 16:17, Tom Henderson wrote:
> Is your patch correct? I see that you patched XCP and then the XCP
> test suite seems to be taking errors.
that's what I asked myself as well. The fixes I made are basically
simple C++ fixes to let the thing compile correctly.
The XCP changes define the static class variables that were only
declared in the header file. (This is actually required, I have no
idea why the original code compiled, maybe older gcc versions are
more lenient or support this as an extension to the standard.)
The pcap ones comment out a piece of code that uses an ioctl that
doesn't exist on Darwin (BIOCIMMEDIATE), similar to Linux.
I'm not sure if those simple changes can cause these problems with
the test suite.
> Francesco Gringoli is also working on patches to the current
> snapshot to 10.4-- once those are available, I plan to add to the
> repository. We then should have a new release relatively soon, if
> only to handle gcc-4 and OS X support.
Are his changes available? I'm curious what else he needed to change.
(Or has the current snapshot changed so much? Can't check, because
anoncvs is still disabled I think.)
Lars Eggert NEC Network Laboratories
More information about the Ns-developers