[Serusers] Error loading mysql module - undefined symbol fm_malloc

Greger V. Teigre greger at teigre.com
Sun May 29 09:40:11 CEST 2005


Looks like you have compiled with a memory alloc function not available. 
Check your Makefile.defs file. There are many different options. Look at 
this section:
DEFS+= $(extra_defs) \
         -DNAME='"$(MAIN_NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' 
\
         -DOS='"$(OS)"' -DCOMPILER='"$(CC_VER)"' -D__CPU_$(ARCH) -D__OS_$(OS) 
\
         -DCFG_DIR='"$(cfg-target)"'\
         -DPKG_MALLOC \
         -DSHM_MEM  -DSHM_MMAP \
         -DDNS_IP_HACK \
         -DUSE_IPV6 \
         -DUSE_MCAST \
         -DUSE_TCP \
         -DDISABLE_NAGLE \
         -DDBG_QM_MALLOC \
         -DF_MALLOC \
         #-DDBG_F_MALLOC \
         #-DNO_DEBUG \
         #-DNO_LOG \
         #-DVQ_MALLOC  \
         #-DCONTACT_BUG \
         #-DDBG_LOCK \
         #-DNOSMP \
         #-DEXTRA_DEBUG \
         #-DUSE_SHM_MEM \
         #-DSTATS \
         #-DNO_LOG

You can comment out F_MALLOC
g-)

a c wrote:
> hello,
>
> having some problems loading the mysql module. I am
> using the latest dev release. couldn't find much help
> in the archieves..
>
> ser -cf ser.mysql.cfg
> 0(1439) ERROR: load_module: could not open module
> </usr/local/lib/ser/modules/mysql.so>:
> /usr/local/lib/ser/modules/mysql.so: undefined symbol:
> fm_malloc
> 0(1439) parse error (15,13-14): failed to load module
> ERROR: bad config file (1 errors)
>
>
> ----------------config------------------
> debug=3
> fork=yes
> log_stderror=no
>
> listen=192.168.0.5
> port=5060
> children=4
>
> dns=no
> rev_dns=no
>
> fifo="/tmp/ser_fifo"
> fifo_db_url="mysql://ser:heslo@localhost/ser"
>
> loadmodule "/usr/local/lib/ser/modules/mysql.so"
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers 




More information about the sr-users mailing list