Hello,
I am trying to compile Linux DC++ 1.1.0 under openindiana 151a7 (Patched to October, 10, 2012).
I solved the dependencys (packages, libraries,... to compile this).
But I get a Problem when wulforutil.cc should be compiled.
The following are the error messages i get:
g++ -o build/release/gui/WulforUtil.o -c -I/usr/g++/include -O3 -fomit-frame-pointer -R/usr/lib -I/usr/g++/include -DHAVE_IFADDRS_H -DHAVE_LIBNOTIFY -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -DICONV_CONST=const -D_DATADIR='"/home/mlampe/linuxdcppfinal/share"' -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_PTHREADS -DPACKAGE='"linuxdcpp"' -I. -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 linux/WulforUtil.cc
linux/WulforUtil.cc: In static member function 'static void WulforUtil::registerIcons()':
linux/WulforUtil.cc:461:2: error: reference to 'map' is ambiguous
/usr/include/net/if.h:97:9: error: candidates are: struct map
/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.3/../../../../include/c++/4.6.3/bits/stl_map.h:88:11: error: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
linux/WulforUtil.cc:461:12: error: expected primary-expression before ',' token
linux/WulforUtil.cc:461:20: error: expected primary-expression before '>' token
linux/WulforUtil.cc:461:22: error: 'icons' was not declared in this scope
linux/WulforUtil.cc:491:7: error: reference to 'map' is ambiguous
/usr/include/net/if.h:97:9: error: candidates are: struct map
/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.3/../../../../include/c++/4.6.3/bits/stl_map.h:88:11: error: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
linux/WulforUtil.cc:491:17: error: expected primary-expression before ',' token
linux/WulforUtil.cc:491:25: error: expected primary-expression before '>' token
linux/WulforUtil.cc:491:26: error: '::const_iterator' has not been declared
linux/WulforUtil.cc:491:43: error: expected ';' before 'i'
linux/WulforUtil.cc:491:62: error: 'i' was not declared in this scope
scons: *** [build/release/gui/WulforUtil.o] Error 1
scons: building terminated because of errors.
Is there anybody who can help me so solve this problem, please?
thanking you in advance
mlampe