Hi,
The module does not compile by default (as part of the "make all") as
it has extra dependencies.
To include the module for default compiling, edit Makefile.conf, the
"exclude_modules" list and remove the httpd from there. Of course, do
"make all" again.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 05/16/2019 06:27 PM, Mark Farmer wrote:
Hi everyone
I'm having a play around with 3.0 :)
I've got it up and running but when I try to load the httpd.so module,
startup fails with the following error:
opensips: DBG:core:load_module: loading module
/usr/local/lib64/opensips/modules/httpd.so
opensips: ERROR:core:sr_load_module: could not open module
</usr/local/lib64/opensips/modules/httpd.so>:
/usr/local/lib64/opensips/modules/httpd.so: undefined symbol:
httpd_mem_stat
opensips: ERROR:core:load_module: failed to load module
opensips: Traceback (last included file at the bottom):
opensips: 0. /usr/local/etc/opensips/opensips.cfg
opensips: CRITICAL:core:yyerror: parse error in
/usr/local/etc/opensips/opensips.cfg:65:13-14: failed to load module
httpd.so
opensips:
opensips: #### HTTPD module
opensips: loadmodule "httpd.so"
opensips: ^~
Git cloned & compiled today.
Version info:
opensips -V
version: opensips 3.0.0-beta (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, CC_O0, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: 5561528a2
main.c compiled on 11:30:59 May 16 2019 with gcc 7
--
Mark Farmer
[email protected] <mailto:[email protected]>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users