--Boundary-00=_avlV9Wp2bY8Obmx Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dominique Devriese wrote: >> kget/kmainwidget.cpp: cc-1020 CC: ERROR File =3D kmainwidget.cpp, Line = =3D >> 2150 The identifier "AF_IPX" is undefined. >> >> ipx_sock =3D socket(AF_IPX, SOCK_DGRAM, 0); >> >> don't know what that is; commented it out >> (any ideas?) > >hm.. shouldn't that be PF_IPX ? AF_IPX and PF_IPX should have the same value. That is, I hope it's always t= hat=20 way, because many people, including myself, use one or the other=20 indiscriminatedly. I really don't know when to use one or the other. Anyways, it seems IRIX doesn't provide IPX support. Therefore, I think it's= =20 prudent to enclose the AF_IPX usage inside #ifdef, like what's done right=20 below with AF_AX25. I've provided a patch; can you test it? > >> krfb/srvloc/kinetaddr.cpp: added #include for bzero > >hm.. shouldn't that be string.h ? keep string.h only and change bzero(ptr, size) to memset(ptr, 0, size). It'= s=20 more portable. =2D --=20 Thiago Macieira - UFOT Registry number: 1001 thiagom@mail.com ICQ UIN: 1967141 PGP/GPG: 0x6EF45358 Registered Linux user #65028 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9VlvaM/XwBW70U1gRAk3DAJoDo+pddQlYyiFWLVenm4VXEVUgJQCeKNMz ivTV4tm3y4Uz7MQzDkQ00NQ=3D =3D9k8E =2D----END PGP SIGNATURE----- --Boundary-00=_avlV9Wp2bY8Obmx Content-Type: text/x-diff; charset="iso-8859-1"; name="kget-kmainwidget.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kget-kmainwidget.diff" Index: kmainwidget.cpp =================================================================== RCS file: /home/kde/kdenetwork/kget/kmainwidget.cpp,v retrieving revision 1.40 diff -u -3 -p -r1.40 kmainwidget.cpp --- kmainwidget.cpp 2002/07/16 15:47:19 1.40 +++ kmainwidget.cpp 2002/08/11 12:31:54 @@ -2147,7 +2147,13 @@ static int sockets_open() #endif inet_sock = socket(AF_INET, SOCK_DGRAM, 0); + +#ifdef AF_IPX ipx_sock = socket(AF_IPX, SOCK_DGRAM, 0); +#else + ipx_sock = -1; +#endif + #ifdef AF_AX25 ax25_sock = socket(AF_AX25, SOCK_DGRAM, 0); --Boundary-00=_avlV9Wp2bY8Obmx--