Subject: Re: SIP client.
To: None <>
From: Alan Barrett <>
List: current-users
Date: 04/03/2004 12:36:22
On Fri, 02 Apr 2004, Herb Peyerl wrote:
> kphone doesn't want to compile

I managed to get kphone to compile without too much difficulty (patch
appended), but then it didn't work, because it tries to parse some
linux-specific stuff out of /proc.  I got past that by passing the local
IP address through the DISSIPATE_ADDR environment variable.  But then
as soon as I try to make a call, it pops up a message saying "Close any
program that might be using sound card and try again" (or words to that
effect); I have now given up.

--apb (Alan Barrett)

--- kphone-4.0.1/dissipate2/siputil.cpp	2004-01-12 15:44:40.000000000 +0200
+++ kphone-4.0.1.apb/dissipate2/siputil.cpp	2004-03-26 20:21:59.000000000 +0200
@@ -3,7 +3,7 @@
 #include <sys/utsname.h>
 #include <sys/socket.h>
 #include <sys/time.h>
-#include <sys/errno.h>
+#include <errno.h>
 #include <sys/ioctl.h>
 #include <net/if_arp.h>
 #include <net/route.h>
--- kphone-4.0.1/dissipate2/udpmessagesocket.cpp	2004-01-18 21:15:58.000000000 +0200
+++ kphone-4.0.1.apb/dissipate2/udpmessagesocket.cpp	2004-03-26 15:39:40.000000000 +0200
@@ -1,5 +1,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <arpa/inet.h>
+#include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <errno.h>
 #include <string.h>
@@ -48,6 +50,9 @@
 int UDPMessageSocket::SetTOS( void )
+#ifndef SOL_IP
 	unsigned char tos;
 	socklen_t optlen;