1.9.2 !!!! Woow, that's from the dinosaur ages :))

The only thing I can recommend is : upgrade to 2.4, 3.0 or 3.1 which are the supported versions.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2020 online
  https://www.opensips.org/events/Summit-2020Distributed/

On 8/13/20 1:45 PM, Chandan PR wrote:
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=1cfg.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

_______________________________________________
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

Reply via email to