0

Hi, While i was building the alljoyn (as per the procedure provided in https://allseenalliance.org/developers/develop/building/linux/build-source) in ubuntu 14.04 i got the following error while i run scons CPU=x86_64 BINDINGS=cpp

asked 2015-04-22 22:53:50 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

scons: Reading SConscript files ... Building bindings: cpp Building services: BULLSEYE_BIN not specified Using OpenSSL crypto GTEST_DIR not specified skipping common unit test build BULLSEYE_BIN not specified GTEST_DIR not specified skipping About Service unit test build GTEST_DIR not specified skipping alljoyn_core unit test build scons: done reading SConscript files. scons: Building targets ... wsbuild(["ws"], ["build_core/$DISTDIR"]) Evaluating whitespace compliance... Config: /home/gokul/alljoyn/build_core/tools/conf/ajuncrustify.0.57.cfg Note: enter 'scons -h' to see whitespace (WS) options


  • NOTICE * NOTICE * NOTICE *

You are using uncrustify v0.57. Using an older version of uncrustify may result in inaccurate white space scans. Please use the recommended version of uncrustify v0.61.


whitespace check /home/gokul/alljoyn/build_core/tools/conf/ajuncrustify.0.57.cfg cwd=/home/gokul/alljoyn /home/gokul/alljoyn/common/src/CryptoECCMath.cc /home/gokul/alljoyn/common/unit_test/CryptoECCTest.cc /home/gokul/alljoyn/common/inc/qcc/Logger.h /home/gokul/alljoyn/common/inc/qcc/Environ.h /home/gokul/alljoyn/alljoyn_c/unit_test/AboutObjTest.cc /home/gokul/alljoyn/alljoyn_c/unit_test/AboutProxyTest.cc /home/gokul/alljoyn/alljoyn_c/unit_test/AboutListenerTest.cc /home/gokul/alljoyn/alljoyn_c/unit_test/AboutObjectDescriptionTest.cc WS total run time: 1.39 seconds scons: * [ws] Error 1 scons: building terminated because of errors.

please help me to solve this Thank You

edit retag flag offensive close merge delete

Comments

I tried even scons WS=fix but the error is as follows scons: Reading SConscript files ... Building bindings: cpp, c, java, js Building services: BULLSEYE_BIN not specified Using OpenSSL crypto GTEST_DIR not specified skipping common unit test build BULLSEYE_BIN not specified GTEST_DIR not specified skipping About Service unit test build GTEST_DIR not specified skipping alljoyn_core unit test build GTEST_DIR not specified skipping alljoyn_c unit test build BULLSEYE_BIN not specified scons: done reading SConscript files. scons: Building targets ... [JAVAC] alljoyn_java/src/org/alljoyn/bus/AboutData.java sh: 1: javac: not found scons: *** [build/linux/x86_64/debug/obj/alljoyn_java/classes/org/alljoyn/bus/AboutData$FieldDetails.class] Error 127 scons: building terminated because of errors. how to solve this

vurimikrishna ( 2015-04-22 23:00:21 -0700 )edit

Give WS=off, your command should be like $ scons WS=off BINDINGS=cpp OS=linux CPU=x86_64

kgan4dev ( 2015-04-22 23:45:30 -0700 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-04-29 16:55:08 -0700

ry.jones gravatar image
Linux Foundation Staff

You need to upgrade to the correct version of uncrustify, which is exactly what the error tells you to do.

edit flag offensive delete publish link more
0

answered 2015-04-22 23:52:47 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am assuming, you are in $AJ_ROOT/core/alljoyn and trying to build all base services (notification, config, controlpanel) of alljoyn.

$ scons WS=off CPU=x86_64 OS=linux BINDINGS=cpp SERVICES="notification,services_common,config,controlpanel"

This command will build the base services of alljoyn. Hopefully, It will help you.

Thanks, Ganesh

edit flag offensive delete publish link more

Comments

Thank You it was solved, but when i tried Linux - Running Notification Sample Apps (https://allseenalliance.org/developers/develop/run-sample-apps/notification/linux) (your answer for my first question) it shows "bash: /home/student/alljoyn/build/linux/x86_64/debug/dist/notification/bin/ConsumerService: No such file or directory" and i checked manually there is no folder named notification in dist. how to solve this there is same problem when i run LINUX - RUNNING CONFIG SAMPLE APPS thank you

vurimikrishna ( 2015-04-23 01:51:36 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-22 22:53:50 -0700

Seen: 641 times

Last updated: Apr 29 '15