Modify

Opened 3 years ago

#17652 new defect

pjsip doesn't compile because of 0001-configure-fixup.patch

Reported by: Lieta Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

In
https://dev.openwrt.org/browser/trunk/package/pjsip/patches/0001-configure-fixup.patch?rev=33162
ac_pjmedia_snd=pa_unix was removed. It is required for pjmedia\build\os-auto.mak to add include paths of portaudio to CFLAGS.
Without it there is an error because of missing include path:
mips-openwrt-linux-uclibc-gcc -c -Wall -DPJ_AUTOCONF=1 -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0 -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/disk/fs1/tmp2/pukitis/zen_svip_3_10_test/openwrt/core/staging_dir/target-mips_r2_uClibc-0.9.33.2_easy336/usr/include -I/disk/fs1/tmp2/pukitis/zen_svip_3_10_test/openwrt/core/staging_dir/target-mips_r2_uClibc-0.9.33.2_easy336/include -I/disk/fs1/tmp2/pukitis/zen_svip_3_10_test/openwrt/core/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/disk/fs1/tmp2/pukitis/zen_svip_3_10_test/openwrt/core/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include -DPJMEDIA_HAS_L16_CODEC=0 -DPJMEDIA_HAS_GSM_CODEC=0 -I/disk/fs1/tmp2/pukitis/zen_svip_3_10_test/openwrt/core/build_dir/target-mips_r2_uClibc-0.9.33.2_easy336/pjsip-oss/pjproject-1.14.2/third_party/build/speex -I/disk/fs1/tmp2/pukitis/zen_svip_3_10_test/openwrt/core/build_dir/target-mips_r2_uClibc-0.9.33.2_easy336/pjsip-oss/pjproject-1.14.2/third_party/speex/include -DPJMEDIA_HAS_G722_CODEC=0 -DPJMEDIA_HAS_G7221_CODEC=0 -DPJMEDIA_HAS_OPENCORE_AMRNB_CODEC=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -I../include -I../../pjlib/include -I../../pjlib-util/include -I../../pjnath/include -I../.. -I/disk/fs1/tmp2/pukitis/zen_svip_3_10_test/openwrt/core/build_dir/target-mips_r2_uClibc-0.9.33.2_easy336/pjsip-oss/pjproject-1.14.2/third_party/build/srtp -I/disk/fs1/tmp2/pukitis/zen_svip_3_10_test/openwrt/core/build_dir/target-mips_r2_uClibc-0.9.33.2_easy336/pjsip-oss/pjproject-1.14.2/third_party/srtp/crypto/include -I/disk/fs1/tmp2/pukitis/zen_svip_3_10_test/openwrt/core/build_dir/target-mips_r2_uClibc-0.9.33.2_easy336/pjsip-oss/pjproject-1.14.2/third_party/srtp/include \

-o output/pjmedia-audiodev-mips-openwrt-linux-gnu/errno.o \
../src/pjmedia-audiodev/errno.c

cc1: note: someone does not honour COPTS correctly, passed 2 times
../src/pjmedia-audiodev/errno.c:23:26: fatal error: portaudio.h: No such file or directory
compilation terminated.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.