Hi,

I am trying to compile sprout as per the instructions given in below link,

https://github.com/Metaswitch/sprout/blob/master/docs/Development.md

But I am getting error as follows,

===================================================================

cp -r --preserve=timestamps
/home/hrishikesh/Hrishikesh/sprout/build/module-install/usr/
/home/hrishikesh/Hrishikesh/sprout/usr/
make -C /home/hrishikesh/Hrishikesh/sprout/src
make[1]: Entering directory '/home/hrishikesh/Hrishikesh/sprout/src'
g++   -MMD -MP -O2 -ggdb3 -std=c++11 -Wall -Werror -Wno-write-strings
-I../include -I../modules/cpp-common/include
-I../modules/app-servers/include -I../usr/include
-I../modules/rapidjson/include `PKG_CONFIG_PATH=../usr/lib/pkgconfig
pkg-config --cflags libpjproject`  -c ../modules/cpp-common/src/logger.cpp
-o ../build/sprout/logger.o
g++   -MMD -MP -O2 -ggdb3 -std=c++11 -Wall -Werror -Wno-write-strings
-I../include -I../modules/cpp-common/include
-I../modules/app-servers/include -I../usr/include
-I../modules/rapidjson/include `PKG_CONFIG_PATH=../usr/lib/pkgconfig
pkg-config --cflags libpjproject`  -c
../modules/cpp-common/src/saslogger.cpp -o ../build/sprout/saslogger.o
g++   -MMD -MP -O2 -ggdb3 -std=c++11 -Wall -Werror -Wno-write-strings
-I../include -I../modules/cpp-common/include
-I../modules/app-servers/include -I../usr/include
-I../modules/rapidjson/include `PKG_CONFIG_PATH=../usr/lib/pkgconfig
pkg-config --cflags libpjproject`  -c ../modules/cpp-common/src/utils.cpp
-o ../build/sprout/utils.o
g++   -MMD -MP -O2 -ggdb3 -std=c++11 -Wall -Werror -Wno-write-strings
-I../include -I../modules/cpp-common/include
-I../modules/app-servers/include -I../usr/include
-I../modules/rapidjson/include `PKG_CONFIG_PATH=../usr/lib/pkgconfig
pkg-config --cflags libpjproject`  -c analyticslogger.cpp -o
../build/sprout/analyticslogger.o
g++   -MMD -MP -O2 -ggdb3 -std=c++11 -Wall -Werror -Wno-write-strings
-I../include -I../modules/cpp-common/include
-I../modules/app-servers/include -I../usr/include
-I../modules/rapidjson/include `PKG_CONFIG_PATH=../usr/lib/pkgconfig
pkg-config --cflags libpjproject`  -c stack.cpp -o ../build/sprout/stack.o
In file included from stack.cpp:30:0:
../include/constants.h:183:27: error: ‘METHOD_UPDATE’ defined but not
used [-Werror=unused-variable]
 const static pjsip_method METHOD_UPDATE = { PJSIP_OTHER_METHOD,
pj_str((char*)"
                           ^
../include/constants.h:184:27: error: ‘METHOD_INFO’ defined but not
used [-Werror=unused-variable]
 const static pjsip_method METHOD_INFO = { PJSIP_OTHER_METHOD,
pj_str((char*)"IN
                           ^
cc1plus: all warnings being treated as errors
../build-infra/cpp.mk:222: recipe for target '../build/sprout/stack.o'
failed
make[1]: *** [../build/sprout/stack.o] Error 1
make[1]: Leaving directory '/home/hrishikesh/Hrishikesh/sprout/src'
/home/hrishikesh/Hrishikesh/sprout/mk/sprout.mk:14: recipe for target
'sprout' failed
make: *** [sprout] Error 2

===================================================================

Can you help me out with these?


Thanks
Hrishikesh
_______________________________________________
Clearwater mailing list
Clearwater@lists.projectclearwater.org
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to