Building pjsip in centos 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 23, 2012 at 8:14 PM, Arif Hossain <aftnix at gmail.com> wrote:
> I have checked out the latest revision using git-svn. my revision number is :
>
> [freeburn at localhost pjsip-devel]$ git svn info
> Path: .
> URL: http://svn.pjsip.org/repos/pjproject/trunk
> Repository Root: http://svn.pjsip.org/repos
> Repository UUID: 74dad513-b988-da41-8d7b-12977e46ad98
> Revision: 4062
> Node Kind: directory
> Schedule: normal
> Last Changed Author: ming
> Last Changed Rev: 4062
> Last Changed Date: 2012-04-19 12:36:57 +0600 (Thu, 19 Apr 2012)
>
> I have checked out the external repo(portaudio) using a custom shell
> script hosted in github.
>
> It built ok before . but when i updated my local repo and a
> lso update svn-externals for portaudio , it started giving following
> error in make dep:
>
> [freeburn at localhost pjsip-devel]$ make dep > /dev/null
> src/pa_skeleton.c:1:55: error:
> ../../../portaudio/src/common/pa_skeleton.c: No such file or directory
>
> So "make" fails with the same error. What's going on here? have i
> broken any dependencies?
>
> --
> -aft

To workaround i have checked out the svn version. But even after that
pjsip does not build. It stops wilth following error:

output/pjsua-i686-pc-linux-gnu/pjsua_app.o: In function `app_init':
pjsua_app.c:(.text+0x7261): undefined reference to
`pjmedia_avi_streams_get_num_streams'
pjsua_app.c:(.text+0x72af): undefined reference to
`pjmedia_avi_streams_get_stream'
/home/freeburn/pjsip/pjsip/lib/libpjsua-i686-pc-linux-gnu.a(pjsua_core.o):
In function `pjsua_acc_config_default':
pjsua_core.c:(.text+0x1de7): undefined reference to
`pjmedia_vid_stream_rc_config_default'
/home/freeburn/pjsip/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(avi_dev.o):
In function `pjmedia_avi_dev_get_param':
avi_dev.c:(.text+0x207): undefined reference to
`pjmedia_vid_dev_get_local_index'
/home/freeburn/pjsip/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(avi_dev.o):
In function `reset_dev_info':
avi_dev.c:(.text+0x309): undefined reference to
`pjmedia_avi_streams_get_num_streams'
avi_dev.c:(.text+0x326): undefined reference to `pjmedia_avi_streams_get_stream'
/home/freeburn/pjsip/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(avi_dev.o):
In function `pjmedia_avi_dev_free':
avi_dev.c:(.text+0x44c): undefined reference to
`pjmedia_vid_dev_get_local_index'
/home/freeburn/pjsip/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(avi_dev.o):
In function `pjmedia_avi_dev_alloc':
avi_dev.c:(.text+0x5a1): undefined reference to
`pjmedia_vid_dev_get_global_index'
avi_dev.c:(.text+0x678): undefined reference to
`pjmedia_avi_player_create_streams'
avi_dev.c:(.text+0x70d): undefined reference to
`pjmedia_avi_streams_get_stream_by_media'
avi_dev.c:(.text+0x740): undefined reference to `pjmedia_get_video_format_info'
avi_dev.c:(.text+0x875): undefined reference to
`pjmedia_vid_codec_mgr_get_codec_info2'
avi_dev.c:(.text+0x8a4): undefined reference to
`pjmedia_vid_codec_mgr_get_default_param'
avi_dev.c:(.text+0x8cb): undefined reference to
`pjmedia_vid_codec_mgr_alloc_codec'
avi_dev.c:(.text+0x947): undefined reference to `pjmedia_get_video_format_info'
/home/freeburn/pjsip/pjmedia/lib/libpjmedia-videodev-i686-pc-linux-gnu.a(avi_dev.o):
In function `pjmedia_avi_dev_create_factory':
avi_dev.c:(.text+0xaae): undefined reference to `pjmedia_vid_register_factory'
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjsua-i686-pc-linux-gnu] Error 1
make[2]: Leaving directory `/home/freeburn/pjsip/pjsip-apps/build'
make[1]: *** [pjsua] Error 2
make[1]: Leaving directory `/home/freeburn/pjsip/pjsip-apps/build'
make: *** [all] Error 1


It seems it tries to build with video support. But i do not want the
video support. I thought video support was not enabled by default.

How to disable video support?



-- 
-aft



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux