I downloaded the source for ser 0.9.0 but I am unsuccessfull to make. All I get is this output:
"Makefile.sources", line 17: Missing dependency operator "Makefile.sources", line 19: Need an operator "Makefile", line 56: Missing dependency operator Error expanding embedded variable.
I am using FreeBSD 5.4 and I have both Bison and gmake installed.
Anyone with a bright idea on what can be wrong?
/roger
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 RL> to make. All I get is this output: RL> RL> "Makefile.sources", line 17: Missing dependency operator RL> "Makefile.sources", line 19: Need an operator RL> "Makefile", line 56: Missing dependency operator RL> 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
How have you got the ser-sources? download as an archive or from cvs?
i've got the ser-source from cvs under windows and i had problems with dos/unix file format.
On 5/26/05, Mike Tkachuk mike@yes.net.ua wrote:
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 RL> to make. All I get is this output: RL> RL> "Makefile.sources", line 17: Missing dependency operator RL> "Makefile.sources", line 19: Need an operator RL> "Makefile", line 56: Missing dependency operator RL> 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
Downloaded it as an archive directly to my FreeBSD server.. Problem was me not using gmake, but make.
-----Ursprungligt meddelande----- Från: Grigory Fishilevich [mailto:g.fishilevich@gmail.com] Skickat: den 26 maj 2005 13:54 Till: Mike Tkachuk Kopia: Roger Lewau; serusers@lists.iptel.org Ämne: Re: [Serusers] Cannot compile ser 0.9.0
How have you got the ser-sources? download as an archive or from cvs?
i've got the ser-source from cvs under windows and i had problems with dos/unix file format.
On 5/26/05, Mike Tkachuk mike@yes.net.ua wrote:
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 RL> 56: Missing dependency operator Error expanding embedded RL> 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
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
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