Where does PJSIP Expect opencore-amr to be?

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

 



I updated my build script to:

CFLAGS="-I/Users/smacdonald/Sources/iOS/Codec/opencore-amrnb/include " \
LDFLAGS="-L/Users/smacdonald/Sources/iOS/Codec/opencore-amrnb/lib " \
ARCH="-arch armv7" ./configure-iphone \


And this results in following being outputted during the configure process:


checking for OpenCORE AMR-NB installations..
checking opencore-amrnb/interf_enc.h usability... yes
checking opencore-amrnb/interf_enc.h presence... no
aconfigure: WARNING: opencore-amrnb/interf_enc.h:
accepted by the compiler, rejected by the 
preprocessor!
aconfigure: WARNING: opencore-amrnb/interf_enc.h:
proceeding with the compiler's result
checking for opencore-amrnb/interf_enc.h... yes
checking for Encoder_Interface_init in -lopencore-amrnb... yes

When I attempt to build PSJIP I then get the following error:


Undefined symbols for architecture armv7:
  "_pjmedia_codec_g722_deinit", referenced from:
      _g722_encode_decode in mips_test.o
      _create_stream_g722 in mips_test.o
  "_pjmedia_codec_g722_init", referenced from:
      _g722_encode_decode in mips_test.o
      _create_stream_g722 in mips_test.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

I tried disabling the G722 codec but this doesn't help
(not that this should be the cause as it compiles fine 
with AMR being enabled).

Spencer





[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