[OpenSIPS-Users] Compile problem

Liviu Chircu liviu at opensips.org
Thu Jan 7 19:33:18 CET 2016


I would suggest doing a "make proper" first, this issue does not occur 
at all on my setup.

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 07.01.2016 11:55, Dragomir Haralambiev wrote:
> Hi,
>
> I remove my Makefile.conf.
> When run " make menuconfig" I receive follow error:
>  make menuconfig
> make -C menuconfig
> make[1]: Entering directory `/root/opensips_head/menuconfig'
> gcc -o configure -g -m32 -O9 -funroll-loops -Wcast-align -Wall 
> -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott 
> -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls 
> -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   -m32 
> -Wl,-O2 -Wl,-E
> make[1]: Leaving directory `/root/opensips_head/menuconfig'
> ./menuconfig/configure --local
> make: *** [menuconfig] Segmentation fault
>
>
> Regards,
> Dragomir
>
> 2016-01-07 11:38 GMT+02:00 Răzvan Crainea <razvan at opensips.org 
> <mailto:razvan at opensips.org>>:
>
>     I've met this problem when updating to a newer version but not
>     updating the Makefile.conf. The simplest way to solve this is to
>     remove your Makefile.conf file and re-generate it using 'make
>     menuconfig'.
>
>     Best regards,
>
>     Răzvan Crainea
>     OpenSIPS Core Developer
>     http://www.opensips-solutions.com
>
>
>     On 01/07/2016 11:04 AM, Bogdan-Andrei Iancu wrote:
>
>         Hi Dragomir,
>
>         Do you have in your Makefile.conf any memory allocator
>         configured ( any
>         define like XX_MALLOC) ?
>
>         Regards,
>
>         Bogdan-Andrei Iancu
>         OpenSIPS Founder and Developer
>         http://www.opensips-solutions.com
>
>         On 07.01.2016 <tel:07.01.2016> 10:52, Dragomir Haralambiev wrote:
>
>             Hello,
>             When try to compile latest Opensips 2.2 I receive follow
>             error:
>
>             In file included from evi/../mem/mem.h:41,
>                              from evi/../lock_alloc.h:54,
>                              from evi/../locking.h:66,
>                              from evi/event_interface.h:31,
>                              from evi/evi_transport.c:26:
>             evi/../mem/common.h:44:4: error: #error "no memory
>             allocator selected"
>             In file included from evi/../lock_alloc.h:54,
>                              from evi/../locking.h:66,
>                              from evi/event_interface.h:31,
>                              from evi/evi_transport.c:26:
>             evi/../mem/mem.h:154:5: error: #error "no memory allocator
>             selected"
>             evi/../mem/mem.h:184:4: error: #error "no memory allocator
>             selected"
>             In file included from evi/../lock_alloc.h:55,
>                              from evi/../locking.h:66,
>                              from evi/event_interface.h:31,
>                              from evi/evi_transport.c:26:
>             evi/../mem/shm_mem.h:129:3: error: #error "no memory
>             allocator selected"
>             In file included from evi/../mem/mem.h:41,
>                              from evi/evi_params.c:27:
>             evi/../mem/common.h:44:4: error: #error "no memory
>             allocator selected"
>             In file included from evi/evi_params.c:27:
>             evi/../mem/mem.h:154:5: error: #error "no memory allocator
>             selected"
>             evi/../mem/mem.h:184:4: error: #error "no memory allocator
>             selected"
>             In file included from evi/../mem/mem.h:41,
>                              from evi/../lock_alloc.h:54,
>                              from evi/../locking.h:66,
>                              from evi/event_interface.h:31,
>                              from evi/evi_modules.h:30,
>                              from evi/evi_core.c:26:
>             evi/../mem/common.h:44:4: error: #error "no memory
>             allocator selected"
>             In file included from evi/../lock_alloc.h:54,
>                              from evi/../locking.h:66,
>                              from evi/event_interface.h:31,
>                              from evi/evi_modules.h:30,
>                              from evi/evi_core.c:26:
>             evi/../mem/mem.h:154:5: error: #error "no memory allocator
>             selected"
>             evi/../mem/mem.h:184:4: error: #error "no memory allocator
>             selected"
>             In file included from evi/../lock_alloc.h:55,
>                              from evi/../locking.h:66,
>                              from evi/event_interface.h:31,
>                              from evi/evi_modules.h:30,
>                              from evi/evi_core.c:26:
>             evi/../mem/shm_mem.h:129:3: error: #error "no memory
>             allocator selected"
>
>
>             Best regards,
>             Dragomir
>
>
>             _______________________________________________
>             Users mailing list
>             Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160107/ac52a8e3/attachment-0001.htm>


More information about the Users mailing list