could it be possible that the compiler detection fix broke something, because i can't anymore build my debian package:
Makefile:365: "make TLS option is obsoleted, try TLS_HOOKS or CORE_TLS" /bin/sh: -c: line 0: syntax error near unexpected token `)' /bin/sh: -c: line 0: `echo CFG_DEFS:= -DNAME='"sip-router"' -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='"/etc/sip-router"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DF_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[1]: *** No rule to make target `makecfg.lst', needed by `action.o'. Stop.
-- juha
El Viernes, 29 de Mayo de 2009, Juha Heinanen escribió:
/bin/sh: -c: line 0: `echo CFG_DEFS:= -DNAME='"sip-router"' -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='"/etc/sip-router"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DF_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'
There is a bug in this line, there are two "(" and three ")".
El Viernes, 29 de Mayo de 2009, Iñaki Baz Castillo escribió:
El Viernes, 29 de Mayo de 2009, Juha Heinanen escribió:
/bin/sh: -c: line 0: `echo CFG_DEFS:= -DNAME='"sip-router"' -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='"/etc/sip-router"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DF_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'
There is a bug in this line, there are two "(" and three ")".
Try to delete the last ")", it's wrong.
Iñaki Baz Castillo writes:
Try to delete the last ")", it's wrong.
i tried that and now i get
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/([^)]*'
is it only me? this is driving my crazy.
-- juha
On May 29, 2009 at 19:35, Juha Heinanen jh@tutpro.com wrote:
I?aki Baz Castillo writes:
Try to delete the last ")", it's wrong.
i tried that and now i get
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/([^)]*'
is it only me? this is driving my crazy.
The problem is with make matching ')' even if they are inside ''. I tested the change from the shell, where it worked perfectly, but I forgot to retest it after pasting it in the makefile :-(.
It should be fixed now.
Andrei