Raspberry Pi 3 - 2.7.2 compile error with OpenH264

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

 



Howdy. PJSIP seems to be an amazing project!

I am attempting to compile the 2.7.2 release on Raspian 4.9.80 / RPi3.

I am able to compile pjsip successfully without openh264, but when I install it and try to recompile pjsip (which properly recognizes it), I get the error below in the vid_codec_test file. This happens regardless of my entries in config_site.h (#define PJMEDIA_HAS_OPENH264_CODEC    1 has no impact). 

my config_site.h file:

#define PJMEDIA_HAS_VIDEO       1
#define PJMEDIA_AUDIO_DEV_HAS_ALSA 1
#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
//tried just about every permutation of the following:
#define PJMEDIA_VIDEO_DEV_HAS_FFMPEG 1
#define PJMEDIA_HAS_OPENH264_CODEC    1
#define PJMEDIA_HAS_FFMPEG_VID_CODEC 1
#define PJMEDIA_HAS_FFMPEG_CODEC_H264 1

I can successfully compile with the ./configure --disable-openh264 flag.

Here is the compile error. Any ideas I should try?

output/pjmedia-test-armv7l-unknown-linux-gnueabihf/vid_codec_test.o: In function `vid_codec_test':
vid_codec_test.c:(.text+0x884): undefined reference to `pjmedia_codec_openh264_vid_init'
vid_codec_test.c:(.text+0x8b0): undefined reference to `pjmedia_codec_openh264_vid_deinit'
collect2: error: ld returned 1 exit status
/home/pi/pjsip/pjproject-2.7.2/build/rules.mak:124: recipe for target '../bin/pjmedia-test-armv7l-unknown-linux-gnueabihf' failed
make[2]: *** [../bin/pjmedia-test-armv7l-unknown-linux-gnueabihf] Error 1
make[2]: Leaving directory '/home/pi/pjsip/pjproject-2.7.2/pjmedia/build'
Makefile:243: recipe for target 'pjmedia-test-armv7l-unknown-linux-gnueabihf' failed
make[1]: *** [pjmedia-test-armv7l-unknown-linux-gnueabihf] Error 2
make[1]: Leaving directory '/home/pi/pjsip/pjproject-2.7.2/pjmedia/build'
Makefile:14: recipe for target 'all' failed
make: *** [all] Error 1

Regards, olivebreath
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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