Another compilation error with kde3
Sonny Zambrana <sonnyjz <at> wontstop.com>
2002-04-04 12:26:13 GMT
My current system setup:
Ultra 60 running solaris 8 with gcc 2.95.3
the problem is kdebase. I have successfully compiled qt, arts, & kdelibs.
Here is what my configure line looks like.
./configure --enable-shared --prefix=/opt/kde --without-kdm --disable-cups -
-with-ssl-dir=/usr/local/ssl --without-dpms --without-xdmcp --with-pam=yes -
-disable-lametest --disable-vorbistest
And here is my error:
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -
DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -
DSVR4 -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -
DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c nic.cpp -Wp,-MD,.deps/nic.TPlo -fPIC -
DPIC -o .libs/nic.o
In file included from nic.cpp:45:
/usr/include/net/if.h:87: `struct map' redeclared as different kind of
symbol
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/../../../../include/g++-
3/stl_map.h:48: previous declaration of `template <class _Key, class _Tp,
class _Compare = struct less<_Key>, class _Alloc = class allocator<_T2> >
class map<_Key,_Tp,_Compare,_Alloc>'
make[4]: *** [nic.lo] Error 1
make[4]: Leaving directory `/usr/local/src/kde3/kdebase-3.0/kcontrol/nics'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/kde3/kdebase-3.0/kcontrol/nics'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/kde3/kdebase-3.0/kcontrol'
make[1]: *** [all-recursive] Error 1
(Continue reading)