[kde-solaris] Kdenetwork 1.1.1 / krfb on Sparc/Solaris9 compilation failure

Lars Tunkrans kde-solaris@mail.kde.org
Sat Mar 29 22:54:37 2003

In     /kdenetwork-3.1.1/krfb/srvloc

Two new Ifdefs are inserted in kinetaddr.h as
compared to the same file in KDE 3.1

# diff ORG-kinetaddr.h kinetaddr.h
< #ifdef AF_INET6
< #endif
< #ifdef AF_INET6
< #endif

These makes compilation fail  on  SPARC / SOALRIS 9 12/02
and GCC 3.2.2

# gmake
source='kinetaddr.cpp' object='kinetaddr.lo' libtool=yes \
depfile='.deps/kinetaddr.Plo' tmpdepfile='.deps/kinetaddr.TPlo' \
depmode=gcc3 /bin/bash ../../admin/depcomp \
/bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/kde/include -I/usr/local/qt/include    -DQT_THREAD_SUPPORT -I/usr/sfw/include 
-I/opt/sfw/include -I/usr/local/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W 
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O2 -O3 -mcpu=ultrasparc -mtune=ultrasparc -Wa,-xarch=v8plusa -fno-exceptions -fno-check-new -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DKDE_NO_COMPAT -DKDE_NO_COMPAT_H  -c -o kinetaddr.lo `test -f 'kinetaddr.cpp' || echo './'`kinetaddr.cpp
kinetaddr.cpp:132: no `const in6_addr* KInetAddress::addressV6() const' member
    function declared in class `KInetAddress'
kinetaddr.cpp:146:16: warning: extra tokens at end of #ifdef directive
gmake: *** [kinetaddr.lo] Error 1

Lars Tunkrans