<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/netmap/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/netmap/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/netmap/bugs/</id><updated>2010-01-07T16:20:38Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>doesn't work</title><link href="https://sourceforge.net/p/netmap/bugs/5/" rel="alternate"/><published>2010-01-07T16:20:38Z</published><updated>2010-01-07T16:20:38Z</updated><author><name>Dimitri Papadopoulos</name><uri>https://sourceforge.net/u/papadopo/</uri></author><id>https://sourceforge.net41af685719c67f9c090f41e9a5d6882684bfb098</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Since I cannot compile from sources, I've tried to run the binary.&lt;br /&gt;
It creates an almost empty netmap.dot file.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>doesn't compile</title><link href="https://sourceforge.net/p/netmap/bugs/4/" rel="alternate"/><published>2010-01-07T16:15:42Z</published><updated>2010-01-07T16:15:42Z</updated><author><name>Dimitri Papadopoulos</name><uri>https://sourceforge.net/u/papadopo/</uri></author><id>https://sourceforge.neta0ac44dade80af1b49bf2ab98bd9223930f83e62</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It looks like you're missing 'std::' or at least 'using std':&lt;/p&gt;
&lt;p&gt;g++ -O -Wall   -c -o files.o files.c&lt;br /&gt;
In file included from files.c:6:&lt;br /&gt;
files.h:15: erreur: expected nested-name-specifier before ‘std’&lt;br /&gt;
files.h:15: erreur: namespace ‘std’ not allowed in using-declaration&lt;br /&gt;
files.h:17: erreur: expected class-name before ‘{’ token&lt;br /&gt;
[...]&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>trouble with compile on Linux</title><link href="https://sourceforge.net/p/netmap/bugs/3/" rel="alternate"/><published>2007-06-06T21:30:04Z</published><updated>2007-06-06T21:30:04Z</updated><author><name>Ed Davison</name><uri>https://sourceforge.net/u/edavison/</uri></author><id>https://sourceforge.net131edbc3e8849e286b588073861127191115a967</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;$ g++ -v&lt;br /&gt;
Using built-in specs.&lt;br /&gt;
Target: i686-pc-linux-gnu&lt;br /&gt;
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu&lt;br /&gt;
Thread model: posix&lt;br /&gt;
gcc version 4.1.1 (Gentoo 4.1.1-r3)&lt;/p&gt;
&lt;p&gt;$ gmake&lt;br /&gt;
gmake -C belgolib&lt;br /&gt;
gmake[1]: Entering directory `/usr/src/netmap-0.1.2b/belgolib'&lt;br /&gt;
g++ -O -Wall   -c -o files.o files.c&lt;br /&gt;
files.h:15: error: expected class-name before '{' token&lt;br /&gt;
files.h:18: error: expected ',' or '...' before '&amp;amp;' token&lt;br /&gt;
files.h:18: error: ISO C++ forbids declaration of 'string' with no type&lt;br /&gt;
files.h:19: error: expected ',' or '...' before '&amp;amp;' token&lt;br /&gt;
files.h:19: error: ISO C++ forbids declaration of 'string' with no type&lt;br /&gt;
files.h:25: error: expected class-name before '{' token&lt;br /&gt;
files.h:28: error: expected ',' or '...' before '&amp;amp;' token&lt;br /&gt;
files.h:28: error: ISO C++ forbids declaration of 'string' with no type&lt;br /&gt;
files.h:29: error: expected ',' or '...' before '&amp;amp;' token&lt;br /&gt;
files.h:29: error: ISO C++ forbids declaration of 'string' with no type&lt;br /&gt;
...&lt;br /&gt;
files.c: In member function 'int Outfile::check_open() const':&lt;br /&gt;
files.c:142: error: could not convert '*(const Outfile*)this' to 'bool'&lt;br /&gt;
files.c: At global scope:&lt;br /&gt;
files.c:158: error: expected ',' or '...' before '&amp;amp;' token&lt;br /&gt;
files.c:158: error: ISO C++ forbids declaration of 'string' with no type&lt;br /&gt;
files.c: In constructor 'Dbgfile::Dbgfile(int)':&lt;br /&gt;
files.c:159: error: 'filename' was not declared in this scope&lt;br /&gt;
files.c:159: error: 'open' was not declared in this scope&lt;br /&gt;
files.c:162: error: 'cout' was not declared in this scope&lt;br /&gt;
files.c:162: error: 'endl' was not declared in this scope&lt;br /&gt;
gmake[1]: *** [files.o] Error 1&lt;br /&gt;
gmake[1]: Leaving directory `/usr/src/netmap-0.1.2b/belgolib'&lt;br /&gt;
gmake: *** [all] Error 2&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compile issues on FreeBSD</title><link href="https://sourceforge.net/p/netmap/bugs/2/" rel="alternate"/><published>2001-12-28T17:10:02Z</published><updated>2001-12-28T17:10:02Z</updated><author><name>The Nonesuch</name><uri>https://sourceforge.net/u/nonesuch773/</uri></author><id>https://sourceforge.net0d9139d50e7b80af5e104c00ce372307f6619ed6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;$ gcc -v &lt;br /&gt;
gcc version 2.95.3 [FreeBSD] 20010315 (release)&lt;/p&gt;
&lt;p&gt;$ cd netmap&lt;/p&gt;
&lt;p&gt;$ gmake&lt;br /&gt;
g++ -O -Wall   -I../belgolib  -c -o lookup.o lookup.c&lt;br /&gt;
lookup.c: In method `class string LookUp::resolv(const string &amp;amp;amp;)':&lt;br /&gt;
lookup.c:207: `AF_INET' undeclared (first use this function)&lt;br /&gt;
lookup.c:207: (Each undeclared identifier is reported only once&lt;br /&gt;
lookup.c:207: for each function it appears in.)&lt;br /&gt;
gmake: *** [lookup.o] Error 1&lt;/p&gt;
&lt;p&gt;$ diff lookup.c lookup.c.fix&lt;br /&gt;
14a15,20&lt;br /&gt;
&amp;amp;gt; // Really lame fix for missing AF_INET definition.&lt;br /&gt;
&amp;amp;gt; #ifndef AF_INET&lt;br /&gt;
&amp;amp;gt; #define       AF_INET         2&lt;br /&gt;
&amp;amp;gt; #define       PF_INET         AF_INET&lt;br /&gt;
&amp;amp;gt; #endif&lt;br /&gt;
&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;$ gmake&lt;br /&gt;
g++ -O -Wall   -I../belgolib  -c -o lookup.o lookup.c&lt;br /&gt;
g++ -o netmap misc.o hostclass.o netmap.o drawmap.o config.o args.o lookup.o ../&lt;br /&gt;
belgolib/belgolib.a&lt;br /&gt;
strip netmap&lt;/p&gt;
&lt;p&gt;$&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compilation issues on Solaris 8</title><link href="https://sourceforge.net/p/netmap/bugs/1/" rel="alternate"/><published>2001-12-20T01:07:57Z</published><updated>2001-12-20T01:07:57Z</updated><author><name>Kevin Kadow</name><uri>https://sourceforge.net/u/kkadow/</uri></author><id>https://sourceforge.net45c206bb19ac06695c2c8bc33e407c4d212e5c1d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Cool software, it did take me a couple of minutes to make this build on Solaris 8/Sparc, the 0.1.1 &lt;br /&gt;
release is much closer to being truly portable than was 0.1&lt;/p&gt;
&lt;p&gt;Changes needed to compile on Solaris:&lt;/p&gt;
&lt;p&gt;In netmap-0.1.1/netmap/Makefile, change line 8 to read:&lt;/p&gt;
&lt;p&gt;LDFLAGS   = ../belgolib/belgolib.a -L /usr/local/lib -lnsl&lt;/p&gt;
&lt;p&gt;There's some issues with the use of 'unsigned char' for IP addresses in hostclass.c, there is &lt;br /&gt;
probably a more elegant way to resolve this, I made the following changes:&lt;/p&gt;
&lt;p&gt;&amp;amp;lt; static void transform_ip(const string&amp;amp;amp; ip, unsigned char result[4])&lt;br /&gt;
---&lt;br /&gt;
&amp;amp;gt; static void transform_ip(const string&amp;amp;amp; ip, char result[4])&lt;br /&gt;
44c44&lt;br /&gt;
&amp;amp;lt;     unsigned char res_ip[4];&lt;br /&gt;
---&lt;br /&gt;
&amp;amp;gt;     char res_ip[4];&lt;/p&gt;
&lt;p&gt;One final suggestion:&lt;/p&gt;
&lt;p&gt;It would be very helpful to include  'ChangeLog' and 'TODO' files in the distribution.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kevin Kadow&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>