Hi, All source comments say that ksize_t is supposed to be the type of the last parameter to getsockname. This is size_t on my platform. The same size_t is used for all other system calls like getpeername, accept, etc. etc. Now I've got two problems with this: a.) the configure script does *not* automatically pick up size_t as the correct type for getsockname. Instead it uses int. I've tried to change aclocal.m4 and acinclude.m4 to correctly pick up size_t for ksize_t but it didn't work :-( b.) When I manually change "int" to "size_t" in config.h, I get these errors: cxx -D__USE_STD_IOSTREAM -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kssl -I/home8/kde2d/qt-copy/include -I. -I/usr/local/kde22/include -I/usr/local/mysql/include -I/usr/local/include -DNDEBUG -std gnu -msg_disable delinccls,nousedecl,intsignchange,narrowptr,extrasemi,codeunreachable -msg_display_tag -O3 -fast -tune ev56 -arch generic -DAES_SOURCE -D__USE_STD_IOSTREAM -D__STDC__=1 -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c kextsock.cpp -DPIC -o .libs/kextsock.o cxx: Warning: kextsock.cpp, line 672: argument of type "int *" is incompatible with parameter of type "ksocklen_t *" (D:incompatibleprm) int newfd = KSocks::self()->accept(sockfd, &sa, &len); --------------------------------------------------^ cxx: Warning: kextsock.cpp, line 1092: argument of type "int *" is incompatible with parameter of type "ksocklen_t *" (D:incompatibleprm) if (KSocks::self()->getsockname(fd, sa, &len) == -1) ------------------------------------------^ ksocklen_t is hardcoded to "unsigned int" in ksockaddr.h. This is not good, I think. My platform would require ksocklen_t to be size_t. Any ideas for solutions? Tom -- -------------------------------------------------------------------------- Dr. Tom Leitner Dept. of Communications Graz University of Technology, e-mail : tom@radar.tu-graz.ac.at Inffeldgasse 12 Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe Fax : +43-316-463-697 Home page : http://www.radar.tugraz.at/people/tom.html PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net -------------------------------------------------------------------------- Before we have the paperless office, we have the paperless toilet! >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<