[Serusers] Error loading mysql module - undefined symbol fm_malloc
a c
lra101 at yahoo.com
Sun May 29 17:19:52 CEST 2005
and
# make prefix=/usr/local install
Makefile.defs:460: Old gcc detected (2.9x), use gcc
>= 3.1 for better results
--- a c <lra101 at yahoo.com> wrote:
> I don't see any errors but could the gcc version
> make
> a difference?
>
> %gcc -v
> Reading specs from
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> gcc version 2.96 20000731 (Red Hat Linux 7.1
> 2.96-81)
>
>
> --- "Greger V. Teigre" <greger at teigre.com> wrote:
>
> > I would check one more time and make sure that
> > compilation and linking give
> > no errors/warnings...
> > g-)
> >
> > a c wrote:
> > > hello Greger,
> > >
> > > seems like it is already commented out..hmm
> > >
> > >
> > > 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
> > >
> > >
> > > --- "Greger V. Teigre" <greger at teigre.com>
> wrote:
> > >
> > >> 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
> > >>
> > >>
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Small Business - Try our new Resources
> site
> > > http://smallbusiness.yahoo.com/resources/
> >
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new Resources site
> http://smallbusiness.yahoo.com/resources/
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the sr-users
mailing list