[Serusers] Compiling problems

giAndrea andrea at giandrea.com
Thu Sep 25 10:47:10 CEST 2003


At 17.09 24/09/2003 +0200, Daniel-Constantin Mierla wrote:

>On 9/24/2003 5:02 PM, giAndrea wrote:
>
>>At 16.51 23/09/2003 +0200, you wrote:
>>
>>
>>>On 9/23/2003 4:37 PM, giAndrea wrote:
>>>
>>>>At 15.53 23/09/2003 +0200, you wrote:
>>>>
>>>>>[...]
>>>>>
>>>>>>
>>>>>>i have problems with mangler.so module. there are some modules not 
>>>>>>included in make clean (ex. mangler), why?
>>>>>>I've compiled with make include_modules="mangler" modules;
>>>>>>when i use make prefix=/usr/local install why mangler.so not appear 
>>>>>>in /usr/local/lib/ser/modules?
>>>>>
>>>>>
>>>>>
>>>>>try: make prefix=/usr/local include_modules="mangler" install
>>>>>
>>>>>Daniel
>>>>
>>>>
>>>>
>>>>ok. But, when i include mangler.so on my ser.cfg with loadmodule 
>>>>"/usr/lib/ser/modules/mangler.so" ser don't works. If i comment this 
>>>>row ser works.
>>>
>>>Shouldn't it be in '/usr/local/lib/ser/modules' not in 
>>>'/usr/lib/ser/modules'? The log messages would be very helpfully if the 
>>>path to module is not the problem.
>>
>>
>>Sorry, the log message is
>>
>>ERROR: no version info in module </usr/lib/ser/modules/mangler.so>: 
>>/usr/sbin/ser: undefined symbol: module_version
>
>Download the latest CVS version of the module -- that missing was fixed 
>couple days ago (http://www.iptel.org/ser/cvs provides some guidelines 
>about how to get it).
>
>Daniel


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'




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 lastest version?


bye. Andrea 




More information about the sr-users mailing list