Giter Club home page Giter Club logo

avs-device-sdk's Introduction

⛔️ ARCHIVED

Please note, the AVS Device Software Development Kit is no longer being maintained.

No Maintenance Intended

avs-device-sdk's People

Contributors

alexandrekm-amzn avatar aumatsui avatar azlffrossa avatar bandkenamazoncom avatar benavrm avatar bennyavramson avatar brest-amzn avatar caleighatamazon avatar celinval avatar dhpp avatar erikhopf-amzn avatar fletchnelson avatar frozenberg avatar haohu321 avatar jairajiv avatar jamiemeyers avatar jjamazon avatar kclchan avatar kencecka avatar knikhila avatar leala-amzn avatar mavamazon avatar mradulan avatar mvelegon-amzn avatar priyagsenthil avatar sanjayrd avatar scotthea-amazon avatar varupan avatar visayamv avatar womw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avs-device-sdk's Issues

Accessing audio stream response .

Hello,
This might be something very trivial which I am overlooking or missing alltogether. Based on Integrattion tests AlexaDirectiveSequencerLibraryTest.cpp I am trying to put together code where I can playback the audio response from AVS:

    std::string payloadUrl;
    jsonUtils::lookupStringValue(directive->getPayload(), "url", &payloadUrl);
    auto stringIndex = payloadUrl.find(":");
    auto contentId = payloadUrl.substr(payloadUrl.find(':') + 1);
    auto attachmentReader = directive->getAttachmentReader(contentId);
    auto status = attachmentReader.wait_for(WAIT_FOR_TIMEOUT_DURATION);

After this step, I am not sure how to get to Audio Payload. I have looked at AttachmentManager.h and ACL/include/ACL/AttachmentManagerInterface.h but still couldn't figure out how to use this attachmentReader to get Audio Stream.

After Building Header Files and Libraries Can NOT be Installed

After building the library, run command make install/strip DESTDIR=/path/to/the/install/location
Only google-test framework libraries and header files are installed.
Other libraries are NOT installed.

We need to install the libraries into a proper place to integrate these libraries and test programs into the development board so that we can run the test programs.

I checked the CMakeList.txt file in goog-test framework and other folders, it seems that other libraries' CMakeList.txt files do NOT have install instructions

AttachmentReader::read() returns ReadStatus::CLOSED if an AttachmentWriter has not been created yet

Now that SharedDataStreams exist and have provided the foundation for asynchronous read/write semantics for Attachments, an AttachmentReader can be created before its corresponding AttachmentWriter. The user of the reader could call read() before the writer exists. This will return a ReadStatus::CLOSED.

In a non-blocking AttachmentReader, I would have expected it to return ReadStatus::OK_WOULDBLOCK. When it's blocking, I would have expected ReadStatus::OK_TIMEDOUT. In both cases, allowed the user of the API to decide what to do. The problem with it returning ReadStatus::CLOSED when a writer never existed is that you don't know if the writer is done unless you keep track in your code (for example, a boolean keeping track if it's the first time you've read).

I am not necessarily saying that this is a bug if this is the design intent, but I want to get confirmation.

SpeechSynthesizerIntegrationTest handleOneSpeech failed

When I run the handleOneSpeech test, the speech played, but failed as follows:

`### [==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from SpeechSynthesizerTest
[ RUN ] SpeechSynthesizerTest.handleOneSpeech
ConfigurationNode:initializeSuccess:
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:refreshToken
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING

GET /v20160207/directives HTTP/2
Host: avs-alexa-na.amazon.com
Accept: /

< HTTP/2 200
< access-control-allow-origin: *
< x-amzn-requestid: 06ca64fffe863bc2-00004174-00004320-03668b53c70067f4-f0487a83-1
x-amzn-requestid: 06ca64fffe863bc2-00004174-00004320-03668b53c70067f4-f0487a83-1
< content-type: multipart/related; boundary=------abcde123; type=application/json
<
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=CONNECTED
MediaPlayer:handleSetObserverCalled
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x24f6a8,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x1744c0,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x1744c0,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x1744c0,policy=BLOCKING
DirectiveProcessor:setDialogRequestId:dialogRequestId=DialogRequestID123

POST /v20160207/events HTTP/2
Host: avs-alexa-na.amazon.com
Accept: /
Content-Length: 999
Content-Type: multipart/form-data; boundary=------------------------dd5c8d465617f055

InProcessAttachmentReader:readFailed:reason=SDS is closed
< HTTP/2 200
< access-control-allow-origin: *
< x-amzn-requestid: 06ca64fffe863bc2-00004174-00004320-03668b53c70067f4-f0487a83-3
x-amzn-requestid: 06ca64fffe863bc2-00004174-00004320-03668b53c70067f4-f0487a83-3
< content-type: multipart/related;boundary=bd68974e-8df4-4cc6-8f9b-e9e925061a6e;start=metadata.1498118656523;type="application/json"
<
DirectiveSequencer:onDirective:directive={"namespace:"Speaker",name:"SetMute",messageId:"8e6e413f-4138-4317-953c-5088d9fe117e",dialogRequestId:"DialogRequestID123"}
DirectiveRouter:preHandleDirective:messageId=8e6e413f-4138-4317-953c-5088d9fe117e,action=calling
preHandleDirective---------------------------------------
DirectiveRouter:handleDirective:messageId=8e6e413f-4138-4317-953c-5088d9fe117e,action=calling
handleDirective---------------------------------------
DirectiveSequencer:onDirective:directive={"namespace:"SpeechSynthesizer",name:"Speak",messageId:"994fdc06-2833-4ca9-94ff-4a15758b2fca",dialogRequestId:"DialogRequestID123"}
DirectiveRouter:preHandleDirective:messageId=994fdc06-2833-4ca9-94ff-4a15758b2fca,action=calling
CapabilityAgent:addingMessageIdToMap:messageId=994fdc06-2833-4ca9-94ff-4a15758b2fca
DirectiveProcessor:onHandlingCompeted:messageId=8e6e413f-4138-4317-953c-5088d9fe117e,directiveBeingPreHandled=(nullptr)
DirectiveRouter:handleDirective:messageId=994fdc06-2833-4ca9-94ff-4a15758b2fca,action=calling
MediaPlayer:handleSetSourceCalled
MediaPlayer:doStopSuccess:reason=alreadyStopped
MediaPlayer:handlePlayCalled
MediaPlayer:doStopSuccess:reason=alreadyStopped
InProcessAttachmentReader:readFailed:reason=SDS is closed
[ 5185.341855@0] [aml-i2s-dai]i2s dma dfb00000,phy addr 1fd00000,mode 3,ch 1
[ 5185.343371@0] speaker_events--mute =1
[ 5185.668464@2] aiu i2s playback enable
[ 5185.668464@2]
SpeechSynthesizer:onFocusChangeFailed:reason=stateChangeTimeout,messageId=994fdc06-2833-4ca9-94ff-4a15758b2fca
DirectiveProcessor:onHandlingFailed:messageId=994fdc06-2833-4ca9-94ff-4a15758b2fca,directiveBeingPreHandled=(nullptr),description=stateChangeTimeout
CapabilityAgent:removingMessageIdFromMap:messageId=994fdc06-2833-4ca9-94ff-4a15758b2fca
/home/landon/alexa_c++/alexa-client-sdk/Integration/test/SpeechSynthesizerIntegrationTest.cpp:574: Failure
Expected: m_speechSynthesizerObserver->waitForNext(WAIT_FOR_TIMEOUT_DURATION)
Which is: 4-byte object <01-00 00-00>
To be equal to: SpeechSynthesizerState::PLAYING
Which is: 4-byte object <00-00 00-00>
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
DirectiveSequencer:shutdown
[ FAILED ] SpeechSynthesizerTest.handleOneSpeech (38176 ms)`

Then I find the function MediaPlayer::sendPlaybackStarted is not called.
The code below is in MediaPlayer.cpp:

### // Check that the state change is for the pipeline. if (GST_MESSAGE_SRC(message) == GST_OBJECT_CAST(m_audioPipeline.pipeline)) { GstState oldState; GstState newState; GstState pendingState; gst_message_parse_state_changed(message, &oldState, &newState, &pendingState); if (newState == GST_STATE_PLAYING) { sendPlaybackStarted(); } /* * If the previous state was PLAYING and the new state is PAUSED, ie, the audio has stopped playing, * indicate to the observer that playback has finished. */ if (newState == GST_STATE_PAUSED && oldState == GST_STATE_PLAYING) { sendPlaybackFinished(); } }

The condition (GST_MESSAGE_SRC(message) == GST_OBJECT_CAST(m_audioPipeline.pipeline)) is always false, and it never reaches "sendPlaybackStarted();"

Wakeword engine licenses

Do I need to figure out the wakeword engine licenses myself if I want to ultimately integrate this alexa client into a commercial product?

"MediaPlayerTest" running error

Hi, I can build MediaPlayer successfully, but I got an error when running the test app:

./MediaPlayerTest ../../../alexa-client-sdk-master/MediaPlayer/inputs/

error msg is:

[==========] Running 7 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 7 tests from MediaPlayerTest
[ RUN ] MediaPlayerTest.testStartPlayWaitForEnd
MediaPlayer:handleSetObserverCalled
MediaPlayer:handleSetSourceCalled
MediaPlayer:doStopSuccess:reason=alreadyStopped
MediaPlayer:handlePlayCalled
MediaPlayer:doStopSuccess:reason=alreadyStopped
MediaPlayer:handleBusMessageError:source=decoder,error=Your GStreamer installation is missing a plug-in.
MediaPlayer:callingOnPlaybackError:error=Your GStreamer installation is missing a plug-in.
Error encountered:Your GStreamer installation is missing a plug-in.

MediaPlayer:handleBusMessageError:source=src,error=Internal data stream error.
MediaPlayer:callingOnPlaybackError:error=Internal data stream error.
Error encountered:Internal data stream error.
/home/bob/Desktop/Document/TeddyBear/AVS/Linux+C/0.4/SDK/20170602_gst/alexa-client-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:295: Failure
Value of: m_playerObserver->waitForPlaybackStarted()
Actual: false
Expected: true
MediaPlayer:handleStopCalled
MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:4644): GStreamer-CRITICAL **:
Trying to dispose element audio_sink, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

please suggest, thanks.

Test 1 in AudioInputProcessorIntegrationTest.cpp

I have the following questions regarding the tests in the AudioInputProcessorIntegrationTest.cpp file:

  1. class wakeWordTrigger , use TAP as initiator
    original : m_aip->recognize(audioProvider, Initiator::TAP, aipBegin, aipEnd, keyword);
    expected : m_aip->recognize(audioProvider, Initiator::WAKEWORD, aipBegin, aipEnd, keyword);

  2. Once I update wakeWordTrigger class to use WAKEWORD initator , the test works fine if ALEXA is the wakeword , but if a different wakeword is used AVS sends back an exception instead of directives.
    Diff keyword :
    Context built successfully:{"context":[{"header":{"namespace":"SpeechRecognizer","name":"RecognizerState"},"payload":{"wakeword":"XYZ"}},{"header":{"namespace":"Speaker","name":"VolumeState"},"payload":{"volume":50,"muted":0}}]}
    ALEXA keyword :
    Context built successfully:{"context":[{"header":{"namespace":"SpeechRecognizer","name":"RecognizerState"},"payload":{"wakeword":"ALEXA"}},{"header":{"namespace":"Speaker","name":"VolumeState"},"payload":{"volume":50,"muted":0}}]}

The only difference in the 2 context is the keyword.

Any suggestions ? Is the current release of AVS meant to work only with ALEXA keyword ?

Empty payload in directives from AVS

Hello ,
I am running the integration test in AudioInputProcessorIntegrationTest.cpp.
For both testcase 1 ( Alexa, tell me joke) and testcase 3( Alexa ,Wikipedia , followed by lions) , I can pass the test without any errors. I can see all the expected directives (speak ,expectspeech) on console but the payload is empty.

DirectiveSequencer:onDirective:directive={"namespace:"SpeechSynthesizer",name:"Speak",messageId:"0d90bad2-50fc-47ff-8e9c-7bd518752be9",dialogRequestId:"297f6ad5-f4da-48f9-9746-da23ebd17b51"}

Is there anything I am missing in the recognize event from AIP to AVS ?
Please suggest.

Thanks
Shikha

Missing thread link to ExampleLogger

There is missing dependency in AVSUtils/examples/ExampleLoggerClient/src/ExampleLoggerClient which throws this error while making:

../../../src/libAVSUtils.so: undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
AVSUtils/examples/ExampleLoggerClient/src/CMakeFiles/ExampleLoggerClient.dir/build.make:97: recipe 
for target 'AVSUtils/examples/ExampleLoggerClient/src/ExampleLoggerClient' failed
make[2]: *** [AVSUtils/examples/ExampleLoggerClient/src/ExampleLoggerClient] Error 1

How to save the response audio to a local file(.mp3) in v0.4 SDK

I want to save the response audio to a local file, there is no problem to save before V0.4 alexa-client-sdk, directive->getAttachmentReader(contentId); returned a std::iostream type, and we can save the audio using code below:

auto attachmentReader = directive->getAttachmentReader(contentId); auto status = attachmentReader.wait_for(WAIT_FOR_TIMEOUT_DURATION); std::ofstream out("result.mp3"); if (out.is_open()) { out << attachmentReader.get()->rdbuf(); out.close(); }

but in v0.4, the API changes to directive->getAttachmentReader(contentId, AttachmentReader::Policy::BLOCKING);, and returns a AttachmentReader type, how can I save the video with new APIs?

thanks.

Connecting timed out.

I built this project on my computer(Ubuntu64).
Every testing case is ok when i do unit test(make test).

Then i input "make integration" in the cmd line:

xianlee@intel:~/workspace/staging/build$ make integration
[100%] Built target AVSUtils
[100%] Built target AVSCommon
[100%] Built target ACL
[100%] Built target AuthDelegate
[100%] Built target Integration
[100%] Built target gmock
[100%] Built target gtest
[100%] Built target ADSL
[100%] Built target AFML
[100%] Built target ContextManager
[100%] Built target MediaPlayer
[100%] Built target KWD
[100%] Built target KITTAI
[100%] Built target AIP
[100%] Built target SpeechSynthesizer
[100%] Built target AudioInputProcessorIntegrationTest
[100%] Built target SpeechSynthesizerIntegrationTest
[100%] Built target AlexaCommunicationsLibraryTest
[100%] Built target AlexaDirectiveSequencerLibraryTest
[100%] Built target AlexaAuthorizationDelegateTest
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from AlexaAuthorizationDelegateTest
[ RUN      ] AlexaAuthorizationDelegateTest.refreshAuthToken
ConfigurationNode:initializeSuccess:configuration=**redacted**
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:refreshToken=**redacted**,expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
[       OK ] AlexaAuthorizationDelegateTest.refreshAuthToken (1178 ms)
[ RUN      ] AlexaAuthorizationDelegateTest.invalidRefreshTokenWithUnrecoverableError
ConfigurationNode:initializeSuccess:configuration=**redacted**
ConfigurationNode:mergeDocument:reason=objectsMerged,path=root.authDelegate
ConfigurationNode:mergeDocument:reason=valueReplaced,path=root.authDelegate.refreshToken,old=**redacted**,new="InvalidRefreshToken"
ConfigurationNode:initializeSuccess:configuration=**redacted**
HttpPost:doPostSucceeded:code=400
AuthDelegate:handleLwaResponseFailed:error=invalid_grant,isUnrecoverable=true
AuthDelegate:calculatedTimeToRetry:delayMs=0
AuthDelegate:threadStopping:reason=encounteredUnrecoverableError
AuthDelegate:onAuthStateChangeCalled:state=3,error=6
[       OK ] AlexaAuthorizationDelegateTest.invalidRefreshTokenWithUnrecoverableError (1049 ms)
[----------] 2 tests from AlexaAuthorizationDelegateTest (2227 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (2227 ms total)
[  PASSED  ] 2 tests.
[==========] Running 9 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 9 tests from AlexaCommunicationsLibraryTest
[ RUN      ] AlexaCommunicationsLibraryTest.testConnectAndDisconnect
ConfigurationNode:initializeSuccess:configuration=**redacted**
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:refreshToken=**redacted**,authToken=**redacted**,expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
*   Trying 54.239.23.243...
* Connected to avs-alexa-na.amazon.com (54.239.23.243) port 443 (#0)
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* Server certificate:
*  subject: C=US; ST=Washington; L=Seattle; O=Amazon.com, Inc.; CN=latinum.amazon.com
*  start date: Sep 22 00:00:00 2016 GMT
*  expire date: Oct 16 23:59:59 2017 GMT
*  subjectAltName: host "avs-alexa-na.amazon.com" matched cert's "avs-alexa-na.amazon.com"
*  issuer: C=US; O=Symantec Corporation; OU=Symantec Trust Network; CN=Symantec Class 3 Secure Server CA - G4
*  SSL certificate verify ok.
> GET /v20160207/directives HTTP/1.1
Host: avs-alexa-na.amazon.com
Accept: */*
Authorization: Bearer **redacted**

* Connection #0 to host avs-alexa-na.amazon.com left intact
Could not setup downchannel, retry count: 1
* Connection 0 seems to be dead!
* Closing connection 0
* Hostname avs-alexa-na.amazon.com was found in DNS cache
*   Trying 54.239.23.243...
* Connected to avs-alexa-na.amazon.com (54.239.23.243) port 443 (#1)
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* SSL re-using session ID
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* old SSL session ID is stale, removing
* Server certificate:
*  subject: C=US; ST=Washington; L=Seattle; O=Amazon.com, Inc.; CN=latinum.amazon.com
*  start date: Sep 22 00:00:00 2016 GMT
*  expire date: Oct 16 23:59:59 2017 GMT
*  subjectAltName: host "avs-alexa-na.amazon.com" matched cert's "avs-alexa-na.amazon.com"
*  issuer: C=US; O=Symantec Corporation; OU=Symantec Trust Network; CN=Symantec Class 3 Secure Server CA - G4
*  SSL certificate verify ok.
> GET /v20160207/directives HTTP/1.1
Host: avs-alexa-na.amazon.com
Accept: */*
Authorization: Bearer **redacted**
* Connection #1 to host avs-alexa-na.amazon.com left intact
Could not setup downchannel, retry count: 2
* Connection 1 seems to be dead!
* Closing connection 1
* Hostname avs-alexa-na.amazon.com was found in DNS cache
*   Trying 54.239.23.243...
* Connected to avs-alexa-na.amazon.com (54.239.23.243) port 443 (#2)
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* SSL re-using session ID
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* old SSL session ID is stale, removing
* Server certificate:
*  subject: C=US; ST=Washington; L=Seattle; O=Amazon.com, Inc.; CN=latinum.amazon.com
*  start date: Sep 22 00:00:00 2016 GMT
*  expire date: Oct 16 23:59:59 2017 GMT
*  subjectAltName: host "avs-alexa-na.amazon.com" matched cert's "avs-alexa-na.amazon.com"
*  issuer: C=US; O=Symantec Corporation; OU=Symantec Trust Network; CN=Symantec Class 3 Secure Server CA - G4
*  SSL certificate verify ok.
> GET /v20160207/directives HTTP/1.1
Host: avs-alexa-na.amazon.com
Accept: */*
Authorization: Bearer **redacted**

* Connection #2 to host avs-alexa-na.amazon.com left intact
Could not setup downchannel, retry count: 3
/home/xianlee/doc/alexa-client-sdk-master/Integration/test/AlexaCommunicationsLibraryTest.cpp:213: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatus::CONNECTED)
  Actual: false
Expected: true
Connecting timed out.
[  FAILED  ] AlexaCommunicationsLibraryTest.testConnectAndDisconnect (11146 ms)
[ RUN      ] AlexaCommunicationsLibraryTest.testSendEvent
ConfigurationNode:initializeSuccess:configuration=**redacted**
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:refreshToken=**redacted**,authToken=**redacted**,expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
*   Trying 54.239.23.243...
* Connected to avs-alexa-na.amazon.com (54.239.23.243) port 443 (#0)
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* Server certificate:
*  subject: C=US; ST=Washington; L=Seattle; O=Amazon.com, Inc.; CN=latinum.amazon.com
*  start date: Sep 22 00:00:00 2016 GMT
*  expire date: Oct 16 23:59:59 2017 GMT
*  subjectAltName: host "avs-alexa-na.amazon.com" matched cert's "avs-alexa-na.amazon.com"
*  issuer: C=US; O=Symantec Corporation; OU=Symantec Trust Network; CN=Symantec Class 3 Secure Server CA - G4
*  SSL certificate verify ok.
> GET /v20160207/directives HTTP/1.1
Host: avs-alexa-na.amazon.com
Accept: */*
Authorization: Bearer **redacted**
.
.
.
.
**Finally, the testing program exited with these:**
* Connection #2 to host avs-alexa-na.amazon.com left intact
Could not setup downchannel, retry count: 3
/home/xianlee/doc/alexa-client-sdk-master/Integration/test/AlexaCommunicationsLibraryTest.cpp:213: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatus::CONNECTED)
  Actual: false
Expected: true
Connecting timed out.
[  FAILED  ] AlexaCommunicationsLibraryTest.testPersistentConnection (11107 ms)
[----------] 9 tests from AlexaCommunicationsLibraryTest (100363 ms total)

[----------] Global test environment tear-down
[==========] 9 tests from 1 test case ran. (100363 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 9 tests, listed below:
[  FAILED  ] AlexaCommunicationsLibraryTest.testConnectAndDisconnect
[  FAILED  ] AlexaCommunicationsLibraryTest.testSendEvent
[  FAILED  ] AlexaCommunicationsLibraryTest.testSendInvalidEvent
[  FAILED  ] AlexaCommunicationsLibraryTest.testSendEventWithAttachment
[  FAILED  ] AlexaCommunicationsLibraryTest.testSendEventAndReceiveDirective
[  FAILED  ] AlexaCommunicationsLibraryTest.testSendEventsSerially
[  FAILED  ] AlexaCommunicationsLibraryTest.testSendEventsConcurrently
[  FAILED  ] AlexaCommunicationsLibraryTest.testReceiveDirectiveOnDownchannel
[  FAILED  ] AlexaCommunicationsLibraryTest.testPersistentConnection

 9 FAILED TESTS
make[3]: *** [Integration/test/CMakeFiles/integration] Error 1
make[2]: *** [Integration/test/CMakeFiles/integration.dir/all] Error 2
make[1]: *** [Integration/test/CMakeFiles/integration.dir/rule] Error 2
make: *** [integration] Error 2

Any suggestions ? Thanks!

Supports to add a customized wake-word engine?

Hi, I have a question about wake-word detector. We have a our own wake-word engine now, I'd like to know if alexa-client-sdk supports to add our own wake-word engine to trigger AIP? if so, what do we need to do? and/or, what does amazon need to do?

please advise, thanks.

Reader is not getting reset on a AudioInputProcessor::executeStopCapture

We are observing the following:

In AudioInputProcessor::executeStopCapture, the m_reader is not being reset. The SDK initialization sequence requires specifying the Attachment Readers for the AudioInputStream. They should be reset when the stopCapture( ) event happens, we can see the line of code (m_reader.reset()) but for some reason they are not been released. Hence we can send only those many recognize events that correlate to the number of readers defined for the AudioInputStream.

Thanks,
Ameya Pandit
Qualcomm Engineering
[email protected]

HTTP2Transport race may lead to deadlock

Hi,
I think there's a race in HTTP2Transport that can lead to deadlock if the networkLoop thread tries to signal out a successful connection, while another thread has asked for the network thread to terminate (and is waiting to join).

full scenario -
A - if any client thread calls MessageRouter::disable. MessageRouter lock is taken. MessageRouter::disconnectAllTransportsLocked is called. the transports are iterated, HTTP2Transport::disconnect is called, which calls join() on the SDK network thread.

B - SDK network thread, when connection is just established, HTTP2Transport::networkLoop calls the onConnected callback MessageRouter::onConnected, which tries to take the MessageRouter lock.

if B happens while A is in process, deadlock.

please advise?

Sensory readFromStreamFailed

Hi.

I'm trying to use the SensoryKeywordDetector with my app. However I get constant errors regarding readFromStream:

2017-07-10 12:11:54.203 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut

I've verified that recording works (arecord -d 10 -f S16_LE -r 16000 test.wav) like sensory recommends. Playback also OK. What could I check next?

Logs from situation:

2017-07-10 12:11:48.627 [ 1] I ConfigurationNode:initializeSuccess
2017-07-10 12:11:49.422 [ 2] 0 HttpPost:doPostSucceeded:code=200
2017-07-10 12:11:49.423 [ 2] 0 AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
2017-07-10 12:11:49.423 [ 2] 0 AuthDelegate:onAuthStateChangeCalled:state=1,error=0
2017-07-10 12:11:49.423 [ 1] 0 MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
2017-07-10 12:11:50.189 [ 3] I ?:?::x-amzn-requestid: 124bb5fffebb33ac-0000025b-00021465-fd3c45bf74cc3e5f-4bd04311-1
2017-07-10 12:11:50.189 [ 3] 0 MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=CONNECTED
2017-07-10 12:11:50.192 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0xf8f838,policy=NON_BLOCKING
2017-07-10 12:11:50.192 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=StopCapture,handler=0xf8f838,policy=NON_BLOCKING
2017-07-10 12:11:50.194 [ 1] I SensoryKeywordDetector:License expires on 28 Oct 2017 00:00:00 GMT
2017-07-10 12:11:50.194 [ 1] I SensoryKeywordDetector:Sensory library license does not expire for at least 60 more days.
2017-07-10 12:11:50.203 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0xfa1260,policy=BLOCKING
init done
2017-07-10 12:11:51.203 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-07-10 12:11:52.203 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-07-10 12:11:53.203 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-07-10 12:11:54.203 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
...

Wake word engine support in v0.4 sdk

  1. I'm trying to test wake word function, I can see that:

if(AMAZON_KEY_WORD_DETECTOR)
add_subdirectory("Amazon")
endif()
if(KITTAI_KEY_WORD_DETECTOR)
add_subdirectory("KittAi")
endif()
if(SENSORY_KEY_WORD_DETECTOR)
add_subdirectory("Sensory")
endif()

in KWD/CMakeLists.txt, but there have only one wake_word detector sub-folder which named "KittAi",

Does KittAi is only supported detector in current version? if yes, may I know when will add the others support?

  1. We need to integrate AVS function to our embedded device, so we plan to cross-compile avs which contains wake-word function, but I got an error while making as followed:

king@wks:/Project/DB20_Linux/AVS/Alexa_Make$ cmake -DCURL_LIBRARY=/home/king/Project/DB20_Linux/AVS/Alexa_Make/AvsEnv/lib/libcurl.so -DCURL_INCLUDE_DIR=/home/king/Project/DB20_Linux/AVS/Alexa_Make/AvsEnv/include ../alexa-client-sdk-master_v0.4/ -DKITTAI_KEY_WORD_DETECTOR=ON -DKITTAI_KEY_WORD_DETECTOR_LIB_PATH=/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/ubuntu64/libsnowboy-detect.a -DKITTAI_KEY_WORD_DETECTOR_INCLUDE_DIR=/home/king/Project/DB20_Linux/AVS/snowboy-master/include/
Creating the build directory for the AlexaClientSDK with build type: DEBUG
Creating AlexaClientSDK with keyword detector type: KittAi
CMake Warning (dev) at ThirdParty/googletest-release-1.8.0/CMakeLists.txt:3 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at ThirdParty/googletest-release-1.8.0/googlemock/CMakeLists.txt:40 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at ThirdParty/googletest-release-1.8.0/googletest/CMakeLists.txt:47 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
Creating the build directory for the AVSUtils with build type: DEBUG
Creating AVSUtils with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the AVSCommon with build type: DEBUG
Creating AVSCommon with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the ACL with build type: DEBUG
Creating ACL with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the AuthDelegate with build type: DEBUG
Creating AuthDelegate with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the ADSL with build type: DEBUG
Creating ADSL with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the AFML with build type: DEBUG
Creating AFML with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the ContextManager with build type: DEBUG
Creating ContextManager with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Skip building the GStreamer based media player.
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the KITTAI with build type: DEBUG
Creating KITTAI with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the CapabilityAgents with build type: DEBUG
Creating CapabilityAgents with keyword detector type: KittAi
Creating the build directory for the AIP with build type: DEBUG
Creating AIP with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the SpeechSynthesizer with build type: DEBUG
Creating SpeechSynthesizer with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the Integration with build type: DEBUG
Creating Integration with keyword detector type: KittAi
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Please fill /home/king/Project/DB20_Linux/AVS/Alexa_Make/Integration/AlexaClientSDKConfig.json before you execute integration tests.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/king/Project/DB20_Linux/AVS/Alexa_Make
king@wks:
/Project/DB20_Linux/AVS/Alexa_Make$ make
[ 2%] Built target gmock_main
[ 4%] Built target gmock
[ 5%] Built target gtest
[ 7%] Built target gtest_main
[ 14%] Built target AVSUtils
[ 15%] Built target ExampleLogger
[ 16%] Built target ExampleLoggerClient
[ 17%] Built target AlexaClientSDKInitTest
[ 18%] Built target ConfigurationNodeTest
[ 19%] Built target ExecutorTest
[ 20%] Built target LogEntryStreamTest
[ 21%] Built target LoggerTest
[ 22%] Built target TaskQueueTest
[ 23%] Built target TaskThreadTest
[ 32%] Built target AVSCommon
[ 34%] Built target TimerTest
[ 35%] Built target JSONUtilTest
[ 36%] Built target AttachmentCommonTestLib
[ 37%] Built target HandlerAndPolicyTest
[ 38%] Built target AttachmentReaderTest
[ 40%] Built target AttachmentTest
[ 41%] Built target AttachmentWriterTest
[ 42%] Built target CapabilityAgentTest
[ 43%] Built target NamespaceAndNameTest
[ 44%] Built target AttachmentManagerV2Test
[ 45%] Built target UUIDGenerationTest
[ 46%] Built target SharedDataStreamTest
[ 51%] Built target ACL
[ 54%] Built target ACLTransportCommonTestLib
[ 55%] Built target AVSConnectionManagerTest
[ 56%] Built target HTTP2StreamTest
[ 58%] Built target MessageRouterTest
[ 59%] Built target MimeParserTest
[ 61%] Built target AuthDelegate
[ 63%] Built target ExampleAuthDelegateClient
[ 64%] Built target AuthDelegateTest
[ 67%] Built target ADSL
[ 68%] Built target ADSLTestCommon
[ 69%] Built target DirectiveProcessorTest
[ 70%] Built target DirectiveRouterTest
[ 71%] Built target MessageInterpreterTest
[ 72%] Built target DirectiveSequencerTest
[ 74%] Built target AFML
[ 75%] Built target FocusManagerTest
[ 76%] Built target ContextManager
[ 77%] Built target ContextManagerTest
[ 78%] Built target KWD
[ 80%] Built target AbstractKeywordDetectorTest
[ 81%] Linking CXX shared library libKITTAI.so
/home/king/Project/DB20_Linux/AVS/snowboy-master/lib/ubuntu64/libsnowboy-detect.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/KittAi/src/libKITTAI.so] Error 1
make[1]: *** [KWD/KittAi/src/CMakeFiles/KITTAI.dir/all] Error 2
make: *** [all] Error 2

Please suggest how we can cross-compile with Kitt library.
thanks.

make error: The LWA response body indicated an unrecoverable error: invalid_grant

I followed the steps in README file, but I encountered a problem at the last step: invalid_grant, my refreshToken is fresh and valid, please help, what‘s my errors?

king@wks:~/Project/DB20_Linux/Alexa_Make$ make all integration
[ 4%] Built target gmock_main
[ 7%] Built target gmock
[ 9%] Built target gtest
[ 11%] Built target gtest_main
[ 23%] Built target AVSUtils
[ 36%] Built target ACL
Scanning dependencies of target AuthDelegate
[ 37%] Building CXX object AuthDelegate/src/CMakeFiles/AuthDelegate.dir/Config.cpp.o
[ 38%] Linking CXX shared library libAuthDelegate.so
[ 40%] Built target AuthDelegate
[ 41%] Linking CXX executable ExampleAuthDelegateClient
[ 42%] Built target ExampleAuthDelegateClient
[ 43%] Linking CXX executable ConfigTest
[ 44%] Built target ConfigTest
[ 45%] Linking CXX executable AuthDelegateTest
[ 46%] Built target AuthDelegateTest
[ 48%] Built target AVSConnectionManagerTest
[ 51%] Built target AttachmentManagerTest
[ 53%] Built target MessageTest
[ 55%] Built target MessageRouterTest
[ 60%] Built target AVSCommon
[ 64%] Built target ADSL
[ 66%] Built target DirectiveSequencerTest
[ 67%] Linking CXX shared library libIntegration.so
[ 72%] Built target Integration
[ 73%] Linking CXX executable AlexaAuthorizationDelegateTest
[ 74%] Built target AlexaAuthorizationDelegateTest
[ 75%] Linking CXX executable AlexaCommunicationsLibraryTest
[ 76%] Built target AlexaCommunicationsLibraryTest
[ 77%] Linking CXX executable AlexaDirectiveSequencerLibraryTest
[ 78%] Built target AlexaDirectiveSequencerLibraryTest
[ 80%] Built target ExampleLogger
[ 82%] Built target ExampleLoggerClient
[ 84%] Built target LogEntryStreamTest
[ 86%] Built target LoggerTest
[ 88%] Built target TaskQueueTest
[ 90%] Built target TaskThreadTest
[ 92%] Built target ExecutorTest
[ 94%] Built target JSONUtilTest
[ 97%] Built target AFML
[100%] Built target FocusManagerTest
[ 21%] Built target AVSUtils
[ 45%] Built target ACL
[ 54%] Built target AVSCommon
[ 60%] Built target gmock
[ 63%] Built target gtest
[ 70%] Built target AuthDelegate
[ 78%] Built target ADSL
[ 89%] Built target Integration
[ 92%] Built target AlexaDirectiveSequencerLibraryTest
[ 96%] Built target AlexaAuthorizationDelegateTest
[100%] Built target AlexaCommunicationsLibraryTest
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from AlexaAuthorizationDelegateTest
[ RUN ] AlexaAuthorizationDelegateTest.refreshAuthToken
curl_easy_getinfo(CURLINFO_RESPONSE_CODE) successfully returned the HTTP code: 200
[ OK ] AlexaAuthorizationDelegateTest.refreshAuthToken (1304 ms)
[ RUN ] AlexaAuthorizationDelegateTest.invalidRefreshTokenWithUnrecoverableError
curl_easy_getinfo(CURLINFO_RESPONSE_CODE) successfully returned the HTTP code: 400
The LWA response body indicated an unrecoverable error: invalid_grant
calculateTimeToRetry() delayMs=0
The thread is stopping due to the unrecoverable error.
[ OK ] AlexaAuthorizationDelegateTest.invalidRefreshTokenWithUnrecoverableError (1181 ms)
[----------] 2 tests from AlexaAuthorizationDelegateTest (2485 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (2485 ms total)
[ PASSED ] 2 tests.
[==========] Running 9 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 9 tests from AlexaCommunicationsLibraryTest
[ RUN ] AlexaCommunicationsLibraryTest.connectAndDisconnect
curl_easy_getinfo(CURLINFO_RESPONSE_CODE) successfully returned the HTTP code: 200

  • Trying 54.239.26.171...
  • TCP_NODELAY set
  • Connected to avs-alexa-na.amazon.com (54.239.26.171) port 443 (#0)
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: none
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
  • Server certificate:
  • subject: C=US; ST=Washington; L=Seattle; O=Amazon.com, Inc.; CN=latinum.amazon.com
  • start date: Sep 22 00:00:00 2016 GMT
  • expire date: Oct 16 23:59:59 2017 GMT
  • subjectAltName: host "avs-alexa-na.amazon.com" matched cert's "avs-alexa-na.amazon.com"
  • issuer: C=US; O=Symantec Corporation; OU=Symantec Trust Network; CN=Symantec Class 3 Secure Server CA - G4
  • SSL certificate verify ok.

GET /v20160207/directives HTTP/1.1
Host: avs-alexa-na.amazon.com
Accept: /
Authorization: Bearer redacted
Segmentation fault (core dumped)
make[3]: *** [Integration/test/CMakeFiles/integration] Error 139
make[2]: *** [Integration/test/CMakeFiles/integration.dir/all] Error 2
make[1]: *** [Integration/test/CMakeFiles/integration.dir/rule] Error 2
make: *** [integration] Error 2
king@wks:~/Project/DB20_Linux/Alexa_Make$

Speaker Interface implementation

Hi,
I want to add Speaker interface function in AVS test app, and I can get Speaker directives from AVS, but I don't know what to do next, I need to integrate SpeechSynthesizer Interface with Speaker interface in a TEST_F(), how I can distinguish the directives, and how I can send Speaker event to AVS? would you please share some sample codes to us?

Here is my code snippet to do it, but It's bad when I saying a question about volume adjustment to AVS.
please help to check.

Thanks.


`TEST_F(SpeechSynthesizerTest, handleOneSpeech) {
jsonUtils::setVolumeFlag(0);

// SpeechSynthesizerObserver defaults to a FINISHED state.
//ASSERT_EQ(m_speechSynthesizerObserver->waitForNext(
//        WAIT_FOR_TIMEOUT_DURATION), SpeechSynthesizerObserver::SpeechSynthesizerState::FINISHED);

// Send audio of "Joke" that will prompt SetMute and Speak.
//m_directiveSequencer->setDialogRequestId(FIRST_DIALOG_REQUEST_ID);

// Check that AIP is in an IDLE state before starting.
//ASSERT_TRUE(m_StateObserver->checkState(AudioInputProcessor::State::IDLE, AUDIO_FILE_TIMEOUT_DURATION));

// Request the alarm channel for the test channel client.
ASSERT_TRUE(m_focusManager->acquireChannel(FocusManager::ALERTS_CHANNEL_NAME, m_testClient, ALARM_ACTIVITY_ID));
//ASSERT_EQ(m_testClient->waitForFocusChange(AUDIO_FILE_TIMEOUT_DURATION), FocusState::FOREGROUND);

// Signal to the AIP to start recognizing.
ASSERT_TRUE(m_tapToTalkButton->startRecognizing(m_AudioInputProcessor, m_TapToTalkAudioProvider));

// Check that AIP is now in RECOGNIZING state.
//ASSERT_TRUE(m_StateObserver->checkState(AudioInputProcessor::State::RECOGNIZING, AUDIO_FILE_TIMEOUT_DURATION));

/*
std::string file = inputPath + RECOGNIZE_JOKE_AUDIO_FILE_NAME;
setupMessageWithAttachmentAndSend(
    CT_FIRST_RECOGNIZE_EVENT_JSON,
    file,
    avsCommon::avs::MessageRequest::Status::SUCCESS,
    SEND_EVENT_TIMEOUT_DURATION); */

std::string file = "hello.wav";
std::cout << "file: " << file << std::endl;
const int RIFF_HEADER_SIZE = 44;
std::ifstream inputFile(file.c_str(), std::ifstream::binary);
if (!inputFile.good()) {
  std::cout << "Couldn't open audio file!" << std::endl;
  return ;
}
std::cout << "open audio file success!" << std::endl;
inputFile.seekg(0, std::ios::end);
int fileLengthInBytes = inputFile.tellg();
if (fileLengthInBytes <= RIFF_HEADER_SIZE) {
  std::cout << "File should be larger than 44 bytes, which is the size of the RIFF header" << std::endl;
  return ;
}

inputFile.seekg(RIFF_HEADER_SIZE, std::ios::beg);
std::cout << "\t\tfile lenght In bytes: " << fileLengthInBytes << std::endl;
int numSamples = (fileLengthInBytes - RIFF_HEADER_SIZE) / 5;
std::cout << "\t\tnumSamples: " << numSamples << std::endl;
std::vector<int16_t> retVal(115200, 0);

int index = 0;
while(!inputFile.eof()){
  index ++;
  inputFile.read((char *)&retVal[0], 115200 );
  m_AudioBufferWriter->write(retVal.data(), inputFile.gcount());
  retVal.clear();
  std::cout << "index= " << index << std::endl;
}
inputFile.close();

TestMessageSender::SendParams sendRecognizeParams = m_avsConnectionManager->waitForNext(DIRECTIVE_TIMEOUT_DURATION);
ASSERT_TRUE(checkSentEventName(sendRecognizeParams, NAME_RECOGNIZE));

// Wait for the directive to route through to our handler.
// TestDirectiveHandler::DirectiveParams params = m_directiveHandler->waitForNext(WAIT_FOR_TIMEOUT_DURATION);
// std::cout << ">>>>>>>>>>>>>>>>params.directive->getName(): "<<  std::endl;
//ASSERT_EQ(params.type, TestDirectiveHandler::DirectiveParams::Type::PREHANDLE);
//params = m_directiveHandler->waitForNext(WAIT_FOR_TIMEOUT_DURATION);
//ASSERT_EQ(params.type, TestDirectiveHandler::DirectiveParams::Type::HANDLE);

// Unblock the queue so SpeechSynthesizer can do its work.
//params.result->setCompleted();
std::cout << "volume flag: " << jsonUtils::isSpeakerVolumeFlag() << std::endl;
// SpeechSynthesizer is now playing.
ASSERT_EQ(m_speechSynthesizerObserver->waitForNext(
       WAIT_FOR_TIMEOUT_DURATION), SpeechSynthesizerObserver::SpeechSynthesizerState::PLAYING);

//Check that SS grabs the channel focus by seeing that the test client has been backgrounded.
//ASSERT_EQ(m_testClient->waitForFocusChange(WAIT_FOR_TIMEOUT_DURATION), FocusState::BACKGROUND);

// SpeechStarted was sent.
TestMessageSender::SendParams sendStartedParams = m_avsConnectionManager->waitForNext(DIRECTIVE_TIMEOUT_DURATION);
ASSERT_TRUE(checkSentEventName(sendStartedParams, NAME_SPEECH_STARTED));

// Media Player has finished.
ASSERT_EQ(m_speechSynthesizerObserver->waitForNext(
        WAIT_FOR_TIMEOUT_DURATION), SpeechSynthesizerObserver::SpeechSynthesizerState::FINISHED);

// SpeechFinished is sent here.
TestMessageSender::SendParams sendFinishedParams = m_avsConnectionManager->waitForNext(WAIT_FOR_TIMEOUT_DURATION);
ASSERT_TRUE(checkSentEventName(sendFinishedParams, NAME_SPEECH_FINISHED));

// Alerts channel regains the foreground.
//ASSERT_EQ(m_testClient->waitForFocusChange(WAIT_FOR_TIMEOUT_DURATION), FocusState::FOREGROUND);

}`

Build errors when building with KittAi enabled

I get the following error when compiling 0.3 release with KittAi enabled:

In member function ‘virtual void alexaClientSDK::integration::AudioInputProcessorTest::SetUp()’:
/home/shikha.bansal/AVS/0.3/alexa-client-sdk-master/Integration/test/AudioInputProcessorIntegrationTest.cpp:624:22: error: converting to ‘std::unordered_set<std::shared_ptralexaClientSDK::avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface >’ from initializer list would use explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&) [with _Value = std::shared_ptralexaClientSDK::avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface; _Hash =

The 4th input parameter for function "create" in KittAiKeyWordDetector.cpp is a pointer to KeyWordDetectorStateObserverInterface . However the caller function Setup in AudioInputProcessorIntegration.cpp (line 615) , passes 4th parameter as { }.

Any ideas ?

MessageRequest callbacks never triggered if disconnected

Hi,
We've found that the curl multi interface with easy handles that HTTP2Transport uses is very "durable" - that is, disconnection of the underlying sockets don't appear to be readily raised to the SDK's level.

example -
with an active AVS session, disconnecting the network interface does not raise to a connection status change, at the SDK level. the connection is quietly restored when the network interface is restored.

We find this to be a problem, in particular, when sending events through MessageRouter::send - if the underlying transport is disconnected, we never get onSendCompleted/onExceptionReceived callbacks for the MessageRequest object.

furthermore - If the connection is restored, MessageRequests that were waiting on the old transport are lost (without callback).

Our suggestion is that HTTP2Transport::networkLoop might need some more explicit checking of connection status, as well as timeouts for outgoing messages.

Thanks

MessageRouter::disconnectAllTransportsLocked flow leads to erase while iterating transports vector

MessageRouter::disconnectAllTransportsLocked uses a range-based for to iterate m_transports. this conflicts with the transport disconnect flow, which leads back to MessageRouter::onDisconnected and if still connected, an erase-remove on m_transports. This invalidates the outer iterator used by disconnectAllTransportsLocked, and can lead to segfault -

#0  0x76e6609c in alexaClientSDK::acl::MessageRouter::disconnectAllTransportsLocked (this=0xa4c7b8, reason=alexaClientSDK::acl::SERVER_ENDPOINT_CHANGED) at ../../../src/ACL/src/Transport/MessageRouter.cpp:177
#1  0x76e65834 in alexaClientSDK::acl::MessageRouter::setAVSEndpoint (this=0xa4c7b8, avsEndpoint=...) at ../../../src/ACL/src/Transport/MessageRouter.cpp:91
#2  0x0007a90c in AVS2Service::setEndpointLocked (this=0xad2140) at voiceservice_avs2.cxx:576
#3  0x0007b208 in AVS2Service::handleSetEndpointDirective (this=this@entry=0xad2140, directive=...) at voiceservice_avs2.cxx:881
#4  0x0007fc48 in AVS2Service::receive (this=0xad2140, msg=...) at voiceservice_avs2.cxx:791
#5  0x76e65cec in alexaClientSDK::acl::MessageRouter::__lambda9::operator() (__closure=0xb1b96c) at ../../../src/ACL/src/Transport/MessageRouter.cpp:158

our local solution was to set m_connectionStatus = ConnectionStatus::DISCONNECTED before iterating the transports and calling disconnect() on each.

starting point for developing skill

Hi
I am trying to identify the starting stage for developing skills on top of C++ sdk. i am not able to start on top of it. I have created few skills uing java and python. So i was wondering if there any document or step by step process regarding to that.

Building with `MediaPlayer` error

When I built with MediaPlayer (v0.4), an error came out:
Linking CXX executable MediaPlayerTest
undefined reference to `g_type_check_instance_is_fundamentally_a'

issue while performing cmake

HI while performing cmake on the source folder i am getting the following error in GTest. I have already installed gtest libraries

_Creating the build directory for the AlexaClientSDK with build type: DEBUG
No keyword detector type specified, skipping build of keyword detector.
CMake Error at /usr/local/share/cmake-3.9/Modules/GoogleTest.cmake:127 (if):
if given arguments:

"AlexaClientSDKInitTest" "IN_LIST" "allKeywords"

Unknown arguments specified
Call Stack (most recent call first):
tools/Testing.cmake:22 (GTEST_ADD_TESTS)
AVSCommon/AVS/test/CMakeLists.txt:2 (discover_unit_tests)

-- Configuring incomplete, errors occurred!_

how to proceed further?

The attachment writer interface should take a `const void*` instead of `void*`

diff -uNr a/ACL/test/Transport/Common/TestableAttachmentWriter.cpp b/ACL/test/Transport/Common/TestableAttachmentWriter.cpp
--- a/ACL/test/Transport/Common/TestableAttachmentWriter.cpp	2017-05-26 19:19:00.000000000 -0400
+++ b/ACL/test/Transport/Common/TestableAttachmentWriter.cpp	2017-06-07 13:53:42.403607000 -0400
@@ -29,7 +29,7 @@
         InProcessAttachmentWriter{dummySDS}, m_writer{std::move(writer)}, m_hasWriteBeenInvoked{false} {
 }
 
-std::size_t TestableAttachmentWriter::write(void* buf, std::size_t numBytes, WriteStatus* writeStatus) {
+std::size_t TestableAttachmentWriter::write(const void* buf, std::size_t numBytes, WriteStatus* writeStatus) {
 
     bool simulatePause = false;
 
@@ -55,4 +55,4 @@
 }
 
 } // namespace acl
-} // namespace alexaClientSDK
\ No newline at end of file
+} // namespace alexaClientSDK
diff -uNr a/ACL/test/Transport/Common/TestableAttachmentWriter.h b/ACL/test/Transport/Common/TestableAttachmentWriter.h
--- a/ACL/test/Transport/Common/TestableAttachmentWriter.h	2017-05-26 19:19:00.000000000 -0400
+++ b/ACL/test/Transport/Common/TestableAttachmentWriter.h	2017-06-07 13:53:22.383608000 -0400
@@ -40,7 +40,7 @@
     TestableAttachmentWriter(std::shared_ptr<avsCommon::utils::sds::InProcessSDS> dummySDS,
                              std::unique_ptr<avsCommon::avs::attachment::AttachmentWriter> writer);
 
-    std::size_t write(void* buf, std::size_t numBytes, WriteStatus* writeStatus) override;
+    std::size_t write(const void* buf, std::size_t numBytes, WriteStatus* writeStatus) override;
 
     void close() override;
 
@@ -54,4 +54,4 @@
 } // namespace acl
 } // namespace alexaClientSDK
 
-#endif // ALEXA_CLIENT_SDK_ACL_TEST_TRANSPORT_TESTABLE_ATTACHMENT_WRITER_H_
\ No newline at end of file
+#endif // ALEXA_CLIENT_SDK_ACL_TEST_TRANSPORT_TESTABLE_ATTACHMENT_WRITER_H_
diff -uNr a/AVSCommon/AVS/include/AVSCommon/AVS/Attachment/AttachmentWriter.h b/AVSCommon/AVS/include/AVSCommon/AVS/Attachment/AttachmentWriter.h
--- a/AVSCommon/AVS/include/AVSCommon/AVS/Attachment/AttachmentWriter.h	2017-05-26 19:19:00.000000000 -0400
+++ b/AVSCommon/AVS/include/AVSCommon/AVS/Attachment/AttachmentWriter.h	2017-06-07 13:42:36.439616000 -0400
@@ -59,7 +59,7 @@
      * @param[out] writeStatus The out-parameter where the resulting state of the write will be expressed.
      * @return The number of bytes written as a result of this call.
      */
-    virtual std::size_t write(void* buf, std::size_t numBytes, WriteStatus* writeStatus) = 0;
+    virtual std::size_t write(const void* buf, std::size_t numBytes, WriteStatus* writeStatus) = 0;
 
     /**
      * The close function.  An implementation will take care of any resource management when a writer no longer
diff -uNr a/AVSCommon/AVS/include/AVSCommon/AVS/Attachment/InProcessAttachmentWriter.h b/AVSCommon/AVS/include/AVSCommon/AVS/Attachment/InProcessAttachmentWriter.h
--- a/AVSCommon/AVS/include/AVSCommon/AVS/Attachment/InProcessAttachmentWriter.h	2017-05-26 19:19:00.000000000 -0400
+++ b/AVSCommon/AVS/include/AVSCommon/AVS/Attachment/InProcessAttachmentWriter.h	2017-06-07 13:42:36.439616000 -0400
@@ -52,7 +52,7 @@
      */
     ~InProcessAttachmentWriter();
 
-    std::size_t write(void* buf, std::size_t numBytes, WriteStatus* writeStatus) override;
+    std::size_t write(const void* buf, std::size_t numBytes, WriteStatus* writeStatus) override;
 
     void close() override;
 
diff -uNr a/AVSCommon/AVS/src/Attachment/InProcessAttachmentWriter.cpp b/AVSCommon/AVS/src/Attachment/InProcessAttachmentWriter.cpp
--- a/AVSCommon/AVS/src/Attachment/InProcessAttachmentWriter.cpp	2017-05-26 19:19:00.000000000 -0400
+++ b/AVSCommon/AVS/src/Attachment/InProcessAttachmentWriter.cpp	2017-06-07 13:42:36.439616000 -0400
@@ -62,7 +62,7 @@
     close();
 }
 
-std::size_t InProcessAttachmentWriter::write(void* buff, std::size_t numBytes, WriteStatus* writeStatus) {
+std::size_t InProcessAttachmentWriter::write(const void* buff, std::size_t numBytes, WriteStatus* writeStatus) {
     if (!writeStatus) {
         ACSDK_ERROR(LX("writeFailed").d("reason", "writeStatus is nullptr"));
         return 0;

MessageRouter::send() does not take the m_connectionMutex

Hello,

I was wondering if MessageRouter::send() should actually take the m_connectionMutex lock? When inspecting other methods in the class, when m_activeTransport is read and/or queried, m_connectionMutex is locked (recursively, but it is locked).

Thanks,
Luis

Problems with sensory wakeword integration tests

Hi.

I'm getting started with this SDK and trying to run integration tests.
Prequisite: I've compiled the latest gtreamer and other required libraries.

1.I've run cmake:

cmake /home/pi/AlexaSDK/alexa-client-sdk/ -DCMAKE_BUILD_TYPE=DEBUG -DGSTREAMER_MEDIA_PLAYER=ON -DCMAKE_PREFIX_PATH=/home/pi/AlexaSDK/gstreamer -DSENSORY_KEY_WORD_DETECTOR=ON -DSENSORY_KEY_WORD_DETECTOR_LIB_PATH=/home/pi/AlexaSDK/alexa-rpi/lib/libsnsr.a -DSENSORY_KEY_WORD_DETECTOR_INCLUDE_DIR=/home/pi/AlexaSDK/alexa-rpi/include

It completes OK.

  1. I've filled the AlexaClientSDKConfig.json and run the connection script.

It also completes OK.

  1. I've copied the spot-alexa-rpi-31000.snsr to build folder under KWD/inputs/SensoryModels.

  2. I've run make.
    It compiles ok.

  3. I run "make all integration"

It fails all Sensory related tests due being unable to find the .snsr file.
2017-07-04 11:59:18.256 [ 1] E SensoryKeywordDetector:initFailed:reason=loadingSensoryModelFailed,error=snsrLoad(): task: No such file or directory (open "...s/SensoryModels/spot-alexa-rpi-31000.snsr")


What do I do wrong here? The three dots seem like some default path value is used somewhere. However I cannot find where. The built was done in clean folder without any pre-existing content.

EXPECTING_SPEECH + SPEAK directive simultaneously on multi-turn conversation.

Hi,
My name is Juliano Ribeiro and I work for Qualcomm.
I notice that the current behavior from AVS SDK for EXPECTING_SPEECH Directive is to stop MediaPlayer in case any SPEAK directive is being playing out.

So, when I ask "Alexa, What is on my shopping list?" If shopping list is bigger then 5 items response from AVS will be 6 SPEAK directives (one for each item + 1 question asking if I would like to listen the rest of the items) + 1 EXPECTING_SPEECH ( to capture my response).

The problem with this use case is that EXPECTING_SPEECH directive is forcing MediaPlayer to STOP SPEAK directive and the question is interrupted as soon as it starts. In other words user can not listen to the question and does`t know what is happening.
*Note that, last SPEAK and EXPECTING_SPEECH are reaching device almost at same time.

Said that, here are my questions:

  1. Is EXPECTING_SPEECH suppose to force MediaPlayer to stop Speak directives content if they are playing?
  2. Is EXPECTING_SPEECH suppose to arrive together with SPEAK directive? I thought that EXPECTING_SPEECH would only be sent after device reports to the clould EXPECTING_SPEECH Event.

Can you please help me to review that?

Multi-turn conversation where we have just 1 SPEAK + 1 EXPECTING_SPEECH is working fine.

Thank you in advanced.
Juliano Ribeiro

Authorizing questions

Hi friends,

  1. There are 7 steps in the Procedure for Obtaining Refresh and Access Tokens. Dose AVS SDK 0.4 realize from step 6, and we should realize the first 5 steps?(https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/docs/authorizing-your-alexa-enabled-product-from-an-android-or-ios-mobile-app)

  2. TEST_F(AlexaAuthorizationDelegateTest, refreshAuthToken) fail, could you tell me why?
    ...
    [ RUN ] AlexaAuthorizationDelegateTest.refreshAuthToken
    ConfigurationNode:initializeSuccess:configuration=redacted
    HttpPost:doPostSucceeded:code=400
    AuthDelegate:handleLwaResponseFailed:error=unauthorized_client,isUnrecoverable=false
    AuthDelegate:calculatedTimeToRetry:delayMs=0
    HttpPost:doPostSucceeded:code=400
    AuthDelegate:handleLwaResponseFailed:error=unauthorized_client,isUnrecoverable=false
    AuthDelegate:calculatedTimeToRetry:delayMs=798
    HttpPost:doPostSucceeded:code=400
    AuthDelegate:handleLwaResponseFailed:error=unauthorized_client,isUnrecoverable=false
    AuthDelegate:calculatedTimeToRetry:delayMs=2803
    HttpPost:doPostSucceeded:code=400
    AuthDelegate:handleLwaResponseFailed:error=unauthorized_client,isUnrecoverable=false
    AuthDelegate:calculatedTimeToRetry:delayMs=3106
    HttpPost:doPostSucceeded:code=400
    AuthDelegate:handleLwaResponseFailed:error=unauthorized_client,isUnrecoverable=false
    AuthDelegate:calculatedTimeToRetry:delayMs=10162
    HttpPost:doPostSucceeded:code=400
    AuthDelegate:handleLwaResponseFailed:error=unauthorized_client,isUnrecoverable=false
    AuthDelegate:calculatedTimeToRetry:delayMs=16145
    HttpPost:doPostSucceeded:code=400
    AuthDelegate:handleLwaResponseFailed:error=unauthorized_client,isUnrecoverable=false
    AuthDelegate:calculatedTimeToRetry:delayMs=39762
    /work/code/r16midea/alexa-client-sdk-master/Integration/test/AlexaAuthorizationDelegateTest.cpp:83: Failure
    Value of: tokenRefreshed
    Actual: false
    Expected: true
    Refreshing the auth token timed out.
    [ FAILED ] AlexaAuthorizationDelegateTest.refreshAuthToken (60040 ms)
    ...

issues while performing cmake

HI i was trying to perform cmake in the new build directory and following the steps to make a generic Linux Build and i am trying with KItt.ai model. While performing the cmake i am getting following error inspite of providing correct parameters for Kitt.ai Following is the error i am getting

Creating the build directory for the AlexaClientSDK with build type: DEBUG
Creating AlexaClientSDK with keyword detector type: KittAi
CMake Error at /usr/local/share/cmake-3.9/Modules/GoogleTest.cmake:127 (if):
if given arguments:

"AlexaClientSDKInitTest" "IN_LIST" "allKeywords"

Unknown arguments specified
Call Stack (most recent call first):
tools/Testing.cmake:22 (GTEST_ADD_TESTS)
AVSCommon/AVS/test/CMakeLists.txt:2 (discover_unit_tests)

-- Configuring incomplete, errors occurred!

How to free up resources(SDS resources) with AudioInputProcessor

Hello,

I am using logic from AudioInputProcessorIntegrationTest.cpp to create system which keeps listening for WakeWord triggers and eventually initiate Alexa voice based interaction. As is done in SetUp for class AudioInputProcessorTest, m_AudioBufferWriter is created to which we have to write audio stream data.

Now as the program detects Wakeword multiple times, the resources(reader to buffer) are getting locked, they are being set by:

    size_t nWords = 1024*1024;
    size_t wordSize = 2;
    size_t maxReaders = 3;
    size_t bufferSize = AudioInputStream::calculateBufferSize(nWords, wordSize, maxReaders);

And this is the error I am getting in my logs:

[  5] I ?:?::SharedDataStream::createReader failed: all readers are already in use.
[  5] E InProcessAttachmentReader:ConstructorFailed:reason=could not create an SDS reader
[  5] E InProcessAttachmentReader:createFailed:reason=object not fully created
[  5] E AudioInputProcessor:executeRecognizeFailed:reason=Failed to create attachment reader

I have tried to use m_AudioBufferWriter->close(); and m_AudioBufferWriter.reset(); to free up the SDS reader attached, as also used in test cases for SDS, AVSCommon/Utils/test/SharedDataStreamTest.cpp but they are not working as I was expecting they would. What is the correct way to do this? Is increasing maxReaders only option?

Problems with authentication

Hi,

I'm getting started with this SDK. I followed the Quick Start Guide to build the SDK for Linux.
When I try to run AuthServer, I have this message in the console:

The refresh request failed with the response code 400. This might be due to a bad refresh token or bad client data. We will continue with getting a refresh token, discarding the one in the file.

When I open the link http://127.0.0.1:3000/ in my browser, I have this message:

We're sorry!
An error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly.

Error Summary
400 Bad Request
The redirect URI you provided has not been whitelisted for your application. Please add your redirect URI in the 'Allowed Return URLs' section under 'Web Settings' for your Security Profile on Amazon Developer Portal.
Request Details
scope=alexa%3Aall
redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauthresponse
response_type=code
client_id=client_id
scope_data=%7B%22alexa%3Aall%22%3A%7B%22productID%22%3A%22 deviceTypeId %22%2C%22productInstanceAttributes%22%3A%7B%22deviceSerialNumber%22%3A%22123456%22%7D%7D%7D

In my developer portal, Allowed Origins is https://localhost:3000, Allowed Return URLs is https://localhost:3000/authresponse

And the file Integration/AlexaClientSDKConfig.json is filled like this:

{
"authDelegate":{
"clientSecret":clientSecret,
"deviceSerialNumber":"123456",
"refreshToken":"",
"clientId":,clientId
"deviceTypeId":deviceTypeId
}
}

I got the clientSecret, clientId and deviceTypeId from my developer portal.

Any idea of what I am doing wrong? Thanks.

ContextManager:updateStatesLoopFailed:reason=stateProviderTimedOut

Hi, all

I have made an alexa client demo based alexa-client-sdk-0.5.
And, i can make conversation with alexa-client over my microphone.
Then, i added some code about led and button to handle variable status of aleax-client.
Most time, the program works well.
some time some error appeared.

log is below:

[  354.196902] multi_ctrl_breath_work_fn, new breath work is queued
2017-07-05 01:36:30.895 [  3] I ?:?::x-amzn-requestid: 0e35e3fffec495ae-00004589-0005dfae-7c1117f238211679-dbef60ff-31
2017-07-05 01:36:32.984 [  9] I ?:?::The parsed JSON document does not contain a direct child node with the key:'dialogRequestId'.
2017-07-05 01:36:32.999 [  9] I DirectiveSequencer:onDirective:directive={"namespace\:"SpeechRecognizer"\,name\:"StopCapture"\,messageId\:"6554fbde-31c4-4f2e-8592-d23b608961a7"\,dialogRequestId\:""}
2017-07-05 01:36:33.014 [  a] I DirectiveRouter:handleDirectiveImmediately:messageId=6554fbde-31c4-4f2e-8592-d23b608961a7,action=calling
================>>Alertsstat changed
===>now channel is FOREGROUND
2017-07-05 01:36:33.026 [  6] 0 AudioInputProcessor:executeOnFocusChanged:reason=Lost focus
2017-07-05 01:36:33.029 [  3] I InProcessAttachmentReader:readFailed:reason=SDS is closed
-----mode OFF-------
-----mode OFF-------
2017-07-05 01:36:33.662 [  3] I ?:?::x-amzn-requestid: 0e35e3fffec495ae-00004589-0005dfae-7c1117f238211679-dbef60ff-33
2017-07-05 01:36:41.728 [  8] 0 ContextManager:buildContextSuccessful:context={"context"\:[{"header"\:{"namespace"\:"SpeechSynthesizer"\,"name"\:"SpeechState"}\,"payload"\:{"token"\:"amzn1.as-ct.v1.DOMAIN\:WIKIPEDIA#ACRI#WikiPrompt.766c53bb-9fe9-4c2a-9a66-96db35775367"\,"offsetInMilliseconds"\:0\,"playerActivity"\:"FINISHED"}}\,{"header"\:{"namespace"\:"SpeechRecognizer"\,"name"\:"RecognizerState"}\,"payload"\:{"wakeword"\:"ALEXA"}}]}
================>>Alertsstat changed
===>now channel is BACKGROUND
2017-07-05 01:36:41.763 [  6] I DirectiveProcessor:setDialogRequestId:dialogRequestId=cb1e3062-beb5-49c3-9ae8-4de244327276
2017-07-05 01:36:41.780 [  6] 0 CapabilityAgent:bu[  365.615806] multi_ctrl_breath_work_fn, new breath work is queued
ildJsonEventString:messageId=4e4ab92a-8356-4158-bd83-2bf0aecebbb0,namespace=SpeechRecognizer,name=Recognize
-----mode OFF-------
2017-07-05 01:36:44.419 [  9] I ?:?::The parsed JSON document does not contain a direct child node with the key:'dialogRequestId'.
2017-07-05 01:36:44.427 [  9] I DirectiveSequencer:onDirective:directive={"namespace\:"SpeechRecognizer"\,name\:"StopCapture"\,messageId\:"02f90b1d-fefd-40a3-80b3-dc746b0c8f6f"\,dialogRequestId\:""}
2017-07-05 01:36:44.445 [  a] I DirectiveRouter:handleDirectiveImmediately:messageId=02f90b1d-fefd-40a3-80b3-dc746b0c8f6f,action=calling
================>>Alertsstat changed
===>now channel is FOREGROUND
2017-07-05 01:36:44.457 [  6] 0 AudioInputProcessor:executeOnFocusChanged:reason=Lost focus
2017-07-05 01:36:44.460 [  3] I InProcessAttachmentReader:readFailed:reason=SDS is closed
-----mode OFF-------
-----mode OFF-------
2017-07-05 01:36:45.037 [  3] I ?:?::x-amzn-requestid: 0e35e3fffec495ae-00004589-0005dfae-7c1117f238211679-dbef60ff-35
2017-07-05 01:36:45.954 [  9] I DirectiveSequencer:onDirective:directive={"namespace\:"SpeechSynthesizer"\,name\:"Speak"\,messageId\:"b53d48a0-3745-41ce-9f05-2dd0c6e3cb36"\,dialogRequestId\:"cb1e3062-beb5-49c3-9ae8-4de244327276"}
2017-07-05 01:36:45.972 [  a] I DirectiveRouter:preHandleDirective:messageId=b53d48a0-3745-41ce-9f05-2dd0c6e3cb36,action=calling
2017-07-05 01:36:45.983 [  a] 0 CapabilityAgent:addingMessageIdToMap:messageId=b53d48a0-3745-41ce-9f05-2dd0c6e3cb36
2017-07-05 01:36:45.975 [  9] I DirectiveSequencer:onDirective:directive={"namespace\:"SpeechSynthesizer"\,name\:"Speak"\,messageId\:"debb17e1-9973-48cc-bffa-a9dcf690ad5e"\,dialogRequestId\:"cb1e3062-beb5-49c3-9ae8-4de244327276"}
2017-07-05 01:36:45.993 [  b] I DirectiveRouter:handleDirective:messageId=b53d48a0-3745-41ce-9f05-2dd0c6e3cb36,action=calling
2017-07-05 01:36:46.014 [  9] I DirectiveSequencer:onDirective:directive={"namespace\:"SpeechRecognizer"\,name\:"ExpectSpeech"\,messageId\:"3136ec27-92f8-4299-8939-abf10804383f"\,dialogRequestId\:"cb1e3062-beb5-49c3-9ae8-4de244327276"}
================>>Alertsstat changed
===>now channel is BACKGROUND
ectiveRouter:preHandleDirective:messageId=debb17e1-9973-48cc-bffa-a9dcf690ad5e,action=calling
2017-07-05 01:36:46.060 [  5] 0 MediaPlayer:handleSetSourceCalled
2017-07-05 01:36:46.065 [  a] 0 CapabilityAgent:addingMessageIdToMap:messageId=debb17e1-9973-48cc-bffa-a9dcf690ad5e
2017-07-05 01:36:46.090 [  a] I DirectiveRouter:preHandleDirective:messageId=3136ec27-92f8-4299-8939-abf10804383f,action=calling
2017-07-05 01:36:46.105 [  a] 0 CapabilityAgent:addingMessageIdToMap:messageId=3136ec27-92f8-4299-8939-abf10804383f
-----mode OFF-------
2017-07-05 01:36:46.158 [  5] 0 MediaPlayer:handlePlayCalled
2017-07-05 01:36:46.163 [  5] 0 MediaPlayer:doStopSuccess:reason=alreadyStopped
2017-07-05 01:36:46.879 [  5] 0 MediaPlayer:callingOnPlaybackStarted
2017-07-05 01:36:46.887 [  5] 0 MediaPlayer:handleGetOffsetInMillisecondsCalled
2017-07-05 01:36:46.892 [  7] 0 ContextManager:updateStateLocked:action=updatedState,state={"token"\:"amzn1.as-ct.v1.ThirdPartySdkSpeechlet#ACRI#AlexaSkillsKitActveAudio_ee44f0b8-10a9-4c1b-b91c-8062c2f9b5c1"\,"offsetInMilliseconds"\:610\,"playerActivity"\:"PLAYING"},namespace=SpeechSynthesizer,name=SpeechState
2017-07-05 01:36:46.919 [  7] 0 CapabilityAgent:buildJsonEventString:messageId=4446fe63-39e0-4d4c-abce-d9bb8b6e6498,namespace=SpeechSynthesizer,name=SpeechStarted
2017-07-05 01:36:52.612 [  3] I ?:?::x-amzn-requestid: 0e35e3fffec495ae-00004589-0005dfae-7c1117f238211679-dbef60ff-37
input: type=2,code=0,value 1
-------------- SYN_REPORT ------------
signal(volume change) is send to comsumer!
numid=1,iface=MIXER,name='Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=26,step=0
  : values=7,7
  | dBminmax-min=-0.39dB,max=0.00dB
current alexa volume is: 64,codec vol is 8, step value is : 4
-----mode ADJUST_VOLUME:4-------
save volume m_currentVolume:4,line(392)
tmpbuf:2
tmpbuf:4
[  393.096541] multi_ctrl_breath_work_fn, new breath work is queued
2017-07-05 01:37:11.706 [  8] E ContextManager:updateStatesLoopFailed:reason=stateProviderTimedOut
2017-07-05 01:37:11.712 [  6] E **AudioInputProcessor:executeOnContextFailure:error=STATE_PROVIDER_TIMEDOUT**

my code:

void AlexaClient::InitService(std::string configPath, std::string inputPath)
{
    m_configPath = configPath;
    m_inputPath = inputPath;

    bool isEnabled = false;
    std::ifstream infile(m_configPath);
    assert(infile.good());
    assert(AlexaClientSDKInit::initialize({&infile}));

    m_infoled = std::make_shared<InfoLed>();
    m_infoled->init();

    m_authObserver = std::make_shared<AuthObserver>();
    m_authDelegate = AuthDelegate::create();
    m_authDelegate->setAuthObserver(m_authObserver);

    m_attachmentManager = std::make_shared<avsCommon::avs::attachment::AttachmentManager>(
            AttachmentManager::AttachmentType::IN_PROCESS);
    m_connectionStatusObserver = std::make_shared<ConnectionStatusObserver>();
    m_clientMessageHandler = std::make_shared<ClientMessageHandler>(m_attachmentManager);
    m_messageRouter = std::make_shared<HTTP2MessageRouter>(m_authDelegate, m_attachmentManager);
    m_exceptionEncounteredSender = std::make_shared<TestExceptionEncounteredSender>();

    DirectiveHandlerConfiguration handlerConfig;
    handlerConfig[SET_MUTE_PAIR] = BlockingPolicy::NON_BLOCKING;
    handlerConfig[SPEAK_PAIR] = BlockingPolicy::BLOCKING;
    m_directiveHandler = std::make_shared<TestDirectiveHandler>(handlerConfig);

    m_directiveSequencer = DirectiveSequencer::create(m_exceptionEncounteredSender);
    m_messageInterpreter = std::make_shared<MessageInterpreter>(
            m_exceptionEncounteredSender,
            m_directiveSequencer,
            m_attachmentManager);

    m_StateObserver = std::make_shared<AipStateObserver>();
    assert(nullptr != m_StateObserver);

    m_AlexaClientObserver = std::make_shared<AlexaClientObserver>(std::string("Content"));
    m_AlexaClientObserver_alerts = std::make_shared<AlexaClientObserver>(std::string("Alerts"));
    m_AlexaClientObserver_dialog = std::make_shared<AlexaClientObserver>(std::string("Dialog"));
    m_AlexaClientObserver_alarm = std::make_shared<AlexaClientObserver>(std::string("Alarm"));

    m_AlexaStatIndicator = std::make_shared<AlexaStatIndicator>(
            m_AlexaClientObserver_alarm,
            m_AlexaClientObserver_alerts,
            m_AlexaClientObserver_dialog,
            m_AlexaClientObserver,
            m_StateObserver,
            m_infoled
            );

    m_compatibleAudioFormat.sampleRateHz = COMPATIBLE_SAMPLE_RATE;
    m_compatibleAudioFormat.sampleSizeInBits = COMPATIBLE_SAMPLE_SIZE_IN_BITS;
    m_compatibleAudioFormat.numChannels = COMPATIBLE_NUM_CHANNELS;
    m_compatibleAudioFormat.endianness = COMPATIBLE_ENDIANNESS;
    m_compatibleAudioFormat.encoding = COMPATIBLE_ENCODING;

    size_t nWords = 1024*1024;
    size_t wordSize = 2;
    size_t maxReaders = 4;
    size_t bufferSize = AudioInputStream::calculateBufferSize(nWords, wordSize, maxReaders);

    auto m_Buffer = std::make_shared<AudioInputStream::Buffer>(bufferSize);
    auto m_Sds = AudioInputStream::create(m_Buffer, wordSize, maxReaders);
    assert(nullptr != m_Sds);
    m_AudioBuffer = std::move(m_Sds);
    m_AudioBufferWriter = m_AudioBuffer->createWriter(AudioInputStream::Writer::Policy::NONBLOCKABLE);
    assert(nullptr != m_AudioBufferWriter);

    m_focusManager = std::make_shared<FocusManager>();
    m_contextManager = ContextManager::create();
    assert(nullptr != m_contextManager);
    m_stateProvider = std::make_shared<testStateProvider>(m_contextManager);
    m_contextManager->setStateProvider(VOLUME_STATE_PAIR, m_stateProvider);
    m_focusManager = std::make_shared<FocusManager>();

    // m_focusManager->acquireChannel(CONTENT_CHANNEL_NAME, m_AlexaClientObserver, CONTENT_ACTIVITY_ID);
    // m_focusManager->acquireChannel(DIALOG_CHANNEL_NAME, m_AlexaClientObserver_dialog, DIALOG_ACTIVITY_ID);
    m_focusManager->acquireChannel(ALERTS_CHANNEL_NAME, m_AlexaClientObserver_alerts, ALERTS_ACTIVITY_ID);

    m_contextManager = ContextManager::create();
    assert(nullptr != m_contextManager);

    // Set up connection and connect
    m_avsConnectionManager = std::make_shared<TestMessageSender>(
            m_messageRouter,
            isEnabled,
            m_connectionStatusObserver,
            m_messageInterpreter);
    assert(nullptr != m_avsConnectionManager);
    connect();

    // Set up audio input processor
    m_AudioInputProcessor = AudioInputProcessor::create(
            m_directiveSequencer,
            m_avsConnectionManager,
            m_contextManager,
            m_focusManager,
            m_exceptionEncounteredSender
            );
    assert(nullptr != m_AudioInputProcessor);
    m_AudioInputProcessor->addObserver(m_StateObserver);

    assert(m_directiveSequencer->addDirectiveHandler(m_AudioInputProcessor));

    m_WakeWordTrigger = std::make_shared<WakeWordTrigger>(m_compatibleAudioFormat, m_AudioInputProcessor);
    kwd::KittAiKeyWordDetector::KittAiConfiguration config;
    config = {m_inputPath+MODEL_FILE, MODEL_KEYWORD, KITTAI_SENSITIVITY};
    m_detector = kwd::KittAiKeyWordDetector::create(
            m_AudioBuffer,
            m_compatibleAudioFormat,
            {m_WakeWordTrigger},
            std::unordered_set<std::shared_ptr<KeyWordDetectorStateObserverInterface>>(),
            inputPath + RESOURCE_FILE,
            {config},
            2.0,
            false);
    assert(nullptr != m_detector);

    m_AlexaKeyHandler = std::make_shared<AlexaKeyHandler>(m_compatibleAudioFormat,
            m_AudioBuffer,
            m_AudioInputProcessor,
            m_infoled);

    m_mediaPlayer = MediaPlayer::create();
    assert(nullptr != m_mediaPlayer);

    // Create and register the SpeechSynthesizer.
    m_speechSynthesizer = SpeechSynthesizer::create(m_mediaPlayer,
                                                    m_avsConnectionManager,
                                                    m_focusManager,
                                                    m_contextManager,
                                                    m_attachmentManager,
                                                    m_exceptionEncounteredSender);

    m_speechSynthesizerObserver = std::make_shared<TestSpeechSynthesizerObserver>();
    m_speechSynthesizer->addObserver(m_speechSynthesizerObserver);
    assert(m_directiveSequencer->addDirectiveHandler(m_speechSynthesizer));
}
void AlexaStatIndicator::mainLoop()
{
    FocusState last_stat = FocusState::NONE;

    system("aplay /data/mode_sound/hello.wav");

    while(m_isRuning) {
        FocusState curr_stat = FocusState::NONE;
        AudioInputProcessorObserverInterface::State aip_stat = AudioInputProcessorObserverInterface::State::IDLE;

        aip_stat = m_aipObserver->waitForNext(STAT_CHANGE_TIME_OUT_S);
        if(aip_stat == AudioInputProcessorObserverInterface::State::BUSY) {
            m_infoled->led_open(MODE_VP, 0);
        } else if (aip_stat == AudioInputProcessorObserverInterface::State::RECOGNIZING) {
            m_infoled->led_open(MODE_VP_WAKEUP, 0);
        } else if(aip_stat == AudioInputProcessorObserverInterface::State::EXPECTING_SPEECH) {
            m_infoled->led_open(MODE_VP_WAKEUP, 0);
        } else {

        }

        curr_stat = m_alertObserver->waitForFocusChange(STAT_CHANGE_TIME_OUT);
        if(curr_stat == FocusState::NONE && last_stat != FocusState::NONE) {
            m_infoled->led_open(MODE_OFF, 0);
        } else if(curr_stat == FocusState::BACKGROUND) {
            m_infoled->led_open(MODE_VP_WAKEUP, 0);
        } else if(curr_stat == FocusState::FOREGROUND) {
            m_infoled->led_open(MODE_OFF, 0);
        }

        last_stat = curr_stat;

        curr_stat = m_alarmObserver->waitForFocusChange(STAT_CHANGE_TIME_OUT);
        if(curr_stat == FocusState::FOREGROUND) {
            // m_infoled->led_open(MODE_OFF, 0);
        } else if (curr_stat == FocusState::BACKGROUND) {
            // m_infoled->led_open(MODE_VP_WAKEUP, 0);
        } else {

        }

        curr_stat = m_dialogObserver->waitForFocusChange(STAT_CHANGE_TIME_OUT);
        if(curr_stat != FocusState::NONE) {
            // m_infoled->led_open(MODE_WIFI_ERR, 0);
        }

        curr_stat =  m_contentObserver->waitForFocusChange(STAT_CHANGE_TIME_OUT);
        if(curr_stat != FocusState::NONE) {
            // m_infoled->led_open(MODE_OFF, 0);
        }
    }

    printf("AlexaStatIndicator stat thread dead!\n");
}

Thanks.

Crash in HTTP2Transport::cleanupFinishedStreams()

We are getting several crashes in two different place in cleanupFinishedStreams (line 354 and 393) in 0.3. We upgraded to 0.3 in hopes that the issue was fixed, but we are still getting it. Is this a known issue and if so is it fixed on 0.4? Interestingly we only seem to be getting in in iOS, not Android.

Crashed: Thread
0 Gecko 0x1006eed28 alexaClientSDK::acl::HTTP2Transport::cleanupFinishedStreams() (HTTP2Transport.cpp:354)
1 Gecko 0x1006ee5f4 alexaClientSDK::acl::HTTP2Transport::networkLoop() (HTTP2Transport.cpp:265)
2 Gecko 0x1006ef738 void* std::__1::__thread_proxy<std::__1::tuple<void (alexaClientSDK::acl::HTTP2Transport::)(), alexaClientSDK::acl::HTTP2Transport> >(void*) (memory:2525)
3 libsystem_pthread.dylib 0x189ca568c _pthread_body + 240
4 libsystem_pthread.dylib 0x189ca559c _pthread_body + 282
5 libsystem_pthread.dylib 0x189ca2cb4 thread_start + 4

SDK 0.5 - HTTP2Transport attempts to take lock recursively

Hi,
When HTTP2Transport::connect is called it grabs the lock, sets up the curl handle, then calls HTTP2Transport::setupDownchannelStream. if setupDownchannelStream hits any errors, it calls setIsStopping, which tries to grab the HTTP2Transport lock again.

we've done a quick patch locally by changing setupDownchannelStream to always expect the lock to be held. this means HTTP2Transport::establishConnection now grabs the lock before calling setupDownchannelStream near the end - can you please advise if this should be safe?

Thanks,
Josh

Speech Recognizer - initiator + profile configuration

Hi,

We are implementing Speech Recognizer using profile as FAR_FIELD and initiator ad WAKEWORD.
According to AVS API if WAKEWORD is used for initiator then KEYWORD Indices are required to be sent by device to the cloud for 2nd stage of Wake Word verification.
I have a couple of questions as to that:

  1. Is it mandatory to send KEYWORD to cloud together with command buffer when WAKEWORD engine is in use?

  2. If not mandatory. How can I configure my AudioInputprocessor to use WAKEWORD and DO NOT provide keyword indices to could? I have tried to send AudioInputProcessor::INVALID_INDEX as indices BEGIN and END values but cloud is considering voice buffer as false detection almost all the time. As soon as I send the recognize event I am receiving a STOP directive almost immediately.
    m_aip->recognize(audioProvider, Initiator::WAKEWORD, aipBegin, aipEnd, keyword);

  3. If Mandatory. Can we switch and use TAP profile even if we have a WAKEWORD engine running? Looks like that only difference from TAP and WAKEWORD is the Wake Word 2nd stage Verification.

Thank you
Juliano Ribeiro

MediaPlayer: initPlayerFailed : reason = createSourceElement Failed

I did as the instructions of the README.MD, these below are already installed,

gstreamer 1.8.3, GStreamer Base Plugins 1.8.3 GStreamer Good Plugins 1.8.3 GStreamer Libav Plugin 1.8.3 GStreamer Ugly Plugins 1.8.3

but when I run the MediaPlayerTest, it show as below:

# ./MediaPlayerTest inputs/ [==========] Running 7 tests from 1 test case. [----------] Global test environment set-up. [----------] 7 tests from MediaPlayerTest [ RUN ] MediaPlayerTest.testStartPlayWaitForEnd MediaPlayer:initPlayerFailed:reason=createSourceElementFailed

CURLOPT_CAPATH not work

My AlexaClientSDKConfig.json as below:

{ "authDelegate" : { "clientId" : "INSERT_YOUR_CLIENT_ID_HERE", "refreshToken" : "INSERT_YOUR_REFRESH_TOKEN_HERE", "clientSecret" : "INSERT_YOUR_CLIENT_SECRET_HERE" }, "libcurlUtils" : { "CURLOPT_CAPATH" : "/etc/ssl/certs" } }

When I run AlexaCommunicationsLibraryTest, error follows:

# ./AlexaCommunicationsLibraryTest AlexaClientSDKConfig.json inputs/ [==========] Running 9 tests from 1 test case. [----------] Global test environment set-up. [----------] 9 tests from AlexaCommunicationsLibraryTest [ RUN ] AlexaCommunicationsLibraryTest.testConnectAndDisconnect ConfigurationNode:initializeSuccess HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty. AuthDelegate:calculatedTimeToRetry:delayMs=0 HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty. AuthDelegate:calculatedTimeToRetry:delayMs=983 HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty. AuthDelegate:calculatedTimeToRetry:delayMs=1142 HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty. AuthDelegate:calculatedTimeToRetry:delayMs=4108 HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error AuthDelegate:handleLwaResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty. AuthDelegate:calculatedTimeToRetry:delayMs=11064

It seems that the CA certificates is error as the error of curl_easy_perform. The path I set in the json file is my local path.

But When I set curl_easy_setopt(CURLOPT_SSL_VERIFYHOST,0L), it works correctly, the error gone.
Is my settings wrong?

compile error: AVS with sensory

Hi, I'm trying to build AVS SDK(v0.4.1) with sensory by cross-compiler,
Here is my version information:

  1. cross-compiler:

king@wks:~/Project/DB20_Linux/AVS/Alexa_Make$ /home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc --version
arm-linux-gnueabi-gcc (Linaro GCC 6.3-2017.02) 6.3.1 20170109
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

king@wks:~/Project/DB20_Linux/AVS/Alexa_Make$ /home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-g++ --version
arm-linux-gnueabi-g++ (Linaro GCC 6.3-2017.02) 6.3.1 20170109
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  1. My target-platform

/ # uname -a
Linux apq8009 3.18.44 #1 SMP PREEMPT Mon Jun 19 13:49:06 CST 2017 armv7l GNU/Linux

but I got some errors as below, please advise:

king@wks:~/Project/DB20_Linux/AVS/Alexa_Make$ cmake -DCURL_LIBRARY=/home/king/Project/DB20_Linux/AVS/Alexa_Make/AvsEnv/lib/libcurl.so -DCURL_INCLUDE_DIR=/home/king/Project/DB20_Linux/AVS/Alexa_Make/AvsEnv/include ../alexa-client-sdk_v0.4.1/alexa-client-sdk/ -DSENSORY_KEY_WORD_DETECTOR=ON -DSENSORY_KEY_WORD_DETECTOR_LIB_PATH=/home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a -DSENSORY_KEY_WORD_DETECTOR_INCLUDE_DIR=/home/king/Project/DB20_Linux/AVS/alexa-rpi-master/include
-- The CXX compiler identification is GNU 6.3.1
-- Check for working CXX compiler: /home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-g++
-- Check for working CXX compiler: /home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
No build type specified, defaulting to DEBUG.
Creating the build directory for the AlexaClientSDK with build type: DEBUG
Creating AlexaClientSDK with keyword detector type: Sensory
CMake Warning (dev) at ThirdParty/googletest-release-1.8.0/CMakeLists.txt:3 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH

This warning is for project developers. Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 6.3.1
-- Check for working C compiler: /home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc
-- Check for working C compiler: /home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at ThirdParty/googletest-release-1.8.0/googlemock/CMakeLists.txt:40 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at ThirdParty/googletest-release-1.8.0/googletest/CMakeLists.txt:47 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH

This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python (found version "2.7.6")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
Creating the build directory for the AVSUtils with build type: DEBUG
Creating AVSUtils with keyword detector type: Sensory
-- Found CURL: /home/king/Project/DB20_Linux/AVS/Alexa_Make/AvsEnv/lib/libcurl.so (found suitable version "7.54.0", minimum required is "7.43.0")
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the AVSCommon with build type: DEBUG
Creating AVSCommon with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the ACL with build type: DEBUG
Creating ACL with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the AuthDelegate with build type: DEBUG
Creating AuthDelegate with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the ADSL with build type: DEBUG
Creating ADSL with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the AFML with build type: DEBUG
Creating AFML with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the ContextManager with build type: DEBUG
Creating ContextManager with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the MediaPlayer with build type: DEBUG
Creating MediaPlayer with keyword detector type: Sensory
GStreamer based media player will not be built.
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the SENSORY with build type: DEBUG
Creating SENSORY with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the CapabilityAgents with build type: DEBUG
Creating CapabilityAgents with keyword detector type: Sensory
Creating the build directory for the AIP with build type: DEBUG
Creating AIP with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the SpeechSynthesizer with build type: DEBUG
Creating SpeechSynthesizer with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Creating the build directory for the Integration with build type: DEBUG
Creating Integration with keyword detector type: Sensory
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Please fill /home/king/Project/DB20_Linux/AVS/Alexa_Make/Integration/AlexaClientSDKConfig.json before you execute integration tests.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/king/Project/DB20_Linux/AVS/Alexa_Make

king@wks:/Project/DB20_Linux/AVS/Alexa_Make$ make
Scanning dependencies of target gmock_main
[ 1%] Building CXX object ThirdParty/googletest-release-1.8.0/googlemock/CMakeFiles/gmock_main.dir//googletest/src/gtest-all.cc.o
[ 1%] Building CXX object ThirdParty/googletest-release-1.8.0/googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o
[ 2%] Building CXX object ThirdParty/googletest-release-1.8.0/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 2%] Linking CXX static library libgmock_main.a
[ 2%] Built target gmock_main
Scanning dependencies of target gmock
[ 3%] Building CXX object ThirdParty/googletest-release-1.8.0/googlemock/CMakeFiles/gmock.dir/
/googletest/src/gtest-all.cc.o
[ 3%] Building CXX object ThirdParty/googletest-release-1.8.0/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 4%] Linking CXX static library libgmock.a
[ 4%] Built target gmock
Scanning dependencies of target gtest
[ 5%] Building CXX object ThirdParty/googletest-release-1.8.0/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 5%] Linking CXX static library libgtest.a
[ 5%] Built target gtest
Scanning dependencies of target gtest_main
[ 6%] Building CXX object ThirdParty/googletest-release-1.8.0/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 7%] Linking CXX static library libgtest_main.a
[ 7%] Built target gtest_main
Scanning dependencies of target AVSUtils
[ 8%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/AlexaClientSDKInit.cpp.o
[ 8%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/Configuration/ConfigurationNode.cpp.o
[ 9%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/Executor.cpp.o
[ 9%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/LibcurlUtils.cpp.o
[ 10%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/Logger.cpp.o
[ 10%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/Logger/Level.cpp.o
[ 11%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/Logger/LogEntry.cpp.o
[ 12%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/Logger/LogEntryBuffer.cpp.o
[ 12%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/Logger/LogEntryStream.cpp.o
[ 13%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/Logger/Logger.cpp.o
[ 13%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/Logger/ThreadIdAsString.cpp.o
[ 14%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/TaskQueue.cpp.o
[ 14%] Building CXX object AVSUtils/src/CMakeFiles/AVSUtils.dir/TaskThread.cpp.o
[ 15%] Linking CXX shared library libAVSUtils.so
[ 15%] Built target AVSUtils
Scanning dependencies of target ExampleLogger
[ 16%] Building CXX object AVSUtils/examples/ExampleLogger/src/CMakeFiles/ExampleLogger.dir/ExampleLogger.cpp.o
[ 17%] Linking CXX shared library libExampleLogger.so
[ 17%] Built target ExampleLogger
Scanning dependencies of target ExampleLoggerClient
[ 17%] Building CXX object AVSUtils/examples/ExampleLoggerClient/src/CMakeFiles/ExampleLoggerClient.dir/ExampleLoggerClient.cpp.o
[ 18%] Linking CXX executable ExampleLoggerClient
[ 18%] Built target ExampleLoggerClient
Scanning dependencies of target AlexaClientSDKInitTest
[ 19%] Building CXX object AVSUtils/test/CMakeFiles/AlexaClientSDKInitTest.dir/AlexaClientSDKInitTest.cpp.o
[ 19%] Linking CXX executable AlexaClientSDKInitTest
[ 19%] Built target AlexaClientSDKInitTest
Scanning dependencies of target ConfigurationNodeTest
[ 20%] Building CXX object AVSUtils/test/CMakeFiles/ConfigurationNodeTest.dir/ConfigurationNodeTest.cpp.o
[ 21%] Linking CXX executable ConfigurationNodeTest
[ 21%] Built target ConfigurationNodeTest
Scanning dependencies of target ExecutorTest
[ 21%] Building CXX object AVSUtils/test/CMakeFiles/ExecutorTest.dir/ExecutorTest.cpp.o
[ 22%] Linking CXX executable ExecutorTest
[ 22%] Built target ExecutorTest
Scanning dependencies of target LogEntryStreamTest
[ 22%] Building CXX object AVSUtils/test/CMakeFiles/LogEntryStreamTest.dir/LogEntryStreamTest.cpp.o
[ 23%] Linking CXX executable LogEntryStreamTest
[ 23%] Built target LogEntryStreamTest
Scanning dependencies of target LoggerTest
[ 23%] Building CXX object AVSUtils/test/CMakeFiles/LoggerTest.dir/LoggerTest.cpp.o
[ 24%] Linking CXX executable LoggerTest
[ 24%] Built target LoggerTest
Scanning dependencies of target TaskQueueTest
[ 25%] Building CXX object AVSUtils/test/CMakeFiles/TaskQueueTest.dir/TaskQueueTest.cpp.o
[ 25%] Linking CXX executable TaskQueueTest
[ 25%] Built target TaskQueueTest
Scanning dependencies of target TaskThreadTest
[ 26%] Building CXX object AVSUtils/test/CMakeFiles/TaskThreadTest.dir/TaskThreadTest.cpp.o
[ 26%] Linking CXX executable TaskThreadTest
[ 26%] Built target TaskThreadTest
Scanning dependencies of target AVSCommon
[ 26%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/AVSDirective.cpp.o
[ 27%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/AVSMessage.cpp.o
[ 28%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/AVSMessageHeader.cpp.o
[ 28%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/JSONUtils.cpp.o
[ 29%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/Timer.cpp.o
[ 29%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir//AVS/src/Attachment/Attachment.cpp.o
[ 30%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/
/AVS/src/Attachment/AttachmentManager.cpp.o
[ 30%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir//AVS/src/Attachment/InProcessAttachment.cpp.o
[ 31%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/
/AVS/src/Attachment/InProcessAttachmentReader.cpp.o
[ 32%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir//AVS/src/Attachment/InProcessAttachmentWriter.cpp.o
[ 32%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/
/AVS/src/CapabilityAgent.cpp.o
[ 33%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir//AVS/src/HandlerAndPolicy.cpp.o
[ 33%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/
/AVS/src/MessageRequest.cpp.o
[ 34%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir//AVS/src/NamespaceAndName.cpp.o
[ 34%] Building CXX object AVSCommon/src/CMakeFiles/AVSCommon.dir/
/Utils/src/UUIDGeneration.cpp.o
[ 35%] Linking CXX shared library libAVSCommon.so
[ 35%] Built target AVSCommon
Scanning dependencies of target TimerTest
[ 36%] Building CXX object AVSCommon/test/CMakeFiles/TimerTest.dir/TimerTest.cpp.o
[ 37%] Linking CXX executable TimerTest
[ 37%] Built target TimerTest
Scanning dependencies of target JSONUtilTest
[ 38%] Building CXX object AVSCommon/test/CMakeFiles/JSONUtilTest.dir/JSONUtilTest.cpp.o
[ 39%] Linking CXX executable JSONUtilTest
[ 39%] Built target JSONUtilTest
Scanning dependencies of target AttachmentCommonTestLib
[ 39%] Building CXX object AVSCommon/AVS/test/Attachment/Common/CMakeFiles/AttachmentCommonTestLib.dir/Common.cpp.o
[ 40%] Linking CXX static library libAttachmentCommonTestLib.a
[ 40%] Built target AttachmentCommonTestLib
Scanning dependencies of target HandlerAndPolicyTest
[ 41%] Building CXX object AVSCommon/AVS/test/CMakeFiles/HandlerAndPolicyTest.dir/HandlerAndPolicyTest.cpp.o
[ 41%] Linking CXX executable HandlerAndPolicyTest
[ 41%] Built target HandlerAndPolicyTest
Scanning dependencies of target AttachmentReaderTest
[ 41%] Building CXX object AVSCommon/AVS/test/CMakeFiles/AttachmentReaderTest.dir/Attachment/AttachmentReaderTest.cpp.o
[ 42%] Linking CXX executable AttachmentReaderTest
[ 42%] Built target AttachmentReaderTest
Scanning dependencies of target AttachmentTest
[ 43%] Building CXX object AVSCommon/AVS/test/CMakeFiles/AttachmentTest.dir/Attachment/AttachmentTest.cpp.o
[ 43%] Linking CXX executable AttachmentTest
[ 43%] Built target AttachmentTest
Scanning dependencies of target AttachmentWriterTest
[ 44%] Building CXX object AVSCommon/AVS/test/CMakeFiles/AttachmentWriterTest.dir/Attachment/AttachmentWriterTest.cpp.o
[ 44%] Linking CXX executable AttachmentWriterTest
[ 44%] Built target AttachmentWriterTest
Scanning dependencies of target CapabilityAgentTest
[ 45%] Building CXX object AVSCommon/AVS/test/CMakeFiles/CapabilityAgentTest.dir/CapabilityAgentTest.cpp.o
[ 45%] Linking CXX executable CapabilityAgentTest
[ 45%] Built target CapabilityAgentTest
Scanning dependencies of target NamespaceAndNameTest
[ 46%] Building CXX object AVSCommon/AVS/test/CMakeFiles/NamespaceAndNameTest.dir/NamespaceAndNameTest.cpp.o
[ 46%] Linking CXX executable NamespaceAndNameTest
[ 46%] Built target NamespaceAndNameTest
Scanning dependencies of target AttachmentManagerV2Test
[ 46%] Building CXX object AVSCommon/AVS/test/CMakeFiles/AttachmentManagerV2Test.dir/Attachment/AttachmentManagerV2Test.cpp.o
[ 47%] Linking CXX executable AttachmentManagerV2Test
[ 47%] Built target AttachmentManagerV2Test
Scanning dependencies of target UUIDGenerationTest
[ 47%] Building CXX object AVSCommon/Utils/test/CMakeFiles/UUIDGenerationTest.dir/UUIDGenerationTest.cpp.o
[ 48%] Linking CXX executable UUIDGenerationTest
[ 48%] Built target UUIDGenerationTest
Scanning dependencies of target SharedDataStreamTest
[ 48%] Building CXX object AVSCommon/Utils/test/CMakeFiles/SharedDataStreamTest.dir/SharedDataStreamTest.cpp.o
[ 49%] Linking CXX executable SharedDataStreamTest
[ 49%] Built target SharedDataStreamTest
Scanning dependencies of target ACL
[ 49%] Building CXX object ACL/src/CMakeFiles/ACL.dir/AVSConnectionManager.cpp.o
[ 50%] Building CXX object ACL/src/CMakeFiles/ACL.dir/EnumUtils.cpp.o
[ 50%] Building CXX object ACL/src/CMakeFiles/ACL.dir/Transport/CurlEasyHandleWrapper.cpp.o
[ 51%] Building CXX object ACL/src/CMakeFiles/ACL.dir/Transport/HTTP2MessageRouter.cpp.o
[ 51%] Building CXX object ACL/src/CMakeFiles/ACL.dir/Transport/HTTP2Stream.cpp.o
[ 52%] Building CXX object ACL/src/CMakeFiles/ACL.dir/Transport/HTTP2StreamPool.cpp.o
[ 52%] Building CXX object ACL/src/CMakeFiles/ACL.dir/Transport/HTTP2Transport.cpp.o
[ 53%] Building CXX object ACL/src/CMakeFiles/ACL.dir/Transport/MessageRouter.cpp.o
[ 54%] Building CXX object ACL/src/CMakeFiles/ACL.dir/Transport/MimeParser.cpp.o
[ 54%] Linking CXX shared library libACL.so
[ 54%] Built target ACL
Scanning dependencies of target ACLTransportCommonTestLib
[ 55%] Building CXX object ACL/test/Transport/Common/CMakeFiles/ACLTransportCommonTestLib.dir/Common.cpp.o
[ 55%] Building CXX object ACL/test/Transport/Common/CMakeFiles/ACLTransportCommonTestLib.dir/MimeUtils.cpp.o
[ 56%] Building CXX object ACL/test/Transport/Common/CMakeFiles/ACLTransportCommonTestLib.dir/TestableAttachmentManager.cpp.o
[ 56%] Building CXX object ACL/test/Transport/Common/CMakeFiles/ACLTransportCommonTestLib.dir/TestableAttachmentWriter.cpp.o
[ 57%] Building CXX object ACL/test/Transport/Common/CMakeFiles/ACLTransportCommonTestLib.dir/TestableMessageObserver.cpp.o
[ 58%] Linking CXX static library libACLTransportCommonTestLib.a
[ 58%] Built target ACLTransportCommonTestLib
Scanning dependencies of target AVSConnectionManagerTest
[ 58%] Building CXX object ACL/test/CMakeFiles/AVSConnectionManagerTest.dir/AVSConnectionManagerTest.cpp.o
[ 59%] Linking CXX executable AVSConnectionManagerTest
[ 59%] Built target AVSConnectionManagerTest
Scanning dependencies of target HTTP2StreamTest
[ 59%] Building CXX object ACL/test/CMakeFiles/HTTP2StreamTest.dir/Transport/HTTP2StreamTest.cpp.o
[ 60%] Linking CXX executable HTTP2StreamTest
[ 60%] Built target HTTP2StreamTest
Scanning dependencies of target MessageRouterTest
[ 61%] Building CXX object ACL/test/CMakeFiles/MessageRouterTest.dir/Transport/MessageRouterTest.cpp.o
[ 61%] Linking CXX executable MessageRouterTest
[ 61%] Built target MessageRouterTest
Scanning dependencies of target MimeParserTest
[ 62%] Building CXX object ACL/test/CMakeFiles/MimeParserTest.dir/Transport/MimeParserTest.cpp.o
[ 62%] Linking CXX executable MimeParserTest
[ 62%] Built target MimeParserTest
Scanning dependencies of target AuthDelegate
[ 62%] Building CXX object AuthDelegate/src/CMakeFiles/AuthDelegate.dir/AuthDelegate.cpp.o
[ 63%] Building CXX object AuthDelegate/src/CMakeFiles/AuthDelegate.dir/HttpPost.cpp.o
[ 63%] Linking CXX shared library libAuthDelegate.so
[ 63%] Built target AuthDelegate
Scanning dependencies of target ExampleAuthDelegateClient
[ 64%] Building CXX object AuthDelegate/examples/ExampleAuthDelegateClient/src/CMakeFiles/ExampleAuthDelegateClient.dir/ExampleAuthDelegateClient.cpp.o
[ 64%] Linking CXX executable ExampleAuthDelegateClient
[ 64%] Built target ExampleAuthDelegateClient
Scanning dependencies of target AuthDelegateTest
[ 65%] Building CXX object AuthDelegate/test/CMakeFiles/AuthDelegateTest.dir/AuthDelegateTest.cpp.o
[ 65%] Linking CXX executable AuthDelegateTest
[ 65%] Built target AuthDelegateTest
Scanning dependencies of target ADSL
[ 65%] Building CXX object ADSL/src/CMakeFiles/ADSL.dir/DirectiveProcessor.cpp.o
[ 66%] Building CXX object ADSL/src/CMakeFiles/ADSL.dir/DirectiveRouter.cpp.o
[ 66%] Building CXX object ADSL/src/CMakeFiles/ADSL.dir/DirectiveSequencer.cpp.o
[ 67%] Building CXX object ADSL/src/CMakeFiles/ADSL.dir/MessageInterpreter.cpp.o
[ 67%] Linking CXX shared library libADSL.so
[ 67%] Built target ADSL
Scanning dependencies of target ADSLTestCommon
[ 68%] Building CXX object ADSL/test/common/CMakeFiles/ADSLTestCommon.dir/MockDirectiveHandler.cpp.o
[ 68%] Linking CXX static library libADSLTestCommon.a
[ 68%] Built target ADSLTestCommon
Scanning dependencies of target DirectiveProcessorTest
[ 68%] Building CXX object ADSL/test/CMakeFiles/DirectiveProcessorTest.dir/DirectiveProcessorTest.cpp.o
[ 69%] Linking CXX executable DirectiveProcessorTest
[ 69%] Built target DirectiveProcessorTest
Scanning dependencies of target DirectiveRouterTest
[ 70%] Building CXX object ADSL/test/CMakeFiles/DirectiveRouterTest.dir/DirectiveRouterTest.cpp.o
[ 70%] Linking CXX executable DirectiveRouterTest
[ 70%] Built target DirectiveRouterTest
Scanning dependencies of target MessageInterpreterTest
[ 70%] Building CXX object ADSL/test/CMakeFiles/MessageInterpreterTest.dir/MessageInterpreterTest.cpp.o
[ 71%] Linking CXX executable MessageInterpreterTest
[ 71%] Built target MessageInterpreterTest
Scanning dependencies of target DirectiveSequencerTest
[ 72%] Building CXX object ADSL/test/CMakeFiles/DirectiveSequencerTest.dir/DirectiveSequencerTest.cpp.o
[ 72%] Linking CXX executable DirectiveSequencerTest
[ 72%] Built target DirectiveSequencerTest
Scanning dependencies of target AFML
[ 73%] Building CXX object AFML/src/CMakeFiles/AFML.dir/Channel.cpp.o
[ 74%] Building CXX object AFML/src/CMakeFiles/AFML.dir/FocusManager.cpp.o
[ 74%] Linking CXX shared library libAFML.so
[ 74%] Built target AFML
Scanning dependencies of target FocusManagerTest
[ 74%] Building CXX object AFML/test/CMakeFiles/FocusManagerTest.dir/FocusManagerTest.cpp.o
[ 75%] Linking CXX executable FocusManagerTest
[ 75%] Built target FocusManagerTest
Scanning dependencies of target ContextManager
[ 75%] Building CXX object ContextManager/src/CMakeFiles/ContextManager.dir/ContextManager.cpp.o
[ 76%] Linking CXX shared library libContextManager.so
[ 76%] Built target ContextManager
Scanning dependencies of target ContextManagerTest
[ 76%] Building CXX object ContextManager/test/CMakeFiles/ContextManagerTest.dir/ContextManagerTest.cpp.o
[ 77%] Linking CXX executable ContextManagerTest
[ 77%] Built target ContextManagerTest
Scanning dependencies of target KWD
[ 77%] Building CXX object KWD/src/CMakeFiles/KWD.dir/AbstractKeywordDetector.cpp.o
[ 78%] Linking CXX shared library libKWD.so
[ 78%] Built target KWD
Scanning dependencies of target AbstractKeywordDetectorTest
[ 79%] Building CXX object KWD/test/CMakeFiles/AbstractKeywordDetectorTest.dir/AbstractKeywordDetectorTest.cpp.o
[ 79%] Linking CXX executable AbstractKeywordDetectorTest
[ 79%] Built target AbstractKeywordDetectorTest
Scanning dependencies of target SENSORY
[ 80%] Building CXX object KWD/Sensory/src/CMakeFiles/SENSORY.dir/SensoryKeywordDetector.cpp.o
/home/king/Project/DB20_Linux/AVS/alexa-client-sdk_v0.4.1/alexa-client-sdk/KWD/Sensory/src/SensoryKeywordDetector.cpp: In constructor 'alexaClientSDK::kwd::SensoryKeywordDetector::SensoryKeywordDetector(std::shared_ptr<alexaClientSDK::avsCommon::utils::sds::SharedDataStreamalexaClientSDK::avsCommon::utils::sds::InProcessSDSTraits >, std::unordered_set<std::shared_ptralexaClientSDK::avsCommon::sdkInterfaces::KeyWordObserverInterface >, std::unordered_set<std::shared_ptralexaClientSDK::avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface >, alexaClientSDK::avsCommon::AudioFormat, std::chrono::milliseconds)':
/home/king/Project/DB20_Linux/AVS/alexa-client-sdk_v0.4.1/alexa-client-sdk/KWD/Sensory/src/SensoryKeywordDetector.cpp:184:74: warning: narrowing conversion of '(((std::chrono::duration<long long int, std::ratio<1ll, 1000ll> >::rep)(audioFormat.alexaClientSDK::avsCommon::AudioFormat::sampleRateHz / 1000u)) * msToPushPerIteration.std::chrono::duration<_Rep, _Period>::count<long long int, std::ratio<1ll, 1000ll> >())' from 'std::chrono::duration<long long int, std::ratio<1ll, 1000ll> >::rep {aka long long int}' to 'size_t {aka unsigned int}' inside { } [-Wnarrowing]
m_maxSamplesPerPush{(audioFormat.sampleRateHz / HERTZ_PER_KILOHERTZ) * msToPushPerIteration.count()} {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 81%] Linking CXX shared library libSENSORY.so
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11003.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11003.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11100.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11100.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11197.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11197.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13525.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13525.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13816.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13816.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13913.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13913.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14010.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14010.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14107.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14107.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14204.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14204.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14301.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14301.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14398.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14398.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14495.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14495.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14592.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14592.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15659.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15659.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15756.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15756.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15853.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15853.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15950.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15950.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16047.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16047.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16144.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16144.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16241.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16241.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16338.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16338.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16435.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16435.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16532.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16532.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16629.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16629.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16726.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16726.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16823.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16823.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16920.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr16920.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17017.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17017.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17114.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17114.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17211.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17211.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17308.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17308.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17405.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17405.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17502.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17502.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17599.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17599.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17696.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17696.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17793.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17793.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17890.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17890.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17987.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr17987.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18084.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18084.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18181.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18181.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18278.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18278.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18375.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18375.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18472.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18472.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18569.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18569.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18666.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18666.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18957.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18957.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19151.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19151.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19442.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19442.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19733.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19733.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19830.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19830.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19927.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19927.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20024.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20024.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20121.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20121.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20315.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20315.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20412.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20412.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20800.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20800.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20994.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20994.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21964.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21964.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22255.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22255.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22352.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22352.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22546.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22546.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22643.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22643.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23128.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23128.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25068.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25068.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25165.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25165.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25456.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25456.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26038.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26038.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26232.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26232.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26329.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26329.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26426.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26426.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26620.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26620.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11391.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11391.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11682.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11682.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11876.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11876.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11973.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11973.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12070.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12070.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12264.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12264.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12361.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12361.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12458.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12458.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12555.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12555.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12652.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12652.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12749.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12749.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12846.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12846.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12943.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12943.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13040.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13040.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13137.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13137.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13234.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13234.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13331.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13331.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13428.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr13428.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14689.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14689.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14786.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14786.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14883.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14883.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14980.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr14980.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15077.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15077.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15174.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15174.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15271.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15271.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15368.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15368.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15465.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15465.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15562.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr15562.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18860.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr18860.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19248.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19248.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19345.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19345.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20218.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20218.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20509.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20509.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20703.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20703.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20897.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr20897.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21382.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21382.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21479.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21479.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21576.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21576.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21673.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21673.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21867.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21867.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22158.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22158.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23225.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23225.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23322.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23322.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23807.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23807.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23904.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr23904.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24195.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24195.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24486.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24486.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24777.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24777.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24971.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24971.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25650.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25650.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25941.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr25941.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26135.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26135.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26523.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr26523.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11488.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11488.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11585.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11585.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11779.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr11779.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12167.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr12167.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19054.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr19054.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21091.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21091.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21188.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21188.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21285.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr21285.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22061.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr22061.o)
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: error: /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24098.o) uses VFP register arguments, libSENSORY.so does not
/home/king/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/6.3.1/../../../../arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/king/Project/DB20_Linux/AVS/alexa-rpi-master/lib/libsnsr.a(libsnsr24098.o)
collect2: error: ld returned 1 exit status
make[2]: *** [KWD/Sensory/src/libSENSORY.so] Error 1
make[1]: *** [KWD/Sensory/src/CMakeFiles/SENSORY.dir/all] Error 2
make: *** [all] Error 2
king@wks:
/Project/DB20_Linux/AVS/Alexa_Make$

Thanks.

SpeechSynthesizerIntegrationTest Failed

Hi.
I will use alexa-client-sdk. Now I'm trying to run the SpeechSynthesizerIntegrationTest. But all of the tests are failed.
Could you help me to fix this error?

Thanks

Logs from SpeechSynthesizerIntegrationTest:

[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from SpeechSynthesizerTest
[ RUN ] SpeechSynthesizerTest.handleOneSpeech
ConfigurationNode:initializeSuccess
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
Could not setup downchannel, retry count: 1
Could not setup downchannel, retry count: 2
Could not setup downchannel, retry count: 3
/home/jkh/amazon/alexa-client-sdk-master/Integration/test/SpeechSynthesizerIntegrationTest.cpp:466: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
Actual: false
Expected: true
Connecting timed out.
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x1272f50,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x1255c90,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x1255c90,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x1255c90,policy=BLOCKING
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
DirectiveSequencer:shutdown
[ FAILED ] SpeechSynthesizerTest.handleOneSpeech (11461 ms)
[ RUN ] SpeechSynthesizerTest.handleMultipleConsecutiveSpeaks
ConfigurationNode:initializeSuccess
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
Could not setup downchannel, retry count: 1
Could not setup downchannel, retry count: 2
Could not setup downchannel, retry count: 3
/home/jkh/amazon/alexa-client-sdk-master/Integration/test/SpeechSynthesizerIntegrationTest.cpp:466: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
Actual: false
Expected: true
Connecting timed out.
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x1271600,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x1261520,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x1261520,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x1261520,policy=BLOCKING
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
DirectiveSequencer:shutdown
[ FAILED ] SpeechSynthesizerTest.handleMultipleConsecutiveSpeaks (11187 ms)
[ RUN ] SpeechSynthesizerTest.bargeInOnOneSpeech
ConfigurationNode:initializeSuccess
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
Could not setup downchannel, retry count: 1
Could not setup downchannel, retry count: 2
Could not setup downchannel, retry count: 3
/home/jkh/amazon/alexa-client-sdk-master/Integration/test/SpeechSynthesizerIntegrationTest.cpp:466: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
Actual: false
Expected: true
Connecting timed out.
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x138e930,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x126dc90,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x126dc90,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x126dc90,policy=BLOCKING
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
DirectiveSequencer:shutdown
[ FAILED ] SpeechSynthesizerTest.bargeInOnOneSpeech (11221 ms)
[ RUN ] SpeechSynthesizerTest.bargeInOnMultipleSpeaksAtTheBeginning
ConfigurationNode:initializeSuccess
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
Could not setup downchannel, retry count: 1
Could not setup downchannel, retry count: 2
Could not setup downchannel, retry count: 3
/home/jkh/amazon/alexa-client-sdk-master/Integration/test/SpeechSynthesizerIntegrationTest.cpp:466: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
Actual: false
Expected: true
Connecting timed out.
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x13b46b0,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x127fcd0,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x127fcd0,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x127fcd0,policy=BLOCKING
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
DirectiveSequencer:shutdown
[ FAILED ] SpeechSynthesizerTest.bargeInOnMultipleSpeaksAtTheBeginning (11193 ms)
[ RUN ] SpeechSynthesizerTest.bargeInOnMultipleSpeaksInTheMiddle
ConfigurationNode:initializeSuccess
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
Could not setup downchannel, retry count: 1
Could not setup downchannel, retry count: 2
Could not setup downchannel, retry count: 3
/home/jkh/amazon/alexa-client-sdk-master/Integration/test/SpeechSynthesizerIntegrationTest.cpp:466: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
Actual: false
Expected: true
Connecting timed out.
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x13b2f20,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x13a2e30,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x13a2e30,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x13a2e30,policy=BLOCKING
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
DirectiveSequencer:shutdown
[ FAILED ] SpeechSynthesizerTest.bargeInOnMultipleSpeaksInTheMiddle (11230 ms)
[ RUN ] SpeechSynthesizerTest.multiturnScenario
ConfigurationNode:initializeSuccess
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
Could not setup downchannel, retry count: 1
Could not setup downchannel, retry count: 2
Could not setup downchannel, retry count: 3
/home/jkh/amazon/alexa-client-sdk-master/Integration/test/SpeechSynthesizerIntegrationTest.cpp:466: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
Actual: false
Expected: true
Connecting timed out.
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x13cff20,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x13bf510,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x13bf510,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x13bf510,policy=BLOCKING
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
DirectiveSequencer:shutdown
[ FAILED ] SpeechSynthesizerTest.multiturnScenario (11275 ms)
[ RUN ] SpeechSynthesizerTest.handleNoSpeakDirectives
ConfigurationNode:initializeSuccess
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
Could not setup downchannel, retry count: 1
Could not setup downchannel, retry count: 2
Could not setup downchannel, retry count: 3
/home/jkh/amazon/alexa-client-sdk-master/Integration/test/SpeechSynthesizerIntegrationTest.cpp:466: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
Actual: false
Expected: true
Connecting timed out.
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x14f9c10,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x1380e80,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x1380e80,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x1380e80,policy=BLOCKING
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
DirectiveSequencer:shutdown
[ FAILED ] SpeechSynthesizerTest.handleNoSpeakDirectives (11170 ms)
[ RUN ] SpeechSynthesizerTest.handleNoDirectives
ConfigurationNode:initializeSuccess
HttpPost:doPostSucceeded:code=200
AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
AuthDelegate:onAuthStateChangeCalled:state=1,error=0
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
Could not setup downchannel, retry count: 1
Could not setup downchannel, retry count: 2
Could not setup downchannel, retry count: 3
/home/jkh/amazon/alexa-client-sdk-master/Integration/test/SpeechSynthesizerIntegrationTest.cpp:466: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
Actual: false
Expected: true
Connecting timed out.
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x1496a20,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x141ab40,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x141ab40,policy=BLOCKING
DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x141ab40,policy=BLOCKING
MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
DirectiveSequencer:shutdown
[ FAILED ] SpeechSynthesizerTest.handleNoDirectives (11191 ms)
[----------] 8 tests from SpeechSynthesizerTest (89930 ms total)

[----------] Global test environment tear-down
[==========] 8 tests from 1 test case ran. (89930 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 8 tests, listed below:
[ FAILED ] SpeechSynthesizerTest.handleOneSpeech
[ FAILED ] SpeechSynthesizerTest.handleMultipleConsecutiveSpeaks
[ FAILED ] SpeechSynthesizerTest.bargeInOnOneSpeech
[ FAILED ] SpeechSynthesizerTest.bargeInOnMultipleSpeaksAtTheBeginning
[ FAILED ] SpeechSynthesizerTest.bargeInOnMultipleSpeaksInTheMiddle
[ FAILED ] SpeechSynthesizerTest.multiturnScenario
[ FAILED ] SpeechSynthesizerTest.handleNoSpeakDirectives
[ FAILED ] SpeechSynthesizerTest.handleNoDirectives

8 FAILED TESTS

AVS SDK Interface

Hi friends,

  1. Which interface in AIP we can load when WWE trigger the AIP to enter the listening state? is it AbstractKeywordDetector::notifyKeyWordObservers?

  2. Which interface we can load to tell the avs about system event? such as wifi state.

  3. Has the red circle part in the picture (read data from SDS to AIP )been realized in AVS SDK?
    image

Streaming mic data to AVS and play response audio with Mediaplayer

Hi, we can run default SpeechSynthesizerIntegrationTest app now, and get a response audio and play it with Mediaplayer in TEST_F(SpeechSynthesizerTest, handleOneSpeech) test function. but we have a question about how to stream mic data to AVS with stopCapture feature based on this test function?

We have tried to modify this test case, please see the sample code below, our expect flow is:
recording mic data and streaming it to AVS --> AVS detected a stopCapture --> stop recording --> playing the response audio with mediaplayer.

build is successful, but always blocking in the line ASSERT_EQ(params.type, TestDirectiveHandler::DirectiveParams::Type::PREHANDLE);

TEST_F(SpeechTest, handleOneSpeech) {
// SpeechSynthesizerObserver defaults to a FINISHED state.
//ASSERT_EQ(m_speechSynthesizerObserver->waitForNext(WAIT_FOR_TIMEOUT_DURATION), SpeechSynthesizerState::FINISHED);

// Send audio of "Joke" that will prompt SetMute and Speak.
m_directiveSequencer->setDialogRequestId(FIRST_DIALOG_REQUEST_ID);


// Check that AIP is in an IDLE state before starting.
//ASSERT_TRUE(m_StateObserver->checkState(AudioInputProcessor::State::IDLE, AUDIO_FILE_TIMEOUT_DURATION));

// Request the alarm channel for the test channel client.
//ASSERT_TRUE(m_focusManager->acquireChannel(ALERTS_CHANNEL_NAME, m_testClient, ALARM_ACTIVITY_ID));
//ASSERT_EQ(m_testClient->waitForFocusChange(AUDIO_FILE_TIMEOUT_DURATION), FocusState::FOREGROUND);

// Signal to the AIP to start recognizing.
ASSERT_TRUE(m_tapToTalkButton->startRecognizing(m_AudioInputProcessor, m_TapToTalkAudioProvider));

// Check that AIP is now in RECOGNIZING state.
ASSERT_TRUE(m_StateObserver->checkState(AudioInputProcessor::State::RECOGNIZING, AUDIO_FILE_TIMEOUT_DURATION));

std::cout << "Start record wav file" << '\n';
//system("arecord -c 1 -r 16000 -f S16_LE -d 5 hello.wav");

// std::string file = inputPath + RECOGNIZE_JOKE_AUDIO_FILE_NAME;
std::string file = "hello.wav";
/*
setupMessageWithAttachmentAndSend(
    CT_FIRST_RECOGNIZE_EVENT_JSON,
    file,
    avsCommon::avs::MessageRequest::Status::SUCCESS,
    SEND_EVENT_TIMEOUT_DURATION);   */

std::cout << "file: " << file << std::endl;
  const int RIFF_HEADER_SIZE = 44;
  std::ifstream inputFile(file.c_str(), std::ifstream::binary);
  if (!inputFile.good()) {
    std::cout << "Couldn't open audio file!" << std::endl;
    return ;
  }
  std::cout << "open audio file success!" << std::endl;
  inputFile.seekg(0, std::ios::end);
  int fileLengthInBytes = inputFile.tellg();
  if (fileLengthInBytes <= RIFF_HEADER_SIZE) {
    std::cout << "File should be larger than 44 bytes, which is the size of the RIFF header" << std::endl;
    return ;
  }

  inputFile.seekg(RIFF_HEADER_SIZE, std::ios::beg);
  std::cout << "\t\tfile lenght In bytes: " << fileLengthInBytes << std::endl;
  int numSamples = (fileLengthInBytes - RIFF_HEADER_SIZE) / 5;
  std::cout << "\t\tnumSamples: " << numSamples << std::endl;
  std::vector<int16_t> retVal(115200, 0);
  //inputFile.read((char *)&retVal[0], numSamples * 2);
  //m_AudioBufferWriter->write(retVal.data(), retVal.size());

  int index = 0;
  while(!inputFile.eof()){
    index ++;
    inputFile.read((char *)&retVal[0], 115200 );
    m_AudioBufferWriter->write(retVal.data(), inputFile.gcount());
    retVal.clear();
    std::cout << "index= " << index << std::endl;
  }
  inputFile.close(); 


TestMessageSender::SendParams sendRecognizeParams = m_avsConnectionManager->waitForNext(DIRECTIVE_TIMEOUT_DURATION);
ASSERT_TRUE(checkSentEventName(sendRecognizeParams, NAME_RECOGNIZE));

// Wait for the directive to route through to our handler.
TestDirectiveHandler::DirectiveParams params = m_directiveHandler->waitForNext(WAIT_FOR_TIMEOUT_DURATION);
ASSERT_EQ(params.type, TestDirectiveHandler::DirectiveParams::Type::PREHANDLE);
params = m_directiveHandler->waitForNext(WAIT_FOR_TIMEOUT_DURATION);
ASSERT_EQ(params.type, TestDirectiveHandler::DirectiveParams::Type::HANDLE);

// Unblock the queue so SpeechSynthesizer can do its work.
params.result->setCompleted();

// SpeechSynthesizer is now playing.
ASSERT_EQ(m_speechSynthesizerObserver->waitForNext(WAIT_FOR_TIMEOUT_DURATION), SpeechSynthesizerState::PLAYING);

//Check that SS grabs the channel focus by seeing that the test client has been backgrounded.
ASSERT_EQ(m_testClient->waitForFocusChange(WAIT_FOR_TIMEOUT_DURATION), FocusState::BACKGROUND);

// SpeechStarted was sent.
TestMessageSender::SendParams sendStartedParams = m_avsConnectionManager->waitForNext(DIRECTIVE_TIMEOUT_DURATION);
ASSERT_TRUE(checkSentEventName(sendStartedParams, NAME_SPEECH_STARTED));

// Media Player has finished.
ASSERT_EQ(m_speechSynthesizerObserver->waitForNext(WAIT_FOR_TIMEOUT_DURATION), SpeechSynthesizerState::FINISHED);

// SpeechFinished is sent here.
TestMessageSender::SendParams sendFinishedParams = m_avsConnectionManager->waitForNext(WAIT_FOR_TIMEOUT_DURATION);
ASSERT_TRUE(checkSentEventName(sendFinishedParams, NAME_SPEECH_FINISHED));

// Alerts channel regains the foreground.
ASSERT_EQ(m_testClient->waitForFocusChange(WAIT_FOR_TIMEOUT_DURATION), FocusState::FOREGROUND);

}

Sample App using AVS SDK

Dear All,

I am trying to implement an App similar to alexa-avs-sample-app. Here's how I plan to go about doing this.

  1. We have a Conexant Audiosmart 2 dev kit. I will have to implement AudioProvider interface for this particular board and this then can be used by an instance of AudioInputProcessor.

  2. Next plan is to actually implement a connection with AVS using my creds and dump the message exchange as a starting point.

Does this make sense?

Thanks

-abhijit

Cycle test within a test function(TEST_F)

Hi, I'm trying to do a cycle test within(TEST_F), in other words, I would like it to run SetUp() one time, and I can send my audio data cycle by cycle to AVS, do you have some advises?

I have a question about this: What is the life-cycle of it If I want to do cycle test?
this is my understand: initial -> connect -> startRecognizing -> stopCapture -> play response audio --> disconnect --> connect -> startRecognizing -> stopCapture -> play response audio --> disconnect --> connect -> .........
Is it correct?

code snippet like below:

int MAX = 150;
int testCycleIndex = 0;
while(testCycleIndex < MAX){
// Signal to the AIP to start recognizing.
ASSERT_TRUE(m_tapToTalkButton->startRecognizing(m_AudioInputProcessor, m_TapToTalkAudioProvider));

// Check that AIP is now in RECOGNIZING state.
//ASSERT_TRUE(m_StateObserver->checkState(AudioInputProcessor::State::RECOGNIZING, AUDIO_FILE_TIMEOUT_DURATION));

// temp
sysLocalTime("Decode File data.......");
std::string file="recognize_joke_test.wav";
std::cout << "file: " << file << std::endl;
const int RIFF_HEADER_SIZE = 44;
std::ifstream inputFile(file.c_str(), std::ifstream::binary);
if (!inputFile.good()) {
std::cout << "Couldn't open audio file!" << std::endl;
return ;
}
inputFile.seekg(0, std::ios::end);
int fileLengthInBytes = inputFile.tellg();
if (fileLengthInBytes <= RIFF_HEADER_SIZE) {
std::cout << "File should be larger than 44 bytes, which is the size of the RIFF header" << std::endl;
return ;
}

inputFile.seekg(RIFF_HEADER_SIZE, std::ios::beg);
std::cout << "\t\tfile lenght In bytes: " << fileLengthInBytes << std::endl;
int numSamples = (fileLengthInBytes - RIFF_HEADER_SIZE) / 2;
std::cout << "\t\tnumSamples: " << numSamples << std::endl;
std::vector<int16_t> retVal(8192, 0);
//inputFile.read((char *)&retVal[0], numSamples * 2);
//m_AudioBufferWriter->write(retVal.data(), retVal.size());

int index = 0;
while(!inputFile.eof())
{
index ++;
inputFile.read((char *)&retVal[0], 8192);
m_AudioBufferWriter->write(retVal.data(), inputFile.gcount());
printf("start recording size: %d, %d\n", retVal.size(), inputFile.gcount());
retVal.clear();
std::cout << "index= " << index << std::endl;
}
inputFile.close();

// The test channel client has been notified the alarm channel has been backgrounded.
//ASSERT_EQ(m_testClient->waitForFocusChange(AUDIO_FILE_TIMEOUT_DURATION), FocusState::BACKGROUND);

// Check that AIP is in BUSY state.
//ASSERT_TRUE(m_StateObserver->checkState(AudioInputProcessor::State::BUSY, AUDIO_FILE_TIMEOUT_DURATION));

// Check that AIP is in an IDLE state.
//ASSERT_TRUE(m_StateObserver->checkState(AudioInputProcessor::State::IDLE, AUDIO_FILE_TIMEOUT_DURATION));

// Check that the test context provider was asked to provide context for the event.
//ASSERT_TRUE(m_stateProvider->checkStateRequested());

// The test channel client has been notified the alarm channel has been foregrounded.
//ASSERT_EQ(m_testClient->waitForFocusChange(AUDIO_FILE_TIMEOUT_DURATION), FocusState::FOREGROUND);

// Check that a recognize event was sent.
//ASSERT_TRUE(checkSentEventName(m_avsConnectionManager, NAME_RECOGNIZE));

// decode result
// ***** omitted ***** here to play response audio.

std::thread t1(&AlexaAudioTest::reConnect, this);
testCycleIndex ++;
t1.join();
}

How to resample the audio

Does the MediaPlayer support resample audio(44100hz ...) to play?
My device only support 44100 sampling rate, how can I resample the audio?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.