Skip to main content

fail to build pcsl of mr2 for linux-arm platform

No replies
cxc1000
Offline
Joined: 2008-07-25
Points: 0

hi,all
I am new to phoneME Feature software. I am using MR2 for ARM linux platform.
i do the following steps but i have error while build phoneME for ARM.
=============================================
i set environment variable on /etc/bash.bashrc

PATH=/opt/Embedix/tools/arm-linux/bin:$PATH
MEHOME=/home/chen/phoneme_feature
BUILD_OUTPUT_DIR=$MEHOME/build_output
JDK_DIR=/home/chen/download/j2sdk1.4.2_19
PATH=$JDK_DIR/bin:$PATH
PCSL_OUTPUT_DIR=$BUILD_OUTPUT_DIR/pcsl
PCSL_PLATFORM=linux_arm_gcc
NETWORK_MODULE=bsd/qte
GNU_TOOLS_DIR=/opt/Embedix/tools/arm-linux

then open a terminal and
cd /home/chen/phoneme_feature/pcsl
make

the result is

generating config file...
building all modules...
cd /home/chen/phoneme_feature/pcsl/types; make all
make[1]: Entering directory `/home/chen/phoneme_feature/pcsl/types'
make[1]: Leaving directory `/home/chen/phoneme_feature/pcsl/types'
cd /home/chen/phoneme_feature/pcsl/print; make all
make[1]: Entering directory `/home/chen/phoneme_feature/pcsl/print'
building print module...
make[2]: Entering directory `/home/chen/phoneme_feature/pcsl/print/stdout'
make[2]: Leaving directory `/home/chen/phoneme_feature/pcsl/print/stdout'
make[1]: Leaving directory `/home/chen/phoneme_feature/pcsl/print'
cd /home/chen/phoneme_feature/pcsl/memory; make all
make[1]: Entering directory `/home/chen/phoneme_feature/pcsl/memory'
building memory port module...
make[2]: Entering directory `/home/chen/phoneme_feature/pcsl/memory/memory_port'
make[2]: Leaving directory `/home/chen/phoneme_feature/pcsl/memory/memory_port'
building memory module...
make[2]: Entering directory `/home/chen/phoneme_feature/pcsl/memory/malloc'
make[2]: Leaving directory `/home/chen/phoneme_feature/pcsl/memory/malloc'
make[1]: Leaving directory `/home/chen/phoneme_feature/pcsl/memory'
cd /home/chen/phoneme_feature/pcsl/file; make all
make[1]: Entering directory `/home/chen/phoneme_feature/pcsl/file'
cd /home/chen/phoneme_feature/pcsl/file/..//string; make all
make[2]: Entering directory `/home/chen/phoneme_feature/pcsl/string'
cd /home/chen/phoneme_feature/pcsl/string/../types; make all
make[3]: Entering directory `/home/chen/phoneme_feature/pcsl/types'
make[3]: Leaving directory `/home/chen/phoneme_feature/pcsl/types'
building string util...
make[3]: Entering directory `/home/chen/phoneme_feature/pcsl/string/util'
cd /home/chen/phoneme_feature/pcsl/string/util/../../types; make all
make[4]: Entering directory `/home/chen/phoneme_feature/pcsl/types'
make[4]: Leaving directory `/home/chen/phoneme_feature/pcsl/types'
make[3]: Leaving directory `/home/chen/phoneme_feature/pcsl/string/util'
building string module...
make[3]: Entering directory `/home/chen/phoneme_feature/pcsl/string/utf16'
cd /home/chen/phoneme_feature/pcsl/string/utf16/../../memory; make all
make[4]: Entering directory `/home/chen/phoneme_feature/pcsl/memory'
building memory port module...
make[5]: Entering directory `/home/chen/phoneme_feature/pcsl/memory/memory_port'
make[5]: Leaving directory `/home/chen/phoneme_feature/pcsl/memory/memory_port'
building memory module...
make[5]: Entering directory `/home/chen/phoneme_feature/pcsl/memory/malloc'
make[5]: Leaving directory `/home/chen/phoneme_feature/pcsl/memory/malloc'
make[4]: Leaving directory `/home/chen/phoneme_feature/pcsl/memory'
make[3]: Leaving directory `/home/chen/phoneme_feature/pcsl/string/utf16'
make[2]: Leaving directory `/home/chen/phoneme_feature/pcsl/string'
building file module...
make[2]: Entering directory `/home/chen/phoneme_feature/pcsl/file/posix'
cd /home/chen/phoneme_feature/pcsl/file/posix/../..//memory; make all
make[3]: Entering directory `/home/chen/phoneme_feature/pcsl/memory'
building memory port module...
make[4]: Entering directory `/home/chen/phoneme_feature/pcsl/memory/memory_port'
make[4]: Leaving directory `/home/chen/phoneme_feature/pcsl/memory/memory_port'
building memory module...
make[4]: Entering directory `/home/chen/phoneme_feature/pcsl/memory/malloc'
make[4]: Leaving directory `/home/chen/phoneme_feature/pcsl/memory/malloc'
make[3]: Leaving directory `/home/chen/phoneme_feature/pcsl/memory'
make[2]: Leaving directory `/home/chen/phoneme_feature/pcsl/file/posix'
make[1]: Leaving directory `/home/chen/phoneme_feature/pcsl/file'
cd /home/chen/phoneme_feature/pcsl/network; make all
make[1]: Entering directory `/home/chen/phoneme_feature/pcsl/network'
building network module...
make[2]: Entering directory `/home/chen/phoneme_feature/pcsl/network/bsd/qte'
make[2]: /opt/Qtopia/bin/moc: Command not found
make[2]: *** [/home/chen/phoneme_feature/pcsl/network/bsd/qte/../../../output/linux_arm/generated/moc_pcsl_network_qte.cpp] Error 127
make[2]: Leaving directory `/home/chen/phoneme_feature/pcsl/network/bsd/qte'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/chen/phoneme_feature/pcsl/network'
make: *** [all] Error 2