The compilation didn't ended, but was aborted with error when compiling
"modules_k/h350".
Nothing wrong since no LDAP support is installed... _but_.... 'ldap'
module is listed on the "exclude_modules" at Makefile.
exclude_modules?= cpl mangler postgres jabber
mysql cpl-c \
auth_radius
uri_radius avp_radius \
acc_radius
dialog pa rls presence_b2b xcap xmlrpc\
osp tls oracle \
unixsock dbg
print_lib auth_identity ldap \
db_berkeley
db_postgres db_oracle \
db_unixodbc
memcached mi_xmlrpc \
nat_traversal
perlvdb seas siptrace \
uac_redirect
xmpp \
misc_radius
peering
Why is LDAP support being compiled? how to prevent such compilation?
Edson.
Edson - Lists escreveu:
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
[...]