[Serusers] Compiling problems

Daniel-Constantin Mierla Daniel-Constantin.Mierla at fokus.fraunhofer.de
Thu Sep 25 11:27:14 CEST 2003


Hello,
comments inline.

On 9/25/2003 10:47 AM, giAndrea wrote:

> [...]
>
> I've done (make include_modules="mangler" modules) with last source 
> (1.11 2003/08/28 11:24:32), but this is the result
>
> make[1]: Entering directory `/root/sip_router/modules/mangler'
> gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall  
> -minline-all-stringops -malign-double -falign-loops -mcpu=athlon      
> -DNAME='"ser"' -DVERSION='"0.8.12dev-t16"' -DARCH='"i386"' 
> -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux 
> -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP 
> -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP_HACK -DUSE_IPV6 
> -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC  -DFAST_LOCK 
> -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
> -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -c mangler.c -o mangler.o
> mangler.c:66: redefinition of `module_version'
> mangler.c:53: `module_version' previously defined here
> make[1]: *** [mangler.o] Error 1
> make[1]: Leaving directory `/root/sip_router/modules/mangler' 

There was a duplicate define of a symbol, only in unstable branch.

>
> When i've used the release version of source this was the resoult of 
> /etc/init.d/ser start
>
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/mysql.so
> set 25 10:20:39 webby ser:  0(9022) ERROR: load_module: could not open 
> module </usr/local/lib/ser/modules/mysql.so>: 
> /usr/local/lib/ser/modules/mysql.so: undefined symbol: qm_free
> set 25 10:20:39 webby ser:  0(9022) parse error (32,13-49): failed to 
> load module
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/sl.so
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/tm.so
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/rr.so
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/maxfwd.so
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/usrloc.so
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/registrar.so
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/nathelper.so
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/textops.so
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/acc.so
> set 25 10:20:39 webby ser:  0(9022) loading module 
> /usr/local/lib/ser/modules/mangler.so
> set 25 10:20:39 webby ser:  0(9022) ERROR: no version info in module 
> </usr/local/lib/ser/modules/mangler.so>: /usr/sbin/ser: undefined 
> symbol: module_version
>
> How can I remove old version of ser for reinstall latest version?

It seems that you have installed ser from sources, so you can do into 
the newest sources directory:
make all
make install
make include_modules="mysql mangler" modules
make include_modules="mysql mangler" install

I think is better to delete, before doing the above commands, all files 
from '/usr/local/lib/ser/modules/' so you can be sure the newest version 
will be installed. Also, you can delete '/usr/local/sbin/ser'.

Just in case, if you have installed ser from binary packages check the 
manual of the package manager for your distribution, e;g;, for RPM based 
distribution you the command is 'rpm -e ser'.

Daniel

>
>
>
> bye. Andrea






More information about the sr-users mailing list