Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
Posts: 3
Registered: ‎07-19-2013
My Device: z10
My Carrier: Airtel

make: *** [Simulator-Debug] Error 2 in pjsua

Hi 

 I'm building pjsua for bb10 but i have a debug error. This is my console output... help me.

 

 

make -j3 Simulator-Debug 

make -C .//translations -f Makefile update

make[1]: Entering directory `/Users/rajeshkumar/ndk-10.2.0-workspace/PjsuaBB/translations'

/Users/rajeshkumar/Blackberry/host_10_1_0_132/darwin/x86/usr/bin/lupdate PjsuaBB.pro

Updating 'PjsuaBB.ts'...

    Found 2 source text(s) (0 new and 2 already existing)

make[1]: Leaving directory `/Users/rajeshkumar/ndk-10.2.0-workspace/PjsuaBB/translations'

make -C .//translations -f Makefile release

make[1]: Entering directory `/Users/rajeshkumar/ndk-10.2.0-workspace/PjsuaBB/translations'

/Users/rajeshkumar/Blackberry/host_10_1_0_132/darwin/x86/usr/bin/lrelease PjsuaBB.pro

Updating '/Users/rajeshkumar/ndk-10.2.0-workspace/PjsuaBB/translations/PjsuaBB.qm'...

    Generated 1 translation(s) (1 finished and 0 unfinished)

    Ignored 2 untranslated source text(s)

make[1]: Leaving directory `/Users/rajeshkumar/ndk-10.2.0-workspace/PjsuaBB/translations'

make -C ./x86 -f Makefile debug

make[1]: Entering directory `/Users/rajeshkumar/ndk-10.2.0-workspace/PjsuaBB/x86'

make -f Makefile.Debug

make[2]: Entering directory `/Users/rajeshkumar/ndk-10.2.0-workspace/PjsuaBB/x86'

make[2]: *** No rule to make target `../../pjsua_app.c', needed by `o-g/.obj/pjsua_app.o'.  Stop.

make[2]: *** Waiting for unfinished jobs....

qcc -Vgcc_ntox86 -c -Wc,-include -Wc,o-g/.obj/PjsuaBB -Wno-psabi -lang-c++ -fstack-protector -fstack-protector-all -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc -I../../PjsuaBB -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include/qt4/QtCore -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include/qt4/QtDeclarative -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include/qt4 -I../src -Io-g/.moc -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include/freetype2 -I. -o o-g/.obj/applicationui.o ../src/applicationui.cpp

In file included from ../src/applicationui.cpp:2:0:

qcc -Vgcc_ntox86 -c -Wc,-include -Wc,o-g/.obj/PjsuaBB -Wno-psabi -lang-c++ -fstack-protector -fstack-protector-all -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc -I../../PjsuaBB -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include/qt4/QtCore -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include/qt4/QtDeclarative -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include/qt4 -I../src -Io-g/.moc -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include -I../../../Blackberry/target_10_1_0_1020/qnx6/usr/include/freetype2 -I. -o o-g/.obj/main.o ../src/main.cpp

../src/applicationui.h:7:29: fatal error: ../../pjsua_app.h: No such file or directory

make[2]: Leaving directory `/Users/rajeshkumar/ndk-10.2.0-workspace/PjsuaBB/x86'

make[1]: Leaving directory `/Users/rajeshkumar/ndk-10.2.0-workspace/PjsuaBB/x86'

compilation terminated.

cc: /Users/rajeshkumar/Blackberry/host_10_1_0_132/darwin/x86/usr/lib/gcc/i486-pc-nto-qnx8.0.0/4.6.3/cc1plus error 1

make[2]: *** [o-g/.obj/applicationui.o] Error 1

In file included from ../src/main.cpp:6:0:

../src/applicationui.h:7:29: fatal error: ../../pjsua_app.h: No such file or directory

compilation terminated.

cc: /Users/rajeshkumar/Blackberry/host_10_1_0_132/darwin/x86/usr/lib/gcc/i486-pc-nto-qnx8.0.0/4.6.3/cc1plus error 1

make[2]: *** [o-g/.obj/main.o] Error 1

make[1]: *** [debug] Error 2

make: *** [Simulator-Debug] Error 2

 

Retired
Posts: 170
Registered: ‎09-06-2010
My Device: None
My Carrier: None

Re: make: *** [Simulator-Debug] Error 2 in pjsua

I think the following lines form the console log would help you figure this out:

 

In file included from ../src/main.cpp:6:0:

../src/applicationui.h:7:29: fatal error: ../../pjsua_app.h: No such file or directory

compilation terminated.

 

At line 7 in applicationui.h there is probably a #include for pjsua_app.h which can't be found in the include search path by the compiler. Check that you've specified this correctly.