[OpenSIPS-Users] Opensip on Solaris

Nathaniel L Keeling keeling at akan-tech.com
Tue Aug 14 21:18:28 CEST 2012


This is the line that I added: typedef uint32_t u_int32_t; and

Here is the complete output:

# make menuconfig
yacc -d -b cfg cfg.y
conflicts: 1 shift/reduce
flex cfg.lex
cd menuconfig; make ; cd -
make[1]: Entering directory 
`/usr/local/src/opensips/opensips_1_8/menuconfig'
gcc -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" 
-DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1   -c -o cfg.o 
cfg.c
gcc -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" 
-DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1   -c -o 
curses.o curses.c
curses.c: In function 'set_xy_size':
curses.c:60:2: warning: implicit declaration of function 'ioctl' 
[-Wimplicit-function-declaration]
gcc -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" 
-DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1   -c -o 
items.o items.c
gcc -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" 
-DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1   -c -o 
commands.o commands.c
commands.c: In function 'read_install_prefix':
commands.c:314:2: warning: implicit declaration of function 'getnstr' 
[-Wimplicit-function-declaration]
gcc -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" 
-DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1   -c -o 
menus.o menus.c
gcc -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" 
-DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1   -c -o 
parser.o parser.c
gcc -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" 
-DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1   -c -o 
main.o main.c
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 -lcurses
Undefined                       first referenced
  symbol                             in file
getnstr                             commands.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_8/menuconfig'
/bin/sh: -: does not exist
make: *** [comp_menuconfig] Error 1

Thanks

Nathaniel

On 8/14/2012 7:28 AM, Bogdan-Andrei Iancu wrote:
> Hi Nathaniel,
>
> Instead of u_int32_t it should be uint32_t ? this a newly added 
> module, so it may have Solaris compatibility issues.
>
> Regarding the linking error, the reference to getnstr() is the only 
> error you get ? or there are other missing symbols also reported ?
>
>
> Thanks and Regards,
> Bogdan
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
> On 08/13/2012 07:22 AM, Nathaniel L Keeling wrote:
>> Thanks, I do have an issue when I perform the install. I was able to 
>> get a successful compile with a change to sipcapture.h. It was 
>> getting an error with an "unknown type name u_int32_t" so I added the 
>> definition to the file. When I performed the install, it failed due 
>> to "undefined symbol, getnstr, in file commands.o" for menuconfig 
>> when trying to link (ld: fatal: Symbol referencing errors. No output 
>> written to configure)
>>
>> Thanks
>>
>> Nathaniel
>>
>>
>> On 8/12/2012 6:06 AM, Bogdan-Andrei Iancu wrote:
>>> Hi Nathaniel,
>>>
>>> I know several people / company successfully running OpenSIPS on 
>>> SPARC with Solaris - this is a supported arch / distro. By any 
>>> chance, if you have issues, let me know.
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developer
>>> http://www.opensips-solutions.com
>>>
>>>
>>> On 08/10/2012 06:53 AM, Nathaniel L Keeling wrote:
>>>> Hello,
>>>>
>>>> I would like to know if anybody has successfully ran Opensip on 
>>>> Solaris Sparc 64bit environment. We are a Solaris Sparc shop and 
>>>> would like to start providing VoIP services using open source 
>>>> software.
>>>>
>>>> Thanks
>>>>
>>>> Nathaniel
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>
>>>
>>>
>>> -----
>>> No virus found in this message.
>>> Checked by AVG - www.avg.com
>>> Version: 2012.0.2197 / Virus Database: 2437/5194 - Release Date: 
>>> 08/11/12
>>>
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2197 / Virus Database: 2437/5197 - Release Date: 08/13/12
>
>




More information about the Users mailing list