blackberry / Boost

The Boost C++ Libraries
Boost Software License 1.0
224 stars 120 forks source link

not able to complie pjsip on ubuntu #7

Open gourashish11 opened 11 years ago

gourashish11 commented 11 years ago

hi,

I am trying to compile pjsip on ubuntu according to this document: http://supportforums.blackberry.com/t5/Native-Development/Porting-PJSIP-PJMEDIA-and-PJLIB-to-BlackBerry-10/ta-p/2085751

when i am executing this command: ./buildpjsip(its on number 8 in document) it is showing these errors:

cp: cannot create regular file `/x86/lib': No such file or directory /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build/trunk /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts Makefile:1: build.mak: No such file or directory Makefile:2: build/host-.mak: No such file or directory make: ** No rule to make target build/host-.mak'. Stop. checking build system type... i686-pc-linux-gnu checking host system type... i486-pc-nto-qnx8.0.0 checking target system type... i486-pc-nto-qnx8.0.0 checking for i486-pc-nto-qnx8.0.0-gcc... no checking for gcc... gcc checking whether the C compiler works... no aconfigure: error: in/home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build/trunk': aconfigure: error: C compiler cannot create executables See config.log' for more details Makefile:1: build.mak: No such file or directory Makefile:2: build/host-.mak: No such file or directory make: *** No rule to make targetbuild/host-.mak'. Stop. Makefile:1: build.mak: No such file or directory Makefile:2: build/host-.mak: No such file or directory make: ** No rule to make target `build/host-.mak'. Stop. /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts/pjsip-build /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts adding: libopencore-amrwb.a (deflated 67%) adding: libopencore-amrnb.a (deflated 70%) /home/ahsish/bb10-pjsipdemo-master/pjbuildscripts

plzzzz help me...thanks in advance..

hungc commented 11 years ago

Hi gourashish11,

This doesn't look like a Boost issue. You need to make sure that the correct NDK version is installed and is set as your environmental variable. After installing the NDK did you try to force the environmental variable or try and reboot your machine? Please post related questions on the forum that you have linked to and an development consultant will be happy to assist you.

Cliff

gourashish11 commented 11 years ago

thanks for reply.. i have already installed the blackberry native sdk 10. But i have no idea about environment variables.could you plz tell me which environment variables are to be needed for sdk.... thanks in advance

gourashish11 commented 11 years ago

hi.. after setting the environment variables. after running this command i have facing the error: connamd:CFLAGS="-O -g" ./configure-bb10 --disable-speex-aec error is: aconfigure: creating ./config.status config.status: creating build.mak ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating build/os-auto.mak ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating build/cc-auto.mak ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating pjlib/build/os-auto.mak ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating pjlib-util/build/os-auto.mak ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating pjmedia/build/os-auto.mak ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating pjsip/build/os-auto.mak ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating third_party/build/os-auto.mak ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating third_party/build/portaudio/os-auto.mak ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating pjlib/include/pj/compat/os_auto.h ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating pjlib/include/pj/compat/m_auto.h ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: creating pjmedia/include/pjmedia/config_auto.h ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: pjmedia/include/pjmedia/config_auto.h is unchanged config.status: creating pjmedia/include/pjmedia-codec/config_auto.h ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: pjmedia/include/pjmedia-codec/config_auto.h is unchanged config.status: creating pjsip/include/pjsip/sip_autoconf.h ./config.status: line 999: s//1/: No such file or directory ./config.status: line 1000: q: command not found ./config.status: command substitution: line 1001: syntax error near unexpected token }' ./config.status: command substitution: line 1001: }' config.status: pjsip/include/pjsip/sip_autoconf.h is unchanged

plzzz help....

hungc commented 11 years ago

Again, this is not a Boost issue. Please ask at https://github.com/blackberry/Cascades-Community-Samples/issues.