Error on porting to sh4-linux architecture

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

 



I'm trying to porting pjsip version 1.0.3 to sh4 Linux architecture,


I build pjsip as follows:
# source environment_script
# ./configure --host=sh4-linux --build=i686
# make dep
# make

after finish compiling codecs
I got error message on building libportaudio.a:

The error message as follows:
make -f /home/shyuan/src/package/pjproject-1.0.3-sh4/build/rules.mak
APP=PORTAUDIO app=libportaudio
../../lib/libportaudio-sh4-unknown-linux-gnu.a
sh4-linux-gcc -c -Wall  -DPJ_AUTOCONF=1 -O2   -DPA_USE_ALSA=1
-DHAVE_SYS_SOUNDCARD_H -DHAVE_LINUX_SOUNDCARD_H -DPA_LITTLE_ENDIAN
-DPA_USE_OSS=1 -I. -Isrc  \
                -o output/libportaudio-sh4-unknown-linux-gnu/pa_linux_alsa.o
\
                src/pa_linux_alsa.c
In file included from src/pa_linux_alsa.c:1:
src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c: In function
'PaAlsaStreamComponent_FinishConfigure':
src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c:1363: warning:
'snd_pcm_sw_params_set_xfer_align' is deprecated (declared at
/opt/STM/STLinux-2.3/devkit/sh4/target/usr/include/alsa/pcm.h:1104)
*/tmp/ccRzQ798.s: Assembler messages:*
*/tmp/ccRzQ798.s:11276: Error: pcrel too far*
make[3]: *** [output/libportaudio-sh4-unknown-linux-gnu/pa_linux_alsa.o]
Error 1
make[2]: *** [libportaudio] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1


If I add --disable-sound in the configure command, there will be no any
problem happen.


Please give me some advice to solve this problem.
Thanks


-- 
"It is always easier to believe than to deny. Our minds are naturally
affirmative."
                                           - John Burroughs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091211/75a2af31/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