Re: [Project Clearwater] Sprout compilation failed on ARM64 platform
Hi Andrew, With -Wno-error the compilation moved ahead. But now I am getting some issue as follows. Is it anything to do with specific curl version? My current version is 7.47.0 = make[3]: Entering directory '/home/hrishikesh/Hrishikesh/sprout/modules/curl/src' /bin/bash ../libtool --tag=CC --mode=link gcc -Wno-error -O2 -Wno-system-headers -L/home/hrishikesh/Hrishikesh/sprout/usr/lib -ldl -o curl curl-tool_binmode.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_convert.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_homedir.o curl-tool_hugehelp.o curl-tool_libinfo.o curl-tool_main.o curl-tool_metalink.o curl-tool_mfiles.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_panykey.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_strdup.o curl-tool_setopt.o curl-tool_sleep.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeenv.o curl-tool_writeout.o curl-tool_xattr.o ../lib/curl-strtoofft.o ../lib/curl-rawstr.o ../lib/curl-nonblock.o ../lib/curl-warnless.o ../lib/libcurl.la -lssl -lcrypto -lz libtool: link: gcc -Wno-error -O2 -Wno-system-headers -o .libs/curl curl-tool_binmode.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_convert.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_homedir.o curl-tool_hugehelp.o curl-tool_libinfo.o curl-tool_main.o curl-tool_metalink.o curl-tool_mfiles.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_panykey.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_strdup.o curl-tool_setopt.o curl-tool_sleep.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeenv.o curl-tool_writeout.o curl-tool_xattr.o ../lib/curl-strtoofft.o ../lib/curl-rawstr.o ../lib/curl-nonblock.o ../lib/curl-warnless.o -L/home/hrishikesh/Hrishikesh/sprout/usr/lib -ldl ../lib/.libs/libcurl.so -lssl -lcrypto -lz -Wl,-rpath -Wl,/home/hrishikesh/Hrishikesh/sprout/usr/lib ../lib/.libs/libcurl.so: undefined reference to `SSL_get0_alpn_selected' ../lib/.libs/libcurl.so: undefined reference to `SSL_CTX_set_alpn_protos' collect2: error: ld returned 1 exit status Makefile:770: recipe for target 'curl' failed make[3]: *** [curl] Error 1 make[3]: Leaving directory '/home/hrishikesh/Hrishikesh/sprout/modules/curl/src' Makefile:649: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/hrishikesh/Hrishikesh/sprout/modules/curl/src' Makefile:862: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/hrishikesh/Hrishikesh/sprout/modules/curl' /home/hrishikesh/Hrishikesh/sprout/mk/curl.mk:14: recipe for target 'curl' failed make: *** [curl] Error 2 = Thanks Hrishikesh On Fri, Aug 11, 2017 at 4:32 PM, Andrew Edmonds < andrew.edmo...@metaswitch.com> wrote: > Hi Hrishikish, > > > > Thank you for your continued support of Project Clearwater. > > > > Having a look through the output of the make command it looks as though > warnings (which would not usually cause the compilation to abort) are being > treated as errors and causing the compiler to stop. This suggests that the > “-Werror” flag has been enabled, perhaps it’s a default on your compiler. > We can see more evidence for this here: > > > > cc1plus: all warnings being treated as errors > > > > The instructions on how to disable –Werror may change depending on which > compiler you are using. You can try including the “-i” option in the make > command (i.e. “make -i…”). > > > > Please let me know if this works > > > > Thanks, > > > > Andrew > > > > *From:* Clearwater [mailto:clearwater-boun...@lists.projectclearwater.org] > *On Behalf Of *Hrishikesh Karanjikar > *Sent:* Thursday, August 10, 2017 1:49 PM > *To:* clearwater@lists.projectclearwater.org > *Subject:* [Project Clearwater] Sprout compilation failed on ARM64 > platform > > > > 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, > > === >
Re: [Project Clearwater] Sprout compilation failed on ARM64 platform
Hi Hrishikish, Thank you for your continued support of Project Clearwater. Having a look through the output of the make command it looks as though warnings (which would not usually cause the compilation to abort) are being treated as errors and causing the compiler to stop. This suggests that the “-Werror” flag has been enabled, perhaps it’s a default on your compiler. We can see more evidence for this here: cc1plus: all warnings being treated as errors The instructions on how to disable –Werror may change depending on which compiler you are using. You can try including the “-i” option in the make command (i.e. “make -i…”). Please let me know if this works Thanks, Andrew From: Clearwater [mailto:clearwater-boun...@lists.projectclearwater.org] On Behalf Of Hrishikesh Karanjikar Sent: Thursday, August 10, 2017 1:49 PM To: clearwater@lists.projectclearwater.org Subject: [Project Clearwater] Sprout compilation failed on ARM64 platform 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<http://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<http://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
[Project Clearwater] Sprout compilation failed on ARM64 platform
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