build errors

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

 



Hi everyone,

     I am new to pjsip and trying to make my first test app, but it 
seems I am missing some functions I think should be in he pjmedia library.

     Here is the output from my make command:

g++ -m64 -o SIPTester main.o tester.o moc_tester.o -L/usr/X11R6/lib64 
`pkg-config --libs libpjproject` -lQt5Widgets 
-L/usr/lib/x86_64-linux-gnu -lQt5Gui -lQt5Core -lGL -lpthread

/usr/local/lib/libpjmedia-x86_64-unknown-linux-gnu.a(sound_port.o): In 
function `pjmedia_snd_port_destroy':
sound_port.c:(.text+0x2c6): undefined reference to `pjmedia_aud_stream_stop'
sound_port.c:(.text+0x2d2): undefined reference to 
`pjmedia_aud_stream_destroy'
/usr/local/lib/libpjmedia-x86_64-unknown-linux-gnu.a(sound_port.o): In 
function `pjmedia_snd_port_set_ec':
sound_port.c:(.text+0x3c2): undefined reference to 
`pjmedia_aud_stream_get_param'
sound_port.c:(.text+0x4c2): undefined reference to 
`pjmedia_aud_stream_get_cap'
sound_port.c:(.text+0x507): undefined reference to 
`pjmedia_aud_stream_set_cap'
sound_port.c:(.text+0x578): undefined reference to 
`pjmedia_aud_stream_set_cap'
sound_port.c:(.text+0x5b0): undefined reference to 
`pjmedia_aud_stream_set_cap'
/usr/local/lib/libpjmedia-x86_64-unknown-linux-gnu.a(sound_port.o): In 
function `start_sound_device':
sound_port.c:(.text+0x711): undefined reference to 
`pjmedia_aud_stream_create'
sound_port.c:(.text+0x77e): undefined reference to 
`pjmedia_aud_stream_destroy'
sound_port.c:(.text+0x7ad): undefined reference to 
`pjmedia_aud_stream_start'
sound_port.c:(.text+0x7e1): undefined reference to 
`pjmedia_aud_dev_get_info'
/usr/local/lib/libpjmedia-x86_64-unknown-linux-gnu.a(sound_port.o): In 
function `pjmedia_snd_port_create':
sound_port.c:(.text+0xa2c): undefined reference to 
`pjmedia_aud_dev_default_param'
/usr/local/lib/libpjmedia-x86_64-unknown-linux-gnu.a(sound_port.o): In 
function `pjmedia_snd_port_create_rec':
sound_port.c:(.text+0xadc): undefined reference to 
`pjmedia_aud_dev_default_param'
/usr/local/lib/libpjmedia-x86_64-unknown-linux-gnu.a(sound_port.o): In 
function `pjmedia_snd_port_create_player':
sound_port.c:(.text+0xb8c): undefined reference to 
`pjmedia_aud_dev_default_param'
/usr/local/lib/libpjmedia-x86_64-unknown-linux-gnu.a(sound_port.o): In 
function `pjmedia_snd_port_get_ec_tail':
sound_port.c:(.text+0xc72): undefined reference to 
`pjmedia_aud_stream_get_cap'
sound_port.c:(.text+0xcc0): undefined reference to 
`pjmedia_aud_stream_get_cap'
/usr/local/lib/libpjmedia-x86_64-unknown-linux-gnu.a(endpoint.o): In 
function `pjmedia_endpt_create':
endpoint.c:(.text+0x132): undefined reference to `pjmedia_aud_subsys_init'
endpoint.c:(.text+0x1a3): undefined reference to 
`pjmedia_aud_subsys_shutdown'
/usr/local/lib/libpjmedia-x86_64-unknown-linux-gnu.a(endpoint.o): In 
function `pjmedia_endpt_destroy':
endpoint.c:(.text+0x4eb): undefined reference to 
`pjmedia_aud_subsys_shutdown'
collect2: error: ld returned 1 exit status
make: *** [SIPTester] Error 1

     I followed the instruction for the build of pjsip and made sure I 
had all the dependencies installed first. But I am still getting these 
errors. Can anybody tell me what I am missing?

Thanks,
     Neil Cherry



[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