[OpenSIPS-Users] compiling opensips on a raspberry pi
Steve Woolley
steve.woolley at me.com
Fri May 27 21:21:35 CEST 2016
Am trying to run opensips on a raspberry pi OS:Raspbian (based on Debian Jessie).
Compiled successfully but take a looooooooong time to start up opensips. (35-45 minutes).
Shows the following in the log (during the long pause):
DBG:tm:lock_initialize: lock initialization started
Bogan-Andrei Iancu has suggested this is probably due to "System V locking support”.
He suggested trying to set USE_PTHREAD_MUTEX or USE_POSIX_SEMS compile options.
However, both of these options fail on:
Compiling net/net_tcp.c
net/net_tcp.c: In function ‘tcpconn_new’:
net/net_tcp.c:844:7: error: used union type value where scalar is required
if (c->write_lock) lock_destroy(&c->write_lock);
^
Makefile.rules:25: recipe for target 'net/net_tcp.o' failed
make: *** [net/net_tcp.o] Error 1
Anyone had any luck on setting these compile options and/or getting opensips (efficiently) running on a Raspberry Pi?
--
Steve Woolley
steve.woolley at me.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160527/4aa3f528/attachment.htm>
More information about the Users
mailing list