Here comes the required output:
Kamailio-151:~/sr/sip-router # grep -n RPAREN Makefile.defs
287: RPAREN=)
289: sed -e 's/([^$(RPAREN)]*)//g' \
Kamailio-151:~/sr/sip-router #
Kamailio-151:~/sr/sip-router # make cfg-defs; egrep -o --
"-DCOMPILER='[^']*'" config.mak
normal Makefile.defs exec
making config...
-DCOMPILER='"gcc 4.3.2"'
Kamailio-151:~/sr/sip-router #
Edson.
P.S.: I can arm a VM for this tests... Would You like to have access
to it?
Andrei Pelinescu-Onciul escreveu:
On May 29, 2009 at 14:23, Edson - Lists
<4lists(a)gmail.com> wrote:
Just updating, after last Andrei's correction
after Jan's complain:
# git pull
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 10 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (10/10), done.
From
git://git.sip-router.org/sip-router
42b8c97..6b9d28e master -> origin/master
Updating 42b8c97..6b9d28e
Fast forward
Makefile.defs | 5 +++--
modules_k/kex/kex_mod.c | 6 ++++++
modules_k/kex/km_core.c | 30 ++++++++++++++++++++++++++++++
modules_k/kex/km_core.h | 3 +++
4 files changed, 42 insertions(+), 2 deletions(-)
Kamailio-151:~/sr/sip-router # make all
config.mak loaded
Makefile.defs defs skipped
make -wC . cfg-defs
normal Makefile.defs exec
make[1]: Entering directory `/root/sr/sip-router'
making config...
make[1]: Leaving directory `/root/sr/sip-router'
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `echo CFG_DEFS:= -DNAME=\'\"ser\"\'
-DVERSION=\'\"2.1.0-dev23-make\"\'
-DARCH=\'\"i386\"\' -DOS=\'linux_\'
-DOS_QUOTED=\'\"linux\"\' -DCOMPILER=\'\"gcc //g\' -e
^^^^^^^^^^^^^^^^^^^^^^^^^^^
if you get this, there is still a bug.
It's quite strange, I cannot reproduce it (I made a wrapper over gcc,
that returns the same version as your Suse gcc and it works for me).
Could you run and send me the ouptut of the following commands:
grep -n RPAREN Makefile.defs
make cfg-defs; egrep -o -- "-DCOMPILER='[^']*'" config.mak
[...]
Thanks,
Andrei