0

Chat application with option BR=on does not work

asked 2014-09-16 06:06:01 -0700

Marina Gorshkova gravatar image

updated 2014-09-16 13:37:51 -0700

Nikhil Dabhade gravatar image

Hello,

I have VM with ubuntu 14.0.4 and alljoyn-14.02.00 SDK

I try to run chat application but it does not work with BR=on.

I executed:

make OS=linux CPU=x86 VARIANT=debug BR=on

then:

/alljoyn-14.02.00-src/build/linux/x86/debug/dist/samples/chat# make

g++ -c -Wall -pipe -std=c++98 -fno-rtti -fno-exceptions -Wno-long-long -Wno-deprecated -g -DQCC_OS_LINUX -DQCC_OS_GROUP_POSIX -DQCC_CPU_X86 -I../../inc -o chat.o chat.cc g++ -o chat chat.o -L../../lib -lalljoyn -lstdc++ -lcrypto -lpthread -lrt

/alljoyn-14.02.00-src/build/linux/x86/debug/dist/samples/chat# ./chat -s testing BusAttachment started. RegisterBusObject succeeded. 0.183 ** ERROR ALLJOYN external BusAttachment.cc:500 | 0x905d Failed to connect to 'unix:abstract=alljoyn' (0x905d). Chat exiting with status 0x905d (0x905d).

But chat application works correctly if I compile chat application without BR=on and start alljoyn-daemon at first.

Could you help me resolve this problem?

Thanks, Marina

edit retag flag offensive close merge delete

Comments

Is there a particular reason that you can share for you using 14.02 instead of 14.06 ? It should work either ways but it might be good to use the latest and greatest

Nikhil Dabhade ( 2014-09-16 14:44:24 -0700 )edit

I have downloaded 14.06. It does not have makefile build system. I compile Alljoyn for some MIPS processor. So I need change compiler path to cross-compiler, add some options. I am not familar with scons so I prefered to use makefile from the version 14.02.

Marina Gorshkova ( 2014-09-16 23:49:20 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-16 10:27:31 -0700

Build with scons instead of make. The makefile build is not as well supported as scons and may be removed at some point in the future.

edit flag offensive delete publish link more

Comments

Yes, you are right. Make does not process this option.

Marina Gorshkova ( 2014-09-16 23:19:23 -0700 )edit

Hi Marina, can you mark this answer as correct if you believe it to be?

tmalsbar ( 2014-09-23 10:14:39 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-09-16 06:06:01 -0700

Seen: 139 times

Last updated: Sep 16 '14