Hi, kannel & arm-linux developer..
After some playing~~I have compiled kannel for arm successly~~
If you meet the same problem, 
hope this is helpful~~and forgive my poor english~~ :)

1.prepare toolchain
         ftp://ftp.handhelds.org/pub/linux/arm/toolchain/
                 arm-linux-toolchain-post-2.2.13.tar.gz (toolchain)
                 arm-linux-libz.tar.gz(libz support)
         **MUST** extract toolchain to / ,libz to /skiff/local/

2.prepare cross-compile environment
         export PATH=$PATH:/skiff/local/bin , add toolchain path to PATH
         export CC=arm-linux-gcc , replace CC with arm-linux-gcc
         export LD=arm-linux-ld
         export AR=arm-linux-ar
         export NM=arm-linux-nm
         export RANLIB=arm-linux-ranlib
         mkdir /tmp/arm-root , put arm-binary here

3.get x86 ap source 
         1.libxml2-2.3.11.tar.gz
                 tar zxvf libxml2-2.3.11.tar.gz
                 ./configure --host=arm-linux
                 make
                 make install prefix=/tmp/arm-root
         2.gateway-1.0.3.tar.gz
                 tar zxvf gateway-1.0.3.tar.gz
                 edit configure,
                         LINE 1367:
                                 XML2_CONFIG="$ac_cv_path_XML2_CONFIG"
                                 to
                                 XML2_CONFIG="/tmp/arm-root/bin/xml2-config"
                         LINE 1039 2013 2043
                                 if test "$cross_compiling" = yes; then
                                 to
                                 if test "$cross_compiling" = no; then        
   
                 /configure --host=arm-linux
                 make
                 you may see the fig2dev error..
                 ingore it, and arm-kannel now is in the [gw] directory.

BR,
cordded,

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to