[kde-solaris] error in compiling kresolver.cpp
Stefan Everhartz
stefan.everhartz at cronomik.de
Mon May 17 17:18:08 CEST 2004
Hi there,
sorry that I contact you directly.
But I get the following messages running gmake for kresolver.cpp.
My platform is solaris 9. Any Idea what can be wrong ?
pluto: cd /data02/KDE/kdelibs/kdecore/network
405 root at pluto> gmake
source='kresolver.cpp' object='kresolver.lo' libtool=yes \
depfile='.deps/kresolver.Plo' tmpdepfile='.deps/kresolver.TPlo' \
depmode=none /bin/bash ../../admin/depcomp \
/bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I../.. -I../../dcop -I../../kio/kssl -I../../dcop -I../../libltdl
-I../../kdefx -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio
-I../../kio/kfile -I../.. -I/data02/QT/qt-copy/include -I/opt/kde/include
-DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS
-DSVR4 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -c -o kresolver.lo `test -f 'kresolver.cpp' || echo
'./'`kresolver.cpp
/usr/include/netdb.h: In static member function `static QStrList
KNetwork::KResolver::protocolName(int)':
/usr/include/netdb.h:232: error: too many arguments to function `protoent*
getprotobynumber_r(int, protoent*, char*, int)'
kresolver.cpp:635: error: at this point in file
kresolver.cpp:635: error: ISO C++ forbids comparison between pointer and
integer
/usr/include/netdb.h: In static member function `static QStrList
KNetwork::KResolver::protocolName(const char*)':
/usr/include/netdb.h:230: error: too many arguments to function `protoent*
getprotobyname_r(const char*, protoent*, char*, int)'
kresolver.cpp:677: error: at this point in file
kresolver.cpp:677: error: ISO C++ forbids comparison between pointer and
integer
/usr/include/netdb.h: In static member function `static int
KNetwork::KResolver::protocolNumber(const char*)':
/usr/include/netdb.h:230: error: too many arguments to function `protoent*
getprotobyname_r(const char*, protoent*, char*, int)'
kresolver.cpp:719: error: at this point in file
kresolver.cpp:719: error: ISO C++ forbids comparison between pointer and
integer
/usr/include/netdb.h: In static member function `static int
KNetwork::KResolver::servicePort(const char*, const char*)':
/usr/include/netdb.h:219: error: too many arguments to function `servent*
getservbyname_r(const char*, const char*, servent*, char*, int)'
kresolver.cpp:757: error: at this point in file
kresolver.cpp:757: error: ISO C++ forbids comparison between pointer and
integer
/usr/include/netdb.h: In static member function `static QStrList
KNetwork::KResolver::serviceName(const char*, const char*)':
/usr/include/netdb.h:219: error: too many arguments to function `servent*
getservbyname_r(const char*, const char*, servent*, char*, int)'
kresolver.cpp:795: error: at this point in file
kresolver.cpp:795: error: ISO C++ forbids comparison between pointer and
integer
/usr/include/netdb.h: In static member function `static QStrList
KNetwork::KResolver::serviceName(int, const char*)':
/usr/include/netdb.h:221: error: too many arguments to function `servent*
getservbyport_r(int, const char*, servent*, char*, int)'
kresolver.cpp:837: error: at this point in file
kresolver.cpp:837: error: ISO C++ forbids comparison between pointer and
integer
gmake: *** [kresolver.lo] Error 1
--
Mit freundlichen Grüßen
Stefan Everhartz
cronomik datentechnik
An der Gärtnerei 5
D-52388 Nörvenich
Germany
Fon: +49 2426 903687
Fax: +49 2426 903689
Mobile: +49 173 2556 483
mailto:stefan.everhartz at cronomik.de
http://www.cronomik.de
\\\|///
\\ ~ ~ //
(/ @ @ \)
---- oOOo-(_)-oOOo ----
More information about the kde-solaris
mailing list