Skip to main content

fail to build

2 replies [Last post]
rvlatha
Offline
Joined: 2008-10-14

hi I am a new user of the phoneME Feature software. I am using MR2 for ARM
i do the following steps but i have error while build phoneME for ARM

export VARIABLE=value
export TARGET_CPU=i386
export MEHOME=/root/phoneME_feature/phoneme_feature
export BUILD_OUTPUT_DIR=$MEHOME/build_output
export JDK_DIR=/usr/java/j2sdk
export PCSL_OUTPUT_DIR=$BUILD_OUTPUT_DIR/pcsl
export PCSL_PLATFORM=linux_arm_gcc
export MONTAVISTA=/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linuxeabi
GNU_TOOLS_DIR=$MONTAVISTA
cd $MEHOME/pcsl
make NETWORK_MODULE=bsd/qte GNU_TOOLS_DIR=$MONTAVISTA

generating config file...
building all modules...
cd /root/phoneME_feature/phoneme_feature/pcsl/types; make all
make[1]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/types'
make[1]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/types'
cd /root/phoneME_feature/phoneme_feature/pcsl/print; make all
make[1]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/print'
building print module...
make[2]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/print/st dout'
make[2]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/print/std out'
make[1]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/print'
cd /root/phoneME_feature/phoneme_feature/pcsl/memory; make all
make[1]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/memory'
building memory port module...
make[2]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/m emory_port'
make[2]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/me mory_port'
building memory module...
make[2]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/m alloc'
make[2]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/ma lloc'
make[1]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/memory'
cd /root/phoneME_feature/phoneme_feature/pcsl/file; make all
make[1]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/file'
cd /root/phoneME_feature/phoneme_feature/pcsl/file/..//string; make all
make[2]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/string'
cd /root/phoneME_feature/phoneme_feature/pcsl/string/../types; make all
make[3]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/types'
make[3]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/types'
building string util...
make[3]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/string/u til'
cd /root/phoneME_feature/phoneme_feature/pcsl/string/util/../../types; make all
make[4]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/types'
make[4]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/types'
make[3]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/string/ut il'
building string module...
make[3]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/string/u tf16'
cd /root/phoneME_feature/phoneme_feature/pcsl/string/utf16/../../memory; make al l
make[4]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/memory'
building memory port module...
make[5]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/m emory_port'
make[5]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/me mory_port'
building memory module...
make[5]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/m alloc'
make[5]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/ma lloc'
make[4]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/memory'
make[3]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/string/ut f16'
make[2]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/string'
building file module...
make[2]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/file/pos ix'
cd /root/phoneME_feature/phoneme_feature/pcsl/file/posix/../..//memory; make all
make[3]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/memory'
building memory port module...
make[4]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/m emory_port'
make[4]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/me mory_port'
building memory module...
make[4]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/m alloc'
make[4]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/memory/ma lloc'
make[3]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/memory'
make[2]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/file/posi x'
make[1]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/file'
cd /root/phoneME_feature/phoneme_feature/pcsl/network; make all
make[1]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/network'
building network module...
make[2]: Entering directory `/root/phoneME_feature/phoneme_feature/pcsl/network/ bsd/qte'
In file included from /root/phoneME_feature/phoneme_feature/pcsl/network/bsd/qte /pcsl_network_na_qte.cpp:37:
./pcsl_network_qte.h:32:21: qsocket.h: No such file or directory
./pcsl_network_qte.h:33:29: qsocketnotifier.h: No such file or directory
In file included from /root/phoneME_feature/phoneme_feature/pcsl/network/bsd/qte /pcsl_network_na_qte.cpp:37:
./pcsl_network_qte.h:63: error: expected class-name before '{' token
./pcsl_network_qte.h:66: error: ISO C++ forbids declaration of `Q_OBJECT' with n o type
./pcsl_network_qte.h:66: error: expected `;' before "public"
./pcsl_network_qte.h:70: error: ISO C++ forbids declaration of `QSocketNotifier' with no type
./pcsl_network_qte.h:70: error: expected `;' before '*' token
./pcsl_network_qte.h:71: error: expected `;' before "QSocketNotifier"
./pcsl_network_qte.h:71: error: ISO C++ forbids declaration of `QSocketNotifier' with no type
./pcsl_network_qte.h:71: error: expected `;' before '*' token
./pcsl_network_qte.h:72: error: expected `;' before "int"
./pcsl_network_qte.h:79: error: expected `:' before "slots"
./pcsl_network_qte.h:80: error: expected primary-expression before "void"
./pcsl_network_qte.h:80: error: ISO C++ forbids declaration of `slots' with no t ype
./pcsl_network_qte.h:80: error: expected `;' before "void"
./pcsl_network_qte.h:84: error: ISO C++ forbids declaration of `QSocketNotifier' with no type
./pcsl_network_qte.h:84: error: expected `;' before '*' token
./pcsl_network_qte.h:85: error: ISO C++ forbids declaration of `QSocketNotifier' with no type
./pcsl_network_qte.h:85: error: expected `;' before '*' token
/root/phoneME_feature/phoneme_feature/pcsl/network/bsd/qte/pcsl_network_na_qte.c pp: In function `void na_destroy(void*)':
./pcsl_network_qte.h:74: error: `int VMSocket::readerCount' is private
/root/phoneME_feature/phoneme_feature/pcsl/network/bsd/qte/pcsl_network_na_qte.c pp:116: error: within this context
./pcsl_network_qte.h:76: error: `int VMSocket::writerCount' is private
/root/phoneME_feature/phoneme_feature/pcsl/network/bsd/qte/pcsl_network_na_qte.c pp:121: error: within this context
make[2]: *** [/root/phoneME_feature/phoneme_feature/build_output/pcsl/linux_arm/ obj/pcsl_network_na_qte.o] Error 1
make[2]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/network/b sd/qte'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/phoneME_feature/phoneme_feature/pcsl/network'
make: *** [all] Error 2

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
flavio_pereira
Offline
Joined: 2008-10-17

Hi

I'm also new to this whole project, but I've gathered that is you set
NETWORK_MODULE=bsd/qte, then you need to QtopiaSDK installed on your build system and in your paths for the q file includes. Try building with bsd/generic, I think this will use the LinuxFB implementation in the end, but I'm also not that far yet...

rvlatha
Offline
Joined: 2008-10-14

> Hi
>
> I'm also new to this whole project, but I've gathered
> that is you set
> NETWORK_MODULE=bsd/qte, then you need to QtopiaSDK
> installed on your build system and in your paths for
> the q file includes. Try building with bsd/generic, I
> think this will use the LinuxFB implementation in the
> end, but I'm also not that far yet...

Hi
i finished, now it is working fine :) :) :) :) :) :)