Hi Andrei
i attached the futex.h
[root@localhost sip-router]# uname -a Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
Thank you Ha` --- On Thu, 6/25/09, Andrei Pelinescu-Onciul andrei@iptel.org wrote:
From: Andrei Pelinescu-Onciul andrei@iptel.org Subject: Re: [sr-dev] Compilation on CentOS 5 error To: "ha do" haloha201@yahoo.com Cc: "serdev@lists.iptel.org" serdev@lists.iptel.org Date: Thursday, June 25, 2009, 3:45 AM
On Jun 15, 2009 at 21:13, ha do haloha201@yahoo.com wrote:
HI all
i follow the instruction http://sip-router.org/wiki/migration/kamailio-3.0-config
but when i compile but get the error
[...]
/usr/include/linux/futex.h:108: error: expected ?)? before ?*? token /usr/include/linux/futex.h:112: error: expected ?)? before ?*? token
Could you please send me this file (/usr/include/linux/futex.h) and the result of uname -a?
Thanks, Andrei
On Jul 15, 2009 at 02:35, ha do haloha201@yahoo.com wrote:
Hi Andrei
i attached the futex.h
[root@localhost sip-router]# uname -a Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
Should work now (looks like Centos is using directly the futex.h from the 2.6.18 kernel and that version doesn't work so well from userspace).
Andrei
Hi Andrei
i compile the source and get a new issue
uname -a Linux cucku 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
touch /usr/local/etc/ser//tls.cfg install -m 644 modules/tls/tls.cfg /usr/local/etc/ser/ modules/tls/sip-router_cert.sh -d /usr/local/etc/ser/ modules/tls/sip-router_cert.sh: line 140: which: command not found Could not find openssl command Set OPENSSL environment variable properly (see -h for more info) make: *** [install-cfg] Error 1 [root@cucku sip-router]# find / -name openssl /usr/include/openssl
Thank you
--- On Thu, 7/16/09, Andrei Pelinescu-Onciul andrei@iptel.org wrote:
From: Andrei Pelinescu-Onciul andrei@iptel.org Subject: Re: [sr-dev] Compilation on CentOS 5 error To: "ha do" haloha201@yahoo.com Cc: "serdev@lists.iptel.org" serdev@lists.iptel.org Date: Thursday, July 16, 2009, 2:48 PM
On Jul 15, 2009 at 02:35, ha do haloha201@yahoo.com wrote:
Hi Andrei
i attached the futex.h
[root@localhost sip-router]# uname -a Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
Should work now (looks like Centos is using directly the futex.h from the 2.6.18 kernel and that version doesn't work so well from userspace).
Andrei
On Jul 18, 2009 at 01:18, ha do haloha201@yahoo.com wrote:
Hi Andrei
i compile the source and get a new issue
uname -a Linux cucku 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
touch?????????? /usr/local/etc/ser//tls.cfg install -m 644 modules/tls/tls.cfg /usr/local/etc/ser/ modules/tls/sip-router_cert.sh -d /usr/local/etc/ser/ modules/tls/sip-router_cert.sh: line 140: which: command not found Could not find openssl command Set OPENSSL environment variable properly (see -h for more info) make: *** [install-cfg] Error 1 [root@cucku sip-router]# find / -name openssl /usr/include/openssl
You probably don't have openssl installed. OTOH if you don't install the tls module you don't need openssl so you shouldn't get this error. It should be fixed now (the ssl certs are generated only if you install the tls module).
Andrei
What's your make command?
You need to install the openssl package, but I thought that openssl was required for a standard compile without tls. I have openssl-0.9.8b-10.el5_2.1 g-)
On Sat, 18 Jul 2009 10:18:55 +0200, ha do haloha201@yahoo.com wrote:
Hi Andrei
i compile the source and get a new issue
uname -a Linux cucku 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
touch /usr/local/etc/ser//tls.cfg install -m 644 modules/tls/tls.cfg /usr/local/etc/ser/ modules/tls/sip-router_cert.sh -d /usr/local/etc/ser/ modules/tls/sip-router_cert.sh: line 140: which: command not found Could not find openssl command Set OPENSSL environment variable properly (see -h for more info) make: *** [install-cfg] Error 1 [root@cucku sip-router]# find / -name openssl /usr/include/openssl
Thank you
--- On Thu, 7/16/09, Andrei Pelinescu-Onciul andrei@iptel.org wrote:
From: Andrei Pelinescu-Onciul andrei@iptel.org Subject: Re: [sr-dev] Compilation on CentOS 5 error To: "ha do" haloha201@yahoo.com Cc: "serdev@lists.iptel.org" serdev@lists.iptel.org Date: Thursday, July 16, 2009, 2:48 PM
On Jul 15, 2009 at 02:35, ha do haloha201@yahoo.com wrote:
Hi Andrei
i attached the futex.h
[root@localhost sip-router]# uname -a Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
Should work now (looks like Centos is using directly the futex.h from the 2.6.18 kernel and that version doesn't work so well from userspace).
Andrei