You need to compile with the following options (at least it worked for me with Red hat Enterprise 4.0)
They are in the Makefile.defs
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
When -DDBG_QM_MALLOC was enabled I couldn't compile ser (it complained about incorrect arguments to f_malloc) but when I changed it to the above, everything compiled fine and mysql worked without the fm_malloc missing error.
Thanks
Tony
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Roger Lewau Sent: Thursday, May 26, 2005 8:35 AM To: 'Mike Tkachuk' Cc: serusers@lists.iptel.org Subject: SV: [Serusers] Cannot compile ser 0.9.0
Thank you Mike,
Now I can compile everything except mysql.so.. Tried to compile it manually in modules and got the mysql.so successfully, Copied it to /usr/local/lib/ser/modules
Ran ser -c and got the following message
0(40077) 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"
Seems something is not right with my mysql.so
-----Ursprungligt meddelande----- Från: Mike Tkachuk [mailto:mike@yes.net.ua] Skickat: den 26 maj 2005 12:35 Till: Roger Lewau Kopia: serusers@lists.iptel.org Ämne: Re: [Serusers] Cannot compile ser 0.9.0
Hello Roger,
You need to type gmake instead make.
Thursday, May 26, 2005 1:27:51 PM, you wrote:
RL> I downloaded the source for ser 0.9.0 but I am unsuccessfull to RL> make. All I get is this output: RL> RL> "Makefile.sources", line 17: Missing dependency operator RL> "Makefile.sources", line 19: Need an operator "Makefile", line 56: RL> Missing dependency operator Error expanding embedded variable.
RL> I am using FreeBSD 5.4 and I have both Bison and gmake installed. RL> RL> Anyone with a bright idea on what can be wrong? RL> RL> /roger
-- Mike Tkachuk
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers