Compiling pjsip-apps program

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

 



Hi all,

        I have successfully build pjproject-2.3 source code with video
support. And I am able to compile a simple program with pjsip.
        But when I am trying to compile a pjsip-apps sample program
vid_streamutil.c, I am getting following error.

/usr/local/lib/libpjmedia-i686-pc-linux-gnu.a(endpoint.o): In function
`pjmedia_endpt_create':
endpoint.c:(.text+0x344): undefined reference to `pjmedia_aud_subsys_init'
endpoint.c:(.text+0x3a7): undefined reference to
`pjmedia_aud_subsys_shutdown'
/usr/local/lib/libpjmedia-i686-pc-linux-gnu.a(endpoint.o): In function
`pjmedia_endpt_destroy':
endpoint.c:(.text+0x79f): undefined reference to
`pjmedia_aud_subsys_shutdown'
collect2: error: ld returned 1 exit status

I am using following command to compile

gcc vid_streamutil.c -o vid_streamutil `pkg-config --libs --cflags
libpjproject`

Any help would be highly appreciated..

Thanks
pirpi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140923/35443e45/attachment.html>


[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