Issue
I am getting following error while building the android source on Mac OS X 10.7.3 (Lion):
host SharedLib: libSR_Recognizer (out/host/darwin-x86/obj/lib/libSR_Recognizer.dylib)
Undefined symbols for architecture i386:
"_pushAudioIntoRecognizer", referenced from:
_SR_RecognizerAdvanceImpl in RecognizerImpl.o
_detectBeginningOfSpeech in RecognizerImpl.o
"_generatePatternFromFrame", referenced from:
_SR_RecognizerAdvanceImpl in RecognizerImpl.o
"_canPushAudioIntoRecognizer", referenced from:
_SR_RecognizerAdvanceImpl in RecognizerImpl.o
_detectBeginningOfSpeech in RecognizerImpl.o
"_generatePatternFromFrameEOI", referenced from:
_SR_RecognizerAdvanceImpl in RecognizerImpl.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/darwin-x86/obj/lib/libSR_Recognizer.dylib] Error 1
Any clues?
Solution
i found the answer finally :)
run make with following options
make CC=gcc CXX=g++ -j4
Everything will go smooth
Answered By - Pete
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.