Date: Mon, 17 Jan 2005 18:56:44 -0000 From: "Konstantin 'Kosta' Welke" <damaker@fillibach.de> To: "Kirill Ponomarew" <krion@voodoo.oberon.net> Cc: "ports@freebsd.org" <ports@freebsd.org> Subject: Re: [SOLUTION] net/ns broken on FreeBSD 5.3 Message-ID: <opskrf8uykdvpa9u@localhost> In-Reply-To: <20050117152651.GN93155@voodoo.oberon.net> References: <opskqx33dedvpa9u@anyhost.anywhere> <20050117152651.GN93155@voodoo.oberon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Jan 2005 16:26:51 +0100, Kirill Ponomarew <krion@voodoo.oberon.net> wrote: [net/ns] > This port is broken on sparc and alpha-4.x, the fix for i386 5.x > version was committed in June. Please update your ports. Sorry, i was confused with another port. Yes, this port is indeed marked as working for i386 5.x, but it does not compile, at least not on my laptop. It seems like picky gcc errors from here, which i partially corrected but I am not done (yet). Even with -fpermissive, some errors remain. First one is a simple template specialization which can be corrected by putting template<> in front of the lines gcc complains about, but the second one is a bit less clear to me. Seems like some problems while using the STL, and I hate those problems... Want an exmaple? c++ -c -fpermissive -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/tk8.4 -I/usr/local/include/tcl8.4 -I/usr/include/pcap -o diffusion3/ns/difftimer.o diffusion3/ns/difftimer.cc In file included from /usr/include/c++/3.4/vector:72, from ./diffusion3/lib/nr/nr.hh:34, from ./diffusion3/lib/main/message.hh:48, from ./diffusion3/lib/main/filter.hh:34, from ./diffusion3/lib/dr.hh:43, from diffusion3/ns/diffagent.h:41, from diffusion3/ns/difftimer.cc:34: /usr/include/c++/3.4/bits/stl_bvector.h: In member function `void std::vector<bool, _Alloc>::_M_insert_range(std::_Bit_iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)': /usr/include/c++/3.4/bits/stl_bvector.h:522: error: expected unqualified-id before '(' token Can you compile it with gcc 3.4.2? greetings, Kosta PS: for my next problem/patch, i'll use send-pr. I promise :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opskrf8uykdvpa9u>