True, With video disabled it compiles ok.
Thanks Alex
Sent from my Windows Phone
Thanks Alex
Sent from my Windows Phone
From: Alexandre Gonçalves
Sent: 4/22/2016 9:26 PM
To: pjsip list
Subject: Re: PJSIP 2.4.5 compilation on RPi 3
Hello,
Yes it's a headless system. Distributiuon: 2016-03-18-raspbian-jessie-lite.img.
and installed libasound2-dev to support alsa.
My system does not have video...
Regards.
Alexandre Gonçalves
............................................................................................................................
Email: alexandre@xxxxxxxxxxxxxxxxxx
2016-04-22 15:38 GMT+01:00 Chirag Ajmera <chirag@xxxxxxxxx>:
Was is it a headless distribution ?
Also, is video enabled ?
Raspbian Jessie does not have sdl / openh264 / ffmpeg preinstalled
Kindly can you also let know the dependencies you installed on the raspbian image
Sent from my Windows Phone
From: Alexandre Gonçalves
Sent: 4/21/2016 9:40 PM
To: pjsip list
Subject: Re: PJSIP 2.4.5 compilation on RPi 3Hi,I just finished building pjsip 2.45, without any errors.Enviornment: Raspbian Jessie (fresh install), and then:cd /home/user/pjproject-2.4.5./configuretouch pjlib/include/pj/config_site.hmake depmakesudo make installRegards.Alexandre Gonçalves
............................................................................................................................
Email: alexandre@xxxxxxxxxxxxxxxxxx2016-04-21 12:32 GMT+01:00 Chirag Ajmera <chirag@xxxxxxxxx>:I'm trying to compile the latest release of PJSIP on the new Raspberry Pi 3 but, I get the following error. I believe it's relating to linking & circular dependencies of pjmedia. Kindly if anyone may guide on the below.output/pjmedia-test-armv7l-unknown-linux-gnueabihf/mips_test.o: In function `codec_on_destroy':mips_test.c:(.text+0x294): undefined reference to `pjmedia_endpt_destroy2'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/mips_test.o: In function `stream_port_custom_deinit':mips_test.c:(.text+0x1260): undefined reference to `pjmedia_endpt_destroy2'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/mips_test.o: In function `create_stream.isra.3':mips_test.c:(.text+0x131c): undefined reference to `pjmedia_endpt_create2'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/mips_test.o: In function `create_stream_amr':mips_test.c:(.text+0x15dc): undefined reference to `pjmedia_codec_opencore_amrnb_init'mips_test.c:(.text+0x15e0): undefined reference to `pjmedia_codec_opencore_amrnb_deinit'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/mips_test.o: In function `codec_encode_decode.isra.4':mips_test.c:(.text+0x1828): undefined reference to `pjmedia_endpt_create2'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/mips_test.o: In function `amr_encode_decode':mips_test.c:(.text+0x193c): undefined reference to `pjmedia_codec_opencore_amrnb_init'mips_test.c:(.text+0x1940): undefined reference to `pjmedia_codec_opencore_amrnb_deinit'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/codec_vectors.o: In function `codec_test_vectors':codec_vectors.c:(.text+0x38): undefined reference to `pjmedia_endpt_create2'codec_vectors.c:(.text+0x78): undefined reference to `pjmedia_endpt_destroy2'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_codec_test.o: In function `codec_put_frame':vid_codec_test.c:(.text+0x120): undefined reference to `pjmedia_vid_port_get_passive_port'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_codec_test.o: In function `codec_on_event.part.0':vid_codec_test.c:(.text+0x198): undefined reference to `pjmedia_vid_port_get_stream'vid_codec_test.c:(.text+0x1a4): undefined reference to `pjmedia_vid_dev_stream_set_cap'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_codec_test.o: In function `enum_codecs':vid_codec_test.c:(.text+0x20c): undefined reference to `pjmedia_vid_codec_mgr_enum_codecs'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_codec_test.o: In function `encode_decode_test':vid_codec_test.c:(.text+0x3e0): undefined reference to `pjmedia_vid_codec_mgr_find_codecs_by_id'vid_codec_test.c:(.text+0x40c): undefined reference to `pjmedia_vid_port_stop'vid_codec_test.c:(.text+0x41c): undefined reference to `pjmedia_vid_port_stop'vid_codec_test.c:(.text+0x42c): undefined reference to `pjmedia_vid_port_destroy'vid_codec_test.c:(.text+0x43c): undefined reference to `pjmedia_vid_port_destroy'vid_codec_test.c:(.text+0x478): undefined reference to `pjmedia_vid_codec_mgr_dealloc_codec'vid_codec_test.c:(.text+0x4ac): undefined reference to `pjmedia_vid_dev_lookup'vid_codec_test.c:(.text+0x4c8): undefined reference to `pjmedia_vid_dev_lookup'vid_codec_test.c:(.text+0x510): undefined reference to `pjmedia_vid_codec_mgr_find_codecs_by_id'vid_codec_test.c:(.text+0x528): undefined reference to `pjmedia_vid_codec_mgr_get_default_param'vid_codec_test.c:(.text+0x54c): undefined reference to `pjmedia_vid_codec_mgr_alloc_codec'vid_codec_test.c:(.text+0x5d8): undefined reference to `pjmedia_vid_port_param_default'vid_codec_test.c:(.text+0x5e8): undefined reference to `pjmedia_vid_dev_default_param'vid_codec_test.c:(.text+0x628): undefined reference to `pjmedia_format_get_video_format_detail'vid_codec_test.c:(.text+0x644): undefined reference to `pjmedia_vid_port_create'vid_codec_test.c:(.text+0x67c): undefined reference to `pjmedia_vid_port_create'vid_codec_test.c:(.text+0x724): undefined reference to `pjmedia_vid_port_connect'vid_codec_test.c:(.text+0x798): undefined reference to `pjmedia_vid_port_start'vid_codec_test.c:(.text+0x7ac): undefined reference to `pjmedia_vid_port_start'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_codec_test.o: In function `vid_codec_test':vid_codec_test.c:(.text+0x860): undefined reference to `pjmedia_vid_dev_subsys_init'vid_codec_test.c:(.text+0x870): undefined reference to `pjmedia_codec_openh264_vid_init'vid_codec_test.c:(.text+0x880): undefined reference to `pjmedia_codec_ffmpeg_vid_init'vid_codec_test.c:(.text+0x898): undefined reference to `pjmedia_codec_ffmpeg_vid_deinit'vid_codec_test.c:(.text+0x89c): undefined reference to `pjmedia_codec_openh264_vid_deinit'vid_codec_test.c:(.text+0x8a0): undefined reference to `pjmedia_vid_dev_subsys_shutdown'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_dev_test.o: In function `enum_devs':vid_dev_test.c:(.text+0x40): undefined reference to `pjmedia_vid_dev_count'vid_dev_test.c:(.text+0x6c): undefined reference to `pjmedia_vid_dev_get_info'vid_dev_test.c:(.text+0xe0): undefined reference to `pjmedia_get_video_format_info'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_dev_test.o: In function `loopback_test':vid_dev_test.c:(.text+0x1b8): undefined reference to `pjmedia_vid_dev_count'vid_dev_test.c:(.text+0x1e4): undefined reference to `pjmedia_vid_dev_get_info'vid_dev_test.c:(.text+0x220): undefined reference to `pjmedia_vid_dev_get_info'vid_dev_test.c:(.text+0x268): undefined reference to `pjmedia_format_init_video'vid_dev_test.c:(.text+0x2b0): undefined reference to `pjmedia_vid_dev_get_info'vid_dev_test.c:(.text+0x2e4): undefined reference to `pjmedia_vid_port_stop'vid_dev_test.c:(.text+0x300): undefined reference to `pjmedia_vid_port_stop'vid_dev_test.c:(.text+0x31c): undefined reference to `pjmedia_vid_port_destroy'vid_dev_test.c:(.text+0x354): undefined reference to `pjmedia_vid_port_destroy'vid_dev_test.c:(.text+0x3bc): undefined reference to `pjmedia_vid_dev_get_info'vid_dev_test.c:(.text+0x3d8): undefined reference to `pjmedia_vid_port_param_default'vid_dev_test.c:(.text+0x3e8): undefined reference to `pjmedia_vid_dev_default_param'vid_dev_test.c:(.text+0x440): undefined reference to `pjmedia_format_get_video_format_detail'vid_dev_test.c:(.text+0x45c): undefined reference to `pjmedia_vid_port_create'vid_dev_test.c:(.text+0x474): undefined reference to `pjmedia_vid_dev_default_param'vid_dev_test.c:(.text+0x4d8): undefined reference to `pjmedia_vid_port_create'vid_dev_test.c:(.text+0x514): undefined reference to `pjmedia_vid_port_get_passive_port'vid_dev_test.c:(.text+0x528): undefined reference to `pjmedia_vid_port_connect'vid_dev_test.c:(.text+0x540): undefined reference to `pjmedia_vid_port_start'vid_dev_test.c:(.text+0x550): undefined reference to `pjmedia_vid_port_start'vid_dev_test.c:(.text+0x598): undefined reference to `pjmedia_get_video_format_info'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_dev_test.o: In function `vid_dev_test':vid_dev_test.c:(.text+0x670): undefined reference to `pjmedia_vid_dev_subsys_init'vid_dev_test.c:(.text+0x688): undefined reference to `pjmedia_vid_dev_subsys_shutdown'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_port_test.o: In function `find_device':vid_port_test.c:(.text+0x3c): undefined reference to `pjmedia_vid_dev_count'vid_port_test.c:(.text+0x54): undefined reference to `pjmedia_vid_dev_get_info'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_port_test.o: In function `capture_render_loopback':vid_port_test.c:(.text+0x100): undefined reference to `pjmedia_vid_dev_get_info'vid_port_test.c:(.text+0x130): undefined reference to `pjmedia_vid_port_stop'vid_port_test.c:(.text+0x148): undefined reference to `pjmedia_vid_port_stop'vid_port_test.c:(.text+0x160): undefined reference to `pjmedia_vid_port_destroy'vid_port_test.c:(.text+0x190): undefined reference to `pjmedia_vid_port_destroy'vid_port_test.c:(.text+0x1b8): undefined reference to `pjmedia_vid_dev_get_info'vid_port_test.c:(.text+0x1d4): undefined reference to `pjmedia_vid_port_param_default'vid_port_test.c:(.text+0x1e4): undefined reference to `pjmedia_vid_dev_default_param'vid_port_test.c:(.text+0x24c): undefined reference to `pjmedia_format_get_video_format_detail'vid_port_test.c:(.text+0x268): undefined reference to `pjmedia_vid_port_create'vid_port_test.c:(.text+0x284): undefined reference to `pjmedia_vid_dev_default_param'vid_port_test.c:(.text+0x2d8): undefined reference to `pjmedia_vid_port_create'vid_port_test.c:(.text+0x328): undefined reference to `pjmedia_vid_port_get_passive_port'vid_port_test.c:(.text+0x338): undefined reference to `pjmedia_vid_port_connect'vid_port_test.c:(.text+0x354): undefined reference to `pjmedia_vid_port_start'vid_port_test.c:(.text+0x370): undefined reference to `pjmedia_vid_port_start'vid_port_test.c:(.text+0x394): undefined reference to `pjmedia_get_video_format_info'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_port_test.o: In function `vid_port_test':vid_port_test.c:(.text+0x43c): undefined reference to `pjmedia_vid_dev_subsys_init'vid_port_test.c:(.text+0x524): undefined reference to `pjmedia_format_init_video'vid_port_test.c:(.text+0x560): undefined reference to `pjmedia_vid_dev_subsys_shutdown'output/pjmedia-test-armv7l-unknown-linux-gnueabihf/test.o: In function `test_main':test.c:(.text+0xbc): undefined reference to `pjmedia_video_format_mgr_create'test.c:(.text+0xe4): undefined reference to `pjmedia_vid_codec_mgr_create'test.c:(.text+0x13c): undefined reference to `pjmedia_video_format_mgr_instance'test.c:(.text+0x140): undefined reference to `pjmedia_video_format_mgr_destroy'test.c:(.text+0x154): undefined reference to `pjmedia_vid_codec_mgr_instance'test.c:(.text+0x158): undefined reference to `pjmedia_vid_codec_mgr_destroy'collect2: error: ld returned 1 exit status/home/pi/trunk/build/rules.mak:124: recipe for target '../bin/pjmedia-test-armv7l-unknown-linux-gnueabihf' failedmake[2]: *** [../bin/pjmedia-test-armv7l-unknown-linux-gnueabihf] Error 1make[2]: Leaving directory '/home/pi/trunk/pjmedia/build'Makefile:243: recipe for target 'pjmedia-test-armv7l-unknown-linux-gnueabihf' failedmake[1]: *** [pjmedia-test-armv7l-unknown-linux-gnueabihf] Error 2make[1]: Leaving directory '/home/pi/trunk/pjmedia/build'Makefile:14: recipe for target 'all' failedmake: *** [all] Error 1Thank YouBest Regards,
Chirag A.
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org