[SR-Users] Symbol referencing errors (building ser-2.99.99-pre3_src_2009-12-03_ca351a on Solaris)

Bruce McAlister bruce.mcalister at blueface.ie
Thu Dec 3 19:17:50 CET 2009


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:

----
config.mak included
make[1]: Entering directory
`/export/home/user/packages/BUILD/ser-2.99.99-pre3/modules/ctl'
Makefile.defs defs skipped
make[2]: Entering directory
`/export/home/user/packages/BUILD/ser-2.99.99-pre3/utils/sercmd'
make[2]: Leaving directory
`/export/home/user/packages/BUILD/ser-2.99.99-pre3/utils/sercmd'
Makefile.defs defs skipped
make[2]: Entering directory
`/export/home/user/packages/BUILD/ser-2.99.99-pre3/utils/sercmd'
/usr/sfw/bin/gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -m32
-minline-all-stringops -falign-loops -mtune=athlon -Wall
-DNAME='"sercmd"' -DVERSION='"0.2"'  -DMOD_NAME="utils/sercmd" -c
parse_listen_id.c -o parse_listen_id.o
/usr/sfw/bin/gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -m32
-minline-all-stringops -falign-loops -mtune=athlon -Wall
-DNAME='"sercmd"' -DVERSION='"0.2"'  -DMOD_NAME="utils/sercmd" -c
sercmd.c -o sercmd.o
/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
make[2]: *** [sercmd] Error 1
make[2]: Leaving directory
`/export/home/user/packages/BUILD/ser-2.99.99-pre3/utils/sercmd'
ERROR: make -C ../../utils/sercmd install-if-newer failed
make[1]: *** [install-utils] Error 1
make[1]: Leaving directory
`/export/home/user/packages/BUILD/ser-2.99.99-pre3/modules/ctl'
make: *** [install-modules] Error 1
----

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.

If you need any further information, please dont hesitate to ask.

Thanks
Bruce




More information about the sr-users mailing list