[OpenSIPS-Users] Error on make menuconfig

Nathaniel L Keeling III keeling at akan-tech.com
Tue Jan 21 09:19:39 CET 2014


Hello,

I currently have versions 5.9 rev=2011.11.21 of libncurses development 
installed. I also, just for experimentation, changed the Makefile for 
menuconfig to -lcurses and tried to compiled. This changed allowed 
menuconfig to compile and display the menu but when I tried to compile 
opensips this is the error that I get:

gcc -g -Wall 
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\" 
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\" 
-DMENUCONFIG_HAVE_SOURCES=0    -c -o items.o items.c
gcc -g -Wall 
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\" 
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\" 
-DMENUCONFIG_HAVE_SOURCES=0    -c -o commands.o commands.c
gcc -g -Wall 
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\" 
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\" 
-DMENUCONFIG_HAVE_SOURCES=0    -c -o menus.o menus.c
gcc -g -Wall 
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\" 
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\" 
-DMENUCONFIG_HAVE_SOURCES=0    -c -o parser.o parser.c
gcc -g -Wall 
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\" 
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\" 
-DMENUCONFIG_HAVE_SOURCES=0    -c -o main.o main.c
gcc -o configure -g -Wall 
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\" 
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\" 
-DMENUCONFIG_HAVE_SOURCES=0  cfg.o curses.o items.o commands.o menus.o 
parser.o main.o -lcurses
make[2]: Leaving directory 
`/usr/local/src/opensips/opensips_1_10/menuconfig'
mkdir -p /opt/opensips.1.10//opensips//menuconfig_templates/
touch           menuconfig/configs/* 
/opt/opensips.1.10//opensips//menuconfig_templates/
ginstall -m 644 menuconfig/configs/* 
/opt/opensips.1.10//opensips//menuconfig_templates/
sed -i -e "s#/usr/local/lib/opensips#lib64/opensips#" \
         /opt/opensips.1.10//opensips//menuconfig_templates/*
sed: illegal option -- i
make[1]: *** [opensipsmc] Error 2
make[1]: Leaving directory `/usr/local/src/opensips/opensips_1_10'


Thanks

Nathaniel

On 1/16/14, 4:59 AM, Vlad Paiu wrote:
> Hello,
>
> Seems to be a linking error.
>
> Do you have libncurses dev library installed on that Solaris machine, 
> or just libcurses dev library ?
> 1.10 has the old libcurses replaced with libncurses - previously 
> libcurses was just a sym link to libncurses but some newer OSs started 
> to remove the libcurses link and just present the libncurses so.
>
> Best Regards,
> Vlad Paiu
> OpenSIPS Developer
> http://www.opensips-solutions.com  
> On 16.01.2014 07:54, Nathaniel L Keeling III wrote:
>> Hello,
>>
>> I am trying to upgrade to Opensips 1.10 on Solaris 10. I download the 
>> git source and ran the "make menuconfig" command and got this error. 
>> I had no problems with Opensips 1.8 when I ran "make menuconfig".
>>
>> make[1]: Entering directory 
>> `/usr/local/src/opensips/opensips_1_10/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
>> Undefined                       first referenced
>>  symbol                             in file
>> initscr32                           main.o
>> w32attron                           curses.o
>> w32attroff                          curses.o
>> ld: fatal: Symbol referencing errors. No output written to configure
>> make[1]: *** [all] Error 1
>> make[1]: Leaving directory 
>> `/usr/local/src/opensips/opensips_1_10/menuconfig'
>> ./menuconfig/configure --local
>> make: ./menuconfig/configure: Command not found
>> make: *** [menuconfig] Error 127
>>
>>
>> Thanks
>>
>> Nathaniel
>>
>>
>> _______________________________________________
>> Users mailing list
>> 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/20140121/39bb4792/attachment.htm>


More information about the Users mailing list