|
From: | Ming Da |
Subject: | [Linphone-users] Questions |
Date: | Tue, 22 Aug 2006 12:43:14 +0800 |
Hi:
I want to cross-compile linphone-1.3.2 for my IXP 425
(Xscale), Snapgear 3.2.0.But it need to install ncurses、
readline、 speex、 libogg 、 libosip in prerequisite.
I followed Readme.arm document to install these
tools.
copy the ipaq-config.site in the ipkg/ directory of linphone
into my workspace(root)
and
export CONFIG_SITE=~/ipaq-config.site
export ARM_INSTALL_TREE=/armbuild Then I modified ipaq-config.site CFLAGS="-mbig-endian -g -O2 -fno-exceptions"
CXXFLAGS="-mbig-endian -g -O2 -fno-exceptions" CPPFLAGS="-mbig-endian -g -O2 -fno-exceptions" LDFLAGS="-EB" But When I installed ncurses-5.5 .I made commands as
below:
./configure --prefix=/usr --host=arm-linux --with-gnu-ld
--with-shared
make
the error messages appeared as below:
/usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld:
../obj_s/hashmap.o: compiled for a big endian system and target is little
endian
File in wrong format: failed to merge target specific data of file ../obj_s/hashmap.o /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ../obj_s/lib_beep.o: compiled for a big endian system and target is little endian File in wrong format: failed to merge target specific data of file ../obj_s/lib_beep.o /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ../obj_s/lib_color.o: compiled for a big endian system and target is little endian /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: BFD
2.14 20030612 assertion fail
../../bfd/elf32-arm.h:1610
/usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: BFD 2.14 20030612 assertion fail ../../bfd/elf32-arm.h:1610 /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: BFD 2.14 20030612 assertion fail ../../bfd/elf32-arm.h:1610 /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: BFD 2.14 20030612 assertion fail ../../bfd/elf32-arm.h:1610 /usr/local/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: BFD 2.14 20030612 assertion fail ../../bfd/elf32-arm.h:1648 make[1]: *** [../lib/libncurses.so.5.5] Error 1 make[1]: Leaving directory `/tmp/ncurses-5.5/ncurses' make: *** [all] Error 2 The same problems happened when I install readline-5.1
Please give me some suggestions !
Thanks a lot!
Ming
|
[Prev in Thread] | Current Thread | [Next in Thread] |