[OpenSIPS-Users] Compilation error in function restore_uri

Jeff Pyle jpyle at fidelityvoice.com
Mon May 24 06:06:10 CEST 2010


Hello,

I'm receiving the following error when trying to compile revision 6888 from the 1.6 trunk:

gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='"uac"'    -DNAME='"opensips"' -DVERSION='"1.6.2-notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC  -DSVNREVISION='"2:6888M"'  -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 -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c replace.c -o replace.o
replace.c: In function ‘restore_uri’:
replace.c:461: error: expected expression before ‘<<’ token
replace.c:468: error: expected expression before ‘==’ token
replace.c:475: error: expected expression before ‘>>’ token
make[1]: *** [replace.o] Error 1
make[1]: Leaving directory `/usr/local/src/opensips_1.6/modules/uac'
make: *** [modules] Error 2

Previously I compiled build 6617 with no issue.

Any thoughts?


Thanks,
Jeff


More information about the Users mailing list