Created attachment 348076 [details] `emerge --info '=net-libs/pjsip-2.1'` output % emerge -pqv '=net-libs/pjsip-2.1' [ebuild N ] net-libs/pjsip-2.1 USE="alsa cli python speex -doc -examples -ext-sound -g711 -g722 -g7221 -gsm -ilbc -l16 -oss" ....... x86_64-pc-linux-gnu-gcc -c -Wall -DPJ_AUTOCONF=1 -march=k8-sse3 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1 -march=k8-sse3 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -DPJMEDIA_HAS_SPEEX_AEC=0 -DPJMEDIA_HAS_LIBAVFORMAT=1 -DPJMEDIA_HAS_LIBAVCODEC=1 -DPJMEDIA_HAS_LIBSWSCALE=1 -DPJMEDIA_HAS_LIBAVUTIL=1 -DPJMEDIA_HAS_G711_CODEC=0 -DPJMEDIA_HAS_L16_CODEC=0 -DPJMEDIA_HAS_GSM_CODEC=0 -DPJMEDIA_HAS_SPEEX_CODEC=0 -DPJMEDIA_HAS_ILBC_CODEC=0 -DPJMEDIA_HAS_G722_CODEC=0 -DPJMEDIA_HAS_G7221_CODEC=0 -DPJMEDIA_HAS_OPENCORE_AMRNB_CODEC=0 -DPJMEDIA_HAS_OPENCORE_AMRWB_CODEC=0 -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/build/portaudio -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/portaudio/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -I../include -I../../pjlib/include -I../../pjlib-util/include -I../../pjmedia/include -I../../pjnath/include -I../.. -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/build/srtp -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/srtp/crypto/include -I/var/tmp/portage/net-libs/pjsip-2.1/work/pjproject-2.1.0/third_party/srtp/include \ -o output/pjmedia-x86_64-pc-linux-gnu/ffmpeg_util.o \ ../src/pjmedia/ffmpeg_util.c ../src/pjmedia/ffmpeg_util.c:48:28: error: ‘PIX_FMT_GBR24P’ undeclared here (not in a function) ../src/pjmedia/ffmpeg_util.c: In function ‘pjmedia_format_id_to_CodecID’: ../src/pjmedia/ffmpeg_util.c:173:35: warning: comparison between ‘const enum CodecID’ and ‘enum PixelFormat’ [-Wenum-compare] make[2]: *** [output/pjmedia-x86_64-pc-linux-gnu/ffmpeg_util.o] Error 1 See full build.log and emerge --info attached
Created attachment 348078 [details] Full net-libs/pjsip-2.1 build.log
Which version of ffmpeg/libav do you use?
% emerge -pqv libav [ebuild R ] media-video/libav-0.8.6 USE="3dnow 3dnowext X aac alsa bzip2 encode gpl hardcoded-tables mmx mmxext mp3 qt-faststart sdl speex ssl ssse3 theora threads truetype vdpau vorbis vpx x264 xvid zlib (-altivec) -amr -avx -bindist -cdio -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k (-neon) -network -openssl -oss -pic -pulseaudio -rtmp -schroedinger -static-libs {-test} -v4l -vaapi (-vis)"
+ 17 Jun 2013; Sergey Popov <pinkbyte@gentoo.org> +pjsip-2.1-r1.ebuild, + +files/pjsip-2.1-new-ffmpeg-workaround.patch: + Revision bump: EAPI 5, epatch_user, fix building with new ffmpeg/libav, wrt + bug #469582
Little note - upstream is aware of this issue and fix will be included in latest version. Probably i should incorporate patch from upstream...