[OpenSIPS-Users] OpenSips compilation failing
Chandan PR
chandan.pr at webshar.org
Thu Aug 13 10:45:43 EST 2020
Hello Everyone,
We are using Opensips 1.9.2 in our production environment for nearly 6-7
years now.
We have come across a need to enable mi_xml_rpc module to get Opensips
stats.
While trying to recompile Opensips we are ending up in the below error:
Makefile.defs:742: You are using an old and unsupported gcc version (5.4),
compile at your own risk!
cd menuconfig; make ; cd ..
make[1]: Entering directory '/usr/local/src/opensips-1.9.2-tls/menuconfig'
gcc -o configure -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\"
-DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1 cfg.o curses.o
items.o commands.o menus.o parser.o main.o -lncurses
make[1]: Leaving directory '/usr/local/src/opensips-1.9.2-tls/menuconfig'
./menuconfig/configure --local
make[1]: Entering directory '/usr/local/src/opensips-1.9.2-tls'
Linking opensips
socket_info.o: In function `fix_socket_list':
/usr/local/src/opensips-1.9.2-tls/socket_info.c:586: undefined reference to
`resolvehost'
/usr/local/src/opensips-1.9.2-tls/socket_info.c:674: undefined reference to
`resolvehost'
/usr/local/src/opensips-1.9.2-tls/socket_info.c:644: undefined reference to
`rev_resolvehost'
route.o: In function `fix_actions':
/usr/local/src/opensips-1.9.2-tls/route.c:459: undefined reference to
`resolvehost'
route.o: In function `comp_ip':
/usr/local/src/opensips-1.9.2-tls/route.c:1076: undefined reference to
`rev_resolvehost'
/usr/local/src/opensips-1.9.2-tls/route.c:1061: undefined reference to
`resolvehost'
timer.o: In function `start_timer_processes':
/usr/local/src/opensips-1.9.2-tls/timer.c:593: undefined reference to
`inc_init_timer'
transformations.o: In function `tr_eval_ip':
/usr/local/src/opensips-1.9.2-tls/transformations.c:1206: undefined
reference to `resolvehost'
mem/f_malloc.o: In function `fm_malloc':
/usr/local/src/opensips-1.9.2-tls/mem/f_malloc.c:407: undefined reference
to `pkg_threshold_check'
/usr/local/src/opensips-1.9.2-tls/mem/f_malloc.c:374: undefined reference
to `pkg_threshold_check'
mem/f_malloc.o: In function `fm_free':
/usr/local/src/opensips-1.9.2-tls/mem/f_malloc.c:467: undefined reference
to `pkg_threshold_check'
mem/f_malloc.o: In function `fm_realloc':
/usr/local/src/opensips-1.9.2-tls/mem/f_malloc.c:588: undefined reference
to `pkg_threshold_check'
/usr/local/src/opensips-1.9.2-tls/mem/f_malloc.c:500: undefined reference
to `pkg_threshold_check'
db/db_query.o: In function `db_do_insert':
/usr/local/src/opensips-1.9.2-tls/db/db_query.c:294: undefined reference to
`cleanup_rows'
collect2: error: ld returned 1 exit status
Makefile.rules:35: recipe for target 'opensips' failed
make[1]: *** [opensips] Error 1
make[1]: Leaving directory '/usr/local/src/opensips-1.9.2-tls'
Any help on how to resolve this would be greatly appreciated.
PS: Currently we won't be able to move the production environment to latest
version. So need to enable mi_xml_rpc module on the version 1.9.2
--
Regards,
Chandan Ravishankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200813/a99926a1/attachment-0001.html>
More information about the Users
mailing list