[SOLUTION] net/ns broken on FreeBSD 5.3

Konstantin 'Kosta' Welke damaker at fillibach.de
Mon Jan 17 03:25:25 PST 2005


Hi!

the port net/ns is broken on FreeBSD 5.3. This is because of gcc 3.4.2,  
which
is much more strict. ("It is very likely that existing C++ code will need  
to be fixed."
-- http://gcc.gnu.org/gcc-3.4/changes.html#cplusplus )

Workaround for now is to use the gcc option -fpermissive in  
work/ns-2.27/Makefile:
CCOPT   = -fpermissive

It compiles without problems, then.

HTH,
Kosta


More information about the freebsd-ports mailing list