Skip to main content

bilding a PCSL

No replies
roland_k81
Offline
Joined: 2007-09-07
Points: 0

Hi....I want to build PCSL for a linux on ARM Target platform using kegel crosstool 0.43 cross compiler.

This are the steps:

export MEHOME=/home/user/phoneme_feature
export BUILD_OUTPUT_DIR=$MEHOME/build_output
export JDK_DIR=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0
export PATH=$JDK_DIR/bin:$PATH
export KEGEL=/opt/crosstool/gcc-3.4.5-glibc-2.3.6/arm-xscale-linux-gnu
export PCSL_OUTPUT_DIR=$BUILD_OUTPUT_DIR/pcsl
export PCSL_PLATFORM=linux_arm_gcc
cd $MEHOME/pcsl

Then when I run the make command

$ make NETWORK_MODULE=bsd/qte GNU_TOOLS_DIR=$KEGEL

this is the output:

generating config file...
building all modules...
cd /home/user/phoneme_feature/pcsl/types; make all
make[1]: Entering directory `/home/user/phoneme_feature/pcsl/types'
make[1]: Leaving directory `/home/user/phoneme_feature/pcsl/types'
cd /home/user/phoneme_feature/pcsl/print; make all
make[1]: Entering directory `/home/user/phoneme_feature/pcsl/print'
building print module...
make[2]: Entering directory `/home/user/phoneme_feature/pcsl/print/stdout'
make[2]: Leaving directory `/home/user/phoneme_feature/pcsl/print/stdout'
make[1]: Leaving directory `/home/user/phoneme_feature/pcsl/print'
cd /home/user/phoneme_feature/pcsl/memory; make all
make[1]: Entering directory `/home/user/phoneme_feature/pcsl/memory'
building memory port module...
make[2]: Entering directory `/home/user/phoneme_feature/pcsl/memory/memory_port'
make[2]: Leaving directory `/home/user/phoneme_feature/pcsl/memory/memory_port'
building memory module...
make[2]: Entering directory `/home/user/phoneme_feature/pcsl/memory/malloc'
make[2]: Leaving directory `/home/user/phoneme_feature/pcsl/memory/malloc'
make[1]: Leaving directory `/home/user/phoneme_feature/pcsl/memory'
cd /home/user/phoneme_feature/pcsl/file; make all
make[1]: Entering directory `/home/user/phoneme_feature/pcsl/file'
cd /home/user/phoneme_feature/pcsl/file/..//string; make all
make[2]: Entering directory `/home/user/phoneme_feature/pcsl/string'
cd /home/user/phoneme_feature/pcsl/string/../types; make all
make[3]: Entering directory `/home/user/phoneme_feature/pcsl/types'
make[3]: Leaving directory `/home/user/phoneme_feature/pcsl/types'
building string util...
make[3]: Entering directory `/home/user/phoneme_feature/pcsl/string/util'
cd /home/user/phoneme_feature/pcsl/string/util/../../types; make all
make[4]: Entering directory `/home/user/phoneme_feature/pcsl/types'
make[4]: Leaving directory `/home/user/phoneme_feature/pcsl/types'
make[3]: Leaving directory `/home/user/phoneme_feature/pcsl/string/util'
building string module...
make[3]: Entering directory `/home/user/phoneme_feature/pcsl/string/utf16'
cd /home/user/phoneme_feature/pcsl/string/utf16/../../memory; make all
make[4]: Entering directory `/home/user/phoneme_feature/pcsl/memory'
building memory port module...
make[5]: Entering directory `/home/user/phoneme_feature/pcsl/memory/memory_port'
make[5]: Leaving directory `/home/user/phoneme_feature/pcsl/memory/memory_port'
building memory module...
make[5]: Entering directory `/home/user/phoneme_feature/pcsl/memory/malloc'
make[5]: Leaving directory `/home/user/phoneme_feature/pcsl/memory/malloc'
make[4]: Leaving directory `/home/user/phoneme_feature/pcsl/memory'
make[3]: Leaving directory `/home/user/phoneme_feature/pcsl/string/utf16'
make[2]: Leaving directory `/home/user/phoneme_feature/pcsl/string'
building file module...
make[2]: Entering directory `/home/user/phoneme_feature/pcsl/file/posix'
cd /home/user/phoneme_feature/pcsl/file/posix/../..//memory; make all
make[3]: Entering directory `/home/user/phoneme_feature/pcsl/memory'
building memory port module...
make[4]: Entering directory `/home/user/phoneme_feature/pcsl/memory/memory_port'
make[4]: Leaving directory `/home/user/phoneme_feature/pcsl/memory/memory_port'
building memory module...
make[4]: Entering directory `/home/user/phoneme_feature/pcsl/memory/malloc'
make[4]: Leaving directory `/home/user/phoneme_feature/pcsl/memory/malloc'
make[3]: Leaving directory `/home/user/phoneme_feature/pcsl/memory'
make[2]: Leaving directory `/home/user/phoneme_feature/pcsl/file/posix'
make[1]: Leaving directory `/home/user/phoneme_feature/pcsl/file'
cd /home/user/phoneme_feature/pcsl/network; make all
make[1]: Entering directory `/home/user/phoneme_feature/pcsl/network'
building network module...
make[2]: Entering directory `/home/user/phoneme_feature/pcsl/network/bsd/qte'
In file included from /home/user/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 /home/user/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 no 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 type
./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
/home/user/phoneme_feature/pcsl/network/bsd/qte/pcsl_network_na_qte.cpp: In function `void na_ destroy(void*)':
./pcsl_network_qte.h:74: error: `int VMSocket::readerCount' is private
/home/user/phoneme_feature/pcsl/network/bsd/qte/pcsl_network_na_qte.cpp:116: error: within thi s context
./pcsl_network_qte.h:76: error: `int VMSocket::writerCount' is private
/home/user/phoneme_feature/pcsl/network/bsd/qte/pcsl_network_na_qte.cpp:121: error: within thi s context
make[2]: *** [/home/user/phoneme_feature/build_output/pcsl/linux_arm/obj/pcsl_network_na_qte.o ] Error 1
make[2]: Leaving directory `/home/user/phoneme_feature/pcsl/network/bsd/qte'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/phoneme_feature/pcsl/network'
make: *** [all] Error 2
user@Ubuntu-user:~/phoneme_feature/pcsl$

....what is the problem?
-....how can I include qtopia libraries and which version?
thank you