Sorry if somebody has made the same question.
Could somebody send me the procedure to apply the "replace_from.patch" to the uac module in order I can compile it?
I'm using ser 0.9.3
Regards
Alberto Cruz
When I make install I'm receiving the following errors: make[1]: Entering directory `/root/sip_router/modules/uac' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -c auth.c -o auth.o auth.c: In function `get_autenticate_hdr': auth.c:225: error: `HDR_EOH_F' undeclared (first use in this function) auth.c:225: error: (Each undeclared identifier is reported only once auth.c:225: error: for each function it appears in.) auth.c:232: error: `HDR_OTHER_T' undeclared (first use in this function) auth.c: In function `apply_urihdr_changes': auth.c:297: error: `HDR_EOH_F' undeclared (first use in this function) make[1]: *** [auth.o] Error 1 make[1]: Leaving directory `/root/sip_router/modules/uac'
Regards
Alberto Cruz
Alberto Cruz wrote:
Sorry if somebody has made the same question.
Could somebody send me the procedure to apply the "replace_from.patch" to the uac module in order I can compile it?
I'm using ser 0.9.3
Regards
Alberto Cruz
On Jun 28, 2005 at 16:24, Alberto Cruz acruz@tekbrain.com wrote:
When I make install I'm receiving the following errors: make[1]: Entering directory `/root/sip_router/modules/uac' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -c auth.c -o auth.o auth.c: In function `get_autenticate_hdr': auth.c:225: error: `HDR_EOH_F' undeclared (first use in this function)
Looks like you are trying to use uac from unstable. You need to backport it first to stable (it should be pretty easy).
Andrei
Thanks Andrei. I don't know how to do this. Could you give some link to a document or something like that?
Regards
Alberto Cruz
Andrei Pelinescu-Onciul wrote:
On Jun 28, 2005 at 16:24, Alberto Cruz acruz@tekbrain.com wrote:
When I make install I'm receiving the following errors: make[1]: Entering directory `/root/sip_router/modules/uac' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -c auth.c -o auth.o auth.c: In function `get_autenticate_hdr': auth.c:225: error: `HDR_EOH_F' undeclared (first use in this function)
Looks like you are trying to use uac from unstable. You need to backport it first to stable (it should be pretty easy).
Andrei
On Jun 28, 2005 at 18:26, Alberto Cruz acruz@tekbrain.com wrote:
Thanks Andrei. I don't know how to do this. Could you give some link to a document or something like that?
Try the attached patch (cd modules/uac; patch -p0 <uac_unstable_stable.patch).
This will make it compile (note however that I haven't tested it, you might have some other problems).
Andrei