Subject: kdelibs: error in /usr/include/sys/select.h
To: None <current-users@netbsd.org>
From: None <d.zanon@infinito.it>
List: current-users
Date: 03/24/2005 16:30:29
I'm writing to this list because I'm using a rather current NetBSD (2.99.16=
),=20
please ignore me if it's inappropriate.

While compiling kdelibs-3.4.0, I get this:

In file included from ksock.cpp:65:
/usr/include/sys/select.h:85: error: previous declaration of `int select(in=
t,
   fd_set*, fd_set*, fd_set*, timeval*)' with C++ linkage
/usr/include/unistd.h:288: error: conflicts with new declaration with C=20
linkage
ksock.cpp: In member function `long unsigned int KSocket::ipv4_addr()':
ksock.cpp:210: warning: `peerAddress' is deprecated (declared at=20
kextsock.h:986
   )
ksock.cpp: In static member function `static bool
   KSocket::initSockaddr(ksockaddr_in*, const char*, short unsigned int,=20
int)':
ksock.cpp:240: warning: `lookup' is deprecated (declared at kextsock.h:969)
ksock.cpp:249: warning: `address' is deprecated (declared at kextsock.h:106=
4)
ksock.cpp: In member function `virtual void KServerSocket::slotAccept(int)':
ksock.cpp:416: warning: `__comp_ctor' is deprecated (declared at=20
ksock.cpp:102)
gmake[4]: *** [ksock.lo] Error 1

=46rom my non-existent knowledge, the problems are found in system header f=
iles,=20
and not in some kde-related stuff. So, is there anyone who knows what's=20
happening here? Thanks :)

david