[SR-Users] Symbol referencing errors (building ser-2.99.99-pre3_src_2009-12-03_ca351a on Solaris)
Andrei Pelinescu-Onciul
andrei at iptel.org
Fri Dec 4 16:03:32 CET 2009
On Dec 03, 2009 at 19:17, Bruce McAlister <bruce.mcalister at blueface.ie> wrote:
> Hi All,
>
> When attempting to build SIPRouter version
> ser-2.99.99-pre3_src_2009-12-03_ca351a on Solaris 10 I am presented with
> the following error:
[...]
>
> /usr/sfw/bin/gcc -m32 -O2 parse_listen_id.o sercmd.o -o sercmd
> Undefined first referenced
> symbol in file
> bind sercmd.o
> getservbyname parse_listen_id.o
> gethostbyname sercmd.o
> socket sercmd.o
> connect sercmd.o
> ld: fatal: Symbol referencing errors. No output written to sercmd
> collect2: ld returned 1 exit status
Hmmm, that's strange. It works for me on opensolaris 2009.06.
[...]
>
> Here are the steps that I have followed to get to this point:
>
> [1] make prefix=/opt/kamailio
> [2] make prefix=/opt/kamailio 'include_modules=db_unixodbc db_postgres
> cpl-c snmpstats' modules
> [3] make basedir=/var/tmp/pkgbuild-user/SIPRouter-2.99.99-pre3-build
> prefix=/opt/kamailio 'include_modules=db_unixodbc db_postgres cpl-c
> snmpstats' install
>
> The above error I receive is during the last step ([3]), the
> installation phase of SIPRouter.
>
> I'm not sure where to go from here, although it looks like it may be a
> resolver library that is not included along the line. Any help would be
> appreciated.
Yes, it's the resolver library.
>
> If you need any further information, please dont hesitate to ask.
Could you send me config.mak ? (it should be in the sip-router
directory).
If you try building only sercmd (cd utils/sercmd ; make ) , does it
work?
Andrei
More information about the sr-users
mailing list