Hi Andrei,
I tried building with what u suggested , but this also did not help ......
the SER module builds o.k ...but other modules are not able to resolve some
symbols .....
Here is the output :
gmake[1]: Entering directory `/home/jitender/sip_router/modules/acc'
gmake[1]: Leaving directory `/home/jitender/sip_router/modules/acc'
gmake[1]: Entering directory `/home/jitender/sip_router/modules/acc'
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-DNAM
E='"ser"' -DVERSION='"0.8.11rc3"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER
='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris
-DCFG_DIR='"/etc/ser/"'
-DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DDNS_IP_HACK
-DFAST_LOCK -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
-c ac
c.c -o acc.o
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-DNAM
E='"ser"' -DVERSION='"0.8.11rc3"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER
='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris
-DCFG_DIR='"/etc/ser/"'
-DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DDNS_IP_HACK
-DFAST_LOCK -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
-c ac
c_mod.c -o acc_mod.o
gcc acc.o acc_mod.o -o acc.so
Undefined first referenced
symbol in file
dprint acc.o
parse_uri acc.o
get_authorized_cred acc.o
mem_block acc.o
isflagset acc_mod.o
parse_headers acc_mod.o
resetflag acc_mod.o
parse_from_header acc_mod.o
get_reply_status acc.o
main
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/
3.3/crt1.o
parse_orig_ruri acc_mod.o
log_stderr acc.o
qm_malloc acc.o
find_export acc_mod.o
qm_free acc.o
debug acc.o
ld: fatal: Symbol referencing errors. No output written to acc.so
collect2: ld returned 1 exit status
gmake[1]: *** [acc.so] Error 1
gmake[1]: Leaving directory `/home/jitender/sip_router/modules/acc'
gmake[1]: Entering directory `/home/jitender/sip_router/modules/auth'
gmake[1]: Leaving directory `/home/jitender/sip_router/modules/auth'
gmake[1]: Entering directory `/home/jitender/sip_router/modules/auth'
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-DNAM
E='"ser"' -DVERSION='"0.8.11rc3"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER
='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris
-DCFG_DIR='"/etc/ser/"'
-DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DDNS_IP_HACK
-DFAST_LOCK -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
-c ap
i.c -o api.o
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-DNAM
E='"ser"' -DVERSION='"0.8.11rc3"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER
='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris
-DCFG_DIR='"/etc/ser/"'
-DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DDNS_IP_HACK
-DFAST_LOCK -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
-c au
th_mod.c -o auth_mod.o
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-DNAM
E='"ser"' -DVERSION='"0.8.11rc3"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER
='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris
-DCFG_DIR='"/etc/ser/"'
-DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DDNS_IP_HACK
-DFAST_LOCK -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
-c ch
allenge.c -o challenge.o
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-DNAM
E='"ser"' -DVERSION='"0.8.11rc3"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER
='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris
-DCFG_DIR='"/etc/ser/"'
-DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DDNS_IP_HACK
-DFAST_LOCK -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
-c co
mmon.c -o common.o
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-DNAM
E='"ser"' -DVERSION='"0.8.11rc3"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER
='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris
-DCFG_DIR='"/etc/ser/"'
-DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DDNS_IP_HACK
-DFAST_LOCK -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
-c no
nce.c -o nonce.o
gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
-DNAM
E='"ser"' -DVERSION='"0.8.11rc3"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER
='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris
-DCFG_DIR='"/etc/ser/"'
-DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DDNS_IP_HACK
-DFAST_LOCK -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
-c rp
id.c -o rpid.o
gcc api.o auth_mod.o challenge.o common.o nonce.o rpid.o -o auth.so
Undefined first referenced
symbol in file
insert_new_lump_before rpid.o
dprint api.o
parse_uri common.o
check_dig_cred api.o
parse_to rpid.o
parse_credentials api.o
build_lump_rpl common.o
get_authorized_cred challenge.o
mem_block auth_mod.o
MD5Update nonce.o
add_lump_rpl common.o
anchor_lump rpid.o
parse_headers api.o
MD5Final nonce.o
parse_from_header common.o
mark_authorized_cred api.o
main
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/
3.3/crt1.o
log_stderr api.o
del_lump challenge.o
qm_malloc auth_mod.o
find_export auth_mod.o
qm_free auth_mod.o
debug api.o
MD5Init nonce.o
ld: fatal: Symbol referencing errors. No output written to auth.so
collect2: ld returned 1 exit status
gmake[1]: *** [auth.so] Error 1
gmake[1]: Leaving directory `/home/jitender/sip_router/modules/auth'
Thanks ,
Jitender
-----Original Message-----
From: Andrei Pelinescu-Onciul
[mailto:pelinescu-onciul@fokus.fraunhofer.de]
Sent: Friday, August 22, 2003 10:11 AM
To: Jitender Arora
Cc: 'serusers(a)lists.iptel.org'
Subject: Re: [Serusers] Latest STABLE build without using CVS
On Aug 22, 2003 at 09:25, Jitender Arora <jarora(a)aastra.com> wrote:
Thanks ...
I have Sun,Ultra2 Machine.....
Here is the version Info
home/jitender % version
Machine hardware: sun4u
OS version: 5.7
Processor type: sparc
Hardware: SUNW,Ultra-2
Please send me also the output of uname -s and uname -m (uname -m should
return sun4u, but it seems it doesn't).
Now the SER is build o.k , but i am not able to build other modules as
during the Linking Time , i get some errors ,
that it is not able to find some symbos , which are being used
This are all symbols from ser. The modules link flags are bad.
Try adding ARCH=sparc64 & OS=solaris. If you still have problems, send
me the compilation output (I want to see the "linking line" especially,
the last gcc line when compiling a module).
You can try just:
gmake ARCH=sparc64 OS=solaris modules=modules/textops modules
-- to test-compile just one module; if it works recompile the whole ser
this way:
gmake proper; gmake ARCH=sparc64 OS=solaris all
and drop me an email.
Andrei