Building for Blackberry 10

LF
Lorenzo Ferrante
Fri, Feb 10, 2017 9:58 PM

I've been following the guide for building for blackberry 10, in a windows
host.

I've found one inconsistency and two errors following the guide:

*First: *In step number 5: For Windows host, edit pjsip.pri in the PJSIP
root directory, replace '/C/' with 'C:/'.
Solution: The file to edit is not pjsip.pri (this file is empty), but
build.mak, at line number 1, replace '/C/' with 'C:/'.

*Second: *Must disable libyuv or else it won't build. The error is in the
row_common.c file from 1247 to 1253: " invalid types 'const signed char
vector[int]' for array subscript ".
Solution: This error was also found in freeswitch issue tracker
https://freeswitch.org/jira/browse/FS-8884  and the workaround is to add
--disable-libyuv to the ./configure-bb10 command

Third: I was able to run make dep successfully. When i run make aftewards
i get an error:

C:/Users/lorenzo/Downloads/pjproject-2.6/build/rules.mak:123: *** multiple
target patterns.  Stop.
Samples.mak:62: recipe for target 'auddemo' failed
make[2]: *** [auddemo] Error 2
make[2]: Leaving directory
'C:/Users/lorenzo/Downloads/pjproject-2.6/pjsip-apps/build'
Makefile:84: recipe for target 'samples' failed
make[1]: *** [samples] Error 2
make[1]: Leaving directory
'C:/Users/lorenzo/Downloads/pjproject-2.6/pjsip-apps/build'
Makefile:14: recipe for target 'all' failed
make: *** [all] Error 1

If i'm not mistaken the error corresponds to a demo project. I can't find a
solution to this issue, so please feel free to ask me for more information.
I will try to build it under ubuntu and maybe inside momentics directly.

Regards,
Lorenzo Ferrante

I've been following the guide for building for blackberry 10, in a windows host. I've found one inconsistency and two errors following the guide: *First: *In step number 5: For Windows host, edit pjsip.pri in the PJSIP root directory, replace '/C/' with 'C:/'. *Solution:* The file to edit is not pjsip.pri (this file is empty), but build.mak, at line number 1, replace '/C/' with 'C:/'. *Second: *Must disable libyuv or else it won't build. The error is in the row_common.c file from 1247 to 1253: " invalid types 'const signed char __vector__[int]' for array subscript ". *Solution:* This error was also found in freeswitch issue tracker https://freeswitch.org/jira/browse/FS-8884 and the workaround is to add --disable-libyuv to the ./configure-bb10 command *Third:* I was able to run make dep successfully. When i run make aftewards i get an error: C:/Users/lorenzo/Downloads/pjproject-2.6/build/rules.mak:123: *** multiple target patterns. Stop. Samples.mak:62: recipe for target 'auddemo' failed make[2]: *** [auddemo] Error 2 make[2]: Leaving directory 'C:/Users/lorenzo/Downloads/pjproject-2.6/pjsip-apps/build' Makefile:84: recipe for target 'samples' failed make[1]: *** [samples] Error 2 make[1]: Leaving directory 'C:/Users/lorenzo/Downloads/pjproject-2.6/pjsip-apps/build' Makefile:14: recipe for target 'all' failed make: *** [all] Error 1 If i'm not mistaken the error corresponds to a demo project. I can't find a solution to this issue, so please feel free to ask me for more information. I will try to build it under ubuntu and maybe inside momentics directly. Regards, Lorenzo Ferrante