Just downloaded SR from repository and try to compile it on a OpenSUSE 11.1 VM machine. Not lucky....
No matter if I try 'make', 'make all' or 'make install'. Even 'make dist-clean' gives the same.
The output is:
Kamailio-151:~/sr/sip-router # make config.mak loaded Makefile.defs defs skipped /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 Linux)"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DUSE_SCTP >>makecfg.lst' make: *** No rule to make target `makecfg.lst', needed by `action.o'. Stop. Kamailio-151:~/sr/sip-router #
Edson.
On May 28, 2009 at 17:38, Edson Gellert Schubert egschubert@gmail.com wrote:
Just downloaded SR from repository and try to compile it on a OpenSUSE 11.1 VM machine. Not lucky....
No matter if I try 'make', 'make all' or 'make install'. Even 'make dist-clean' gives the same.
The output is:
Kamailio-151:~/sr/sip-router # make config.mak loaded Makefile.defs defs skipped /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 Linux)"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DUSE_SCTP >>makecfg.lst' make: *** No rule to make target `makecfg.lst', needed by `action.o'. Stop. Kamailio-151:~/sr/sip-router #
It looks like the gcc version detection fails (-DCOMPILER='"gcc Linux)"'). Could you send me the output of gcc --version ?
Andrei
Hi, Andrei...
As You asked for: # gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Edson.
Andrei Pelinescu-Onciul escreveu:
On May 28, 2009 at 17:38, Edson Gellert Schubert egschubert@gmail.com wrote:
Just downloaded SR from repository and try to compile it on a OpenSUSE 11.1 VM machine. Not lucky....
No matter if I try 'make', 'make all' or 'make install'. Even 'make dist-clean' gives the same.
The output is:
Kamailio-151:~/sr/sip-router # make config.mak loaded Makefile.defs defs skipped /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 Linux)"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DUSE_SCTP >>makecfg.lst' make: *** No rule to make target `makecfg.lst', needed by `action.o'. Stop. Kamailio-151:~/sr/sip-router #
It looks like the gcc version detection fails (-DCOMPILER='"gcc Linux)"'). Could you send me the output of gcc --version ?
Andrei
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
On May 29, 2009 at 10:12, Edson - Lists 4lists@gmail.com wrote:
Hi, Andrei...
As You asked for: # gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Thanks, it should be fixed now.
Andrei [...]
Sorry, Andrei, but it doesn't seem to be resolved.... :( yet... ;)
Kamailio-151:~/sr/sip-router # git pull remote: Counting objects: 62, done. remote: Compressing objects: 100% (62/62), done. remote: Total 62 (delta 22), reused 0 (delta 0) Unpacking objects: 100% (62/62), done. From git://git.sip-router.org/sip-router d4fc232..42b8c97 master -> origin/master Updating d4fc232..42b8c97 Fast forward Makefile.defs | 11 +++- cfg.lex | 2 +- cfg.y | 6 ++ modules/auth_radius/Makefile | 5 +- modules/misc_radius/Makefile | 9 +-- modules/peering/Makefile | 5 +- modules/tls/tls_config.c | 1 - modules/tm/h_table.h | 1 + modules/tm/t_fwd.c | 6 ++ modules_k/acc/Makefile | 4 +- modules_k/kex/core_stats.c | 73 +++++++++++++++++++++- modules_k/uac_redirect/rd_funcs.c | 17 ++++- rpc_lookup.c | 4 +- sr_module.c | 124 +++++++++++++++++++++++++------------ statistics.h | 4 - test/gcc_versions.txt | 6 ++- 16 files changed, 207 insertions(+), 71 deletions(-) Kamailio-151:~/sr/sip-router # vi Makefile Kamailio-151:~/sr/sip-router # make all config.mak loaded Makefile.defs defs skipped make -wC . cfg-defs normal Makefile.defs exec /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `gcc - --version|head -n 1| |sed -e 's/([^)]*' make[1]: Entering directory `/root/sr/sip-router' Makefile.defs:697: You are using an old and unsupported gcc version (//g'), compile at your own risk! 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 Linux)"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DUSE_SCTP >>makecfg.lst' config.mak loaded Makefile.defs defs skipped /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 's/^.*([0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*).*/\1/' -e 's/^[^0-9].*([0-9][0-9]*.[0-9][0-9]*).*/\1/')"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT >>makecfg.lst' make: *** No rule to make target `makecfg.lst', needed by `action.o'. Stop. Kamailio-151:~/sr/sip-router #
Edson.
Andrei Pelinescu-Onciul escreveu:
On May 29, 2009 at 10:12, Edson - Lists 4lists@gmail.com wrote:
Hi, Andrei...
As You asked for: # gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Thanks, it should be fixed now.
Andrei [...]
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 's/^.*([0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*).*/\1/' -e 's/^[^0-9].*([0-9][0-9]*.[0-9][0-9]*).*/\1/')"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT >>makecfg.lst' config.mak loaded Makefile.defs defs skipped bison -d -b cfg cfg.y cfg.y: conflicts: 4 shift/reduce flex cfg.lex
and it go on with compilation.... not ended yet, but so far, so good.
Edson.
Edson - Lists escreveu:
Sorry, Andrei, but it doesn't seem to be resolved.... :( yet... ;)
Kamailio-151:~/sr/sip-router # git pull remote: Counting objects: 62, done. remote: Compressing objects: 100% (62/62), done. remote: Total 62 (delta 22), reused 0 (delta 0) Unpacking objects: 100% (62/62), done. From git://git.sip-router.org/sip-router d4fc232..42b8c97 master -> origin/master Updating d4fc232..42b8c97 Fast forward Makefile.defs | 11 +++- cfg.lex | 2 +- cfg.y | 6 ++ modules/auth_radius/Makefile | 5 +- modules/misc_radius/Makefile | 9 +-- modules/peering/Makefile | 5 +- modules/tls/tls_config.c | 1 - modules/tm/h_table.h | 1 + modules/tm/t_fwd.c | 6 ++ modules_k/acc/Makefile | 4 +- modules_k/kex/core_stats.c | 73 +++++++++++++++++++++- modules_k/uac_redirect/rd_funcs.c | 17 ++++- rpc_lookup.c | 4 +- sr_module.c | 124 +++++++++++++++++++++++++------------ statistics.h | 4 - test/gcc_versions.txt | 6 ++- 16 files changed, 207 insertions(+), 71 deletions(-) Kamailio-151:~/sr/sip-router # vi Makefile Kamailio-151:~/sr/sip-router # make all config.mak loaded Makefile.defs defs skipped make -wC . cfg-defs normal Makefile.defs exec /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `gcc - --version|head -n 1| |sed -e 's/([^)]*' make[1]: Entering directory `/root/sr/sip-router' Makefile.defs:697: You are using an old and unsupported gcc version (//g'), compile at your own risk! 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 Linux)"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DUSE_SCTP
makecfg.lst'
config.mak loaded Makefile.defs defs skipped /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 's/^.*([0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*).*/\1/' -e 's/^[^0-9].*([0-9][0-9]*.[0-9][0-9]*).*/\1/')"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT >>makecfg.lst' make: *** No rule to make target `makecfg.lst', needed by `action.o'. Stop. Kamailio-151:~/sr/sip-router #
Edson.
Andrei Pelinescu-Onciul escreveu:
On May 29, 2009 at 10:12, Edson - Lists 4lists@gmail.com wrote:
Hi, Andrei...
As You asked for: # gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Thanks, it should be fixed now.
Andrei [...]
On May 29, 2009 at 14:23, Edson - Lists 4lists@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
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@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
On Jun 01, 2009 at 11:34, Edson - Lists 4lists@gmail.com wrote:
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"'
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Now it looks ok.
Could you try compiling everything (make all 2>/tmp/log) and see it you get any errors (check /tmp/log)? If you do please send /tmp/log to me as well as config.mak.
Kamailio-151:~/sr/sip-router #
Edson. P.S.: I can arm a VM for this tests... Would You like to have access to it?
Thanks, if you still get compilation errors, that will help.
Andrei
Hi, Andrei...
Updated to the last GIT version and recompile with the default Makefile...
Compilation started ok... messages from Makefile don't appear...
But, as I already reported, it try to compile LDAP support (h350 module). This module is on the exclude list. Any idea why is it being compiled? It stops with error, since I don't have LDAP support... ;)
Edson.
Andrei Pelinescu-Onciul escreveu:
On Jun 01, 2009 at 11:34, Edson - Lists 4lists@gmail.com wrote:
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"'
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Now it looks ok.
Could you try compiling everything (make all 2>/tmp/log) and see it you get any errors (check /tmp/log)? If you do please send /tmp/log to me as well as config.mak.
Kamailio-151:~/sr/sip-router #
Edson. P.S.: I can arm a VM for this tests... Would You like to have access to it?
Thanks, if you still get compilation errors, that will help.
Andrei