cross compile program

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

 



Helo!

I would like to compile the pj-project 1.0 to an ARM stuff.
This is my config command:
 ./configure --disable-floating-point --host=arm-linux --disable-speex-codec
--disable-speex-aec --disable-g711-codec --disable-l16-codec
--disable-g722-codec --disable-ilbc-codec --disable-ssl
Configure finds the cross compiler, everything is OK. But when i start make:
.....
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`g711_encode_decode':
mips_test.c:(.text+0x838): undefined reference to `pjmedia_codec_g711_init'
mips_test.c:(.text+0x83c): undefined reference to
`pjmedia_codec_g711_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`ilbc_init':
mips_test.c:(.text+0x884): undefined reference to `pjmedia_codec_ilbc_init'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`ilbc_encode_decode':
mips_test.c:(.text+0x8c4): undefined reference to
`pjmedia_codec_ilbc_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`speex8_encode_decode':
mips_test.c:(.text+0x900): undefined reference to
`pjmedia_codec_speex_init_default'
mips_test.c:(.text+0x904): undefined reference to
`pjmedia_codec_speex_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`speex16_encode_decode':
mips_test.c:(.text+0x940): undefined reference to
`pjmedia_codec_speex_init_default'
mips_test.c:(.text+0x944): undefined reference to
`pjmedia_codec_speex_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`g722_encode_decode':
mips_test.c:(.text+0x980): undefined reference to `pjmedia_codec_g722_init'
mips_test.c:(.text+0x984): undefined reference to
`pjmedia_codec_g722_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`init_l16_default':
mips_test.c:(.text+0x98c): undefined reference to `pjmedia_codec_l16_init'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`l16_8_encode_decode':
mips_test.c:(.text+0x9cc): undefined reference to `pjmedia_codec_l16_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`l16_16_encode_decode':
mips_test.c:(.text+0xa0c): undefined reference to `pjmedia_codec_l16_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`create_stream_pcmu':
mips_test.c:(.text+0x1cc8): undefined reference to `pjmedia_codec_g711_init'
mips_test.c:(.text+0x1ccc): undefined reference to
`pjmedia_codec_g711_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`create_stream_pcmu_srtp32_no_auth':
mips_test.c:(.text+0x1d24): undefined reference to `pjmedia_codec_g711_init'
mips_test.c:(.text+0x1d28): undefined reference to
`pjmedia_codec_g711_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`create_stream_pcmu_srtp32_with_auth':
mips_test.c:(.text+0x1d80): undefined reference to `pjmedia_codec_g711_init'
mips_test.c:(.text+0x1d84): undefined reference to
`pjmedia_codec_g711_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`create_stream_pcmu_srtp80_no_auth':
mips_test.c:(.text+0x1ddc): undefined reference to `pjmedia_codec_g711_init'
mips_test.c:(.text+0x1de0): undefined reference to
`pjmedia_codec_g711_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`create_stream_pcmu_srtp80_with_auth':
mips_test.c:(.text+0x1e34): undefined reference to `pjmedia_codec_g711_init'
mips_test.c:(.text+0x1e38): undefined reference to
`pjmedia_codec_g711_deinit'
output/pjmedia-test-arm-unknown-linux-gnu/mips_test.o: In function
`create_stream_g722':
mips_test.c:(.text+0x2050): undefined reference to `pjmedia_codec_g722_init'
mips_test.c:(.text+0x2054): undefined reference to
`pjmedia_codec_g722_deinit'
/home/svins/project/road/pjproject-1.0/third_party/lib/libportaudio-arm-unknown-linux-gnu.a(pa_unix_util.o):
In function `PaUnixThread_New':
pa_unix_util.c:(.text+0x854): undefined reference to `floor'
/home/svins/project/road/pjproject-1.0/third_party/lib/libportaudio-arm-unknown-linux-gnu.a(pa_unix_oss.o):
In function `OpenStream':
pa_unix_oss.c:(.text+0x18f8): undefined reference to `ceil'
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjmedia-test-arm-unknown-linux-gnu] Error 1
make[2]: Leaving directory
`/home/svins/project/road/pjproject-1.0/pjmedia/build'
make[1]: *** [pjmedia-test] Error 2
make[1]: Leaving directory
`/home/svins/project/road/pjproject-1.0/pjmedia/build'
make: *** [all] Error 1

I think there are 2 problems. It wants to use the disabled codecs, and
libportaudio can not compiled without floating point.
How can i compile pjproject only with gsm codec?

Thx,
svins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081115/3e861c76/attachment.html>


[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