Skip to main content

Fail to build PhoneME in Debian Linux environment

19 replies [Last post]
royzhou2_phoneme
Offline
Joined: 2008-05-10
Points: 0

Guys, I need your helps.

I at first time to build PhoneME advanced mr2 package in Debian Linux environment. I use JDK 1.4.2_17, I think I set build parameter correctly. Use linux-arm-generic build.

But I meet the error as follows:

... /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-generic/midp/midp_linux_fb_gcc/tools_classes/l10nGenerator.jar
... merging onfigurations
Merging error: key 'SCREEN_TEXT_ORIENT' has no corresponding constantin
'com.sun.midp.chameleon.skins.SkinPropertiesIDs'

ERROR: 'Termination forced by an xsl:message instruction'
javax.xml.transform.TransformerException: java.lang.RuntimeException: Termiation forced by an xsl:message instruction
at com.sun.org.apache.xalan.internal.xsltc.trax.TransforerImpl.transform(TransformerImpl.java:717)
at

Can someone resolve my compilation issue? Then I could start trying the PhoneME platform for Java development.

Thanks for your help in advance.
Roy

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi, Hindmond,
>
> I am using NEC MP201 chip, It integrates with ARM926EJ cpu.
>
> The compiler arm_v5t_le-gcc from Montavista is recommended by NEC coporation.
>
> I am not sure it is endian device or not. I will try to check it.
>
>

Hi Roy,

OK. Let us know when you find out. Also, please send back the output
when you type the following command:

arm_v5t_le-gcc -v

Please send all of what is printed out.

Thanks,

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Guys, I need your helps.
>
> I at first time to build PhoneME advanced mr2 package in Debian Linux environment. I use JDK 1.4.2_17, I think I set build parameter correctly. Use linux-arm-generic build.
>
> But I meet the error as follows:
>
> ... /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-generic/midp/midp_linux_fb_gcc/tools_classes/l10nGenerator.jar
> ... merging onfigurations
> Merging error: key 'SCREEN_TEXT_ORIENT' has no corresponding constantin
> 'com.sun.midp.chameleon.skins.SkinPropertiesIDs'
>
> ERROR: 'Termination forced by an xsl:message instruction'
> javax.xml.transform.TransformerException: java.lang.RuntimeException: Termiation forced by an xsl:message instruction
> at com.sun.org.apache.xalan.internal.xsltc.trax.TransforerImpl.transform(TransformerImpl.java:717)
> at
>
>
> Can someone resolve my compilation issue? Then I could start trying the PhoneME platform for Java development.
>

Hi Roy,

Please send us your full make command that you are using to build or the
entire build script that you are using.

It looks like you are trying a combination of CDC MIDP and DirectFP on
Linux that we do not currently support as something that is buildable
from our current phoneME Advanced MR2 release.

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

royzhou2_phoneme
Offline
Joined: 2008-05-10
Points: 0

Hi, Hinkmond,

Thanks for asking. My make script is as follows:

#! /bin/sh

export MEHOME=/home/rzhou/pkg/src/phoneme_advanced_mr2

export PCSL_PLATFORM=linux_arm_gcc

export PCSL_OUTPUT_DIR=/home/rzhou/pkg/pdirLinux/phoneme/pcsl/output

###export JDK_HOME=$JAVE_HOME
export JAVA_HOME=/opt/j2sdk1.4.2_17
export JDK_HOME=/opt/j2sdk1.4.2_17

export CDC_DIR=$MEHOME/cdc

export CDC_DIST_DIR=$CDC_DIR/build/linux-arm-generic/

export TOOLS_DIR=$MEHOME/tools

export CLDC_DIST_DIR=$CDC_DIST_DIR

cd $MEHOME/pcsl

make clean

make NETWORK_MODULE=bsd/generic

cd $MEHOME

cd $CDC_DIST_DIR

make clean

rm -rf /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-generic/midp/midp_linux_fb_gcc/tools_classes/com/sun

make USE_MIDP=true CVM_DEBUG=true USE_DIRECTFB=true USE_QT_FB=false

cd $MEHOME

So for the phoneME, what combination is valid? CDC + MIDP + What?

Thanks for your help in advance.

Sincere Regards,
Roy Zhou

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi, Hinkmond,
>
> Thanks for asking. My make script is as follows:
>
> ...
>
> make USE_MIDP=true CVM_DEBUG=true USE_DIRECTFB=true USE_QT_FB=false
>
> cd $MEHOME
>
> So for the phoneME, what combination is valid? CDC + MIDP + What?
>

Hi Roy,

Sorry, the combination you tried "make USE_MIDP=true CVM_DEBUG=true
USE_DIRECTFB=true USE_QT_FB=false" is not currently supported and will
not build in our latest phoneME Advanced repository.

If you want a currently supported CDC/MIDP combination, it will only
work on Windows Mobile/ARM (not on Linux or any other OS).

See CDC/MIDP build-midp.sh instructions:

http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile

You could port CDC/MIDP yourself using the phoneME Advanced source code
to Linux/x86 DirectFB, however it is non-trivial and beyond the scope of
this forum to explain how to do that.

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Hinkmond Wong

Hinkmond Wong wrote:
> Hi Roy,
>
> Sorry, the combination you tried "make USE_MIDP=true CVM_DEBUG=true
> USE_DIRECTFB=true USE_QT_FB=false" is not currently supported and will
> not build in our latest phoneME Advanced repository.
>
>
> If you want a currently supported CDC/MIDP combination, it will only
> work on Windows Mobile/ARM (not on Linux or any other OS).
>
> See CDC/MIDP build-midp.sh instructions:
>
> http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile
>
>
>
> You could port CDC/MIDP yourself using the phoneME Advanced source
> code to Linux/x86 DirectFB, however it is non-trivial and beyond the
> scope of this forum to explain how to do that.

Chris pointed out a correction to my statement above, that while your
make flag combination:

make USE_MIDP=true CVM_DEBUG=true USE_DIRECTFB=true USE_QT_FB=false

will not work, because we do not support CDC/MIDP with DirectFB on
Linux, we do support another combination of CDC/MIDP for
Linux/QtEmbedded in addtion to Windows Mobile/ARM (NOTE: This is for
Qt/Embedded, not DirectFB) with the following build flags:

make \
CVM_DEBUG=true \
J2ME_CLASSLIB=basis \
QTEMBEDDED=true \
QTOPIA=false \
QT_TARGET_DIR=/opt/Qtopia_arm \
USE_MIDP=true \
USE_JUMP=false \
J2ME_CLASSLIB=basis

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

royzhou2_phoneme
Offline
Joined: 2008-05-10
Points: 0

Hi, Hinkmond,

Thanks for your new make statement. I will try that. But may I know what does QT_TARGET_DIR==/opt/Qtopia_arm stand for? Because I do not think I have this directory in my Debian Linux environment.

Thanks for your clarification in advance.

Regards,
Roy Zhou

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi, Hinkmond,
>
> Thanks for your new make statement. I will try that. But may I know what does QT_TARGET_DIR==/opt/Qtopia_arm stand for? Because I do not think I have this directory in my Debian Linux environment.
>
> Thanks for your clarification in advance.
>

Hi Roy,

You need to obtain the Qtopia SDK for your target device and then
install it on your host system. For example, you could install it to
/opt/Qtopia_arm and then use the build env setting above.

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

royzhou2_phoneme
Offline
Joined: 2008-05-10
Points: 0

Hi, Hinkmond,

I was busy on something else, delay my porting procedure of PhoneMe.

Now I come back, but I still failed on build PhoneME in Debian Linux environment. Even I just take one argument: J2ME_CLASSLIB=foundation, It complains a lot of header defintion duplication errors.

Now I want to refresh everything. Because my requirement is easy. I just want to port PhoneMe to the Linux environment with ARM926EJ CPU. I use Montavista arm_v5t_le-gcc compiler. How can I build this PhoneMe successfully. What is the exactly build arguments for me to port it successfully. Just tell me, then I can follow your Makefile, not my Makefile. I ever tried your binary from PhoneME website, that binary can not run on my evaluation board environment, so I want to build the whole PhoneME from a scratch. Please teach me! The task is very urgent to me now.

Thanks for your help in advance.

Regards,
Roy Zhou

cjplummer
Offline
Joined: 2006-10-16
Points: 0

Start with a "make clean". Then send us your full build command and build output of your failed build.

Chris

royzhou2_phoneme
Offline
Joined: 2008-05-10
Points: 0

Hi, Chris,

Thanks for asking debug information.

I mainly stopped on compiling the source file:

/home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/src/linux/native/java/net/net_util_md.c

I really hope somebody could help me out of this headache situation ASAP.

Thanks for your help in advance.

The failure of building log is pasted as follows:

[NovaroboJava]:/home/rzhou/pkg/src> mkphoneme_arm.sh
rm -rf /home/rzhou/pkg/pdirLinux/phoneme/pcsl/output/linux_arm
rm -rf /home/rzhou/pkg/pdirLinux/phoneme/pcsl/output/tools
rm -rf /home/rzhou/pkg/pdirLinux/phoneme/pcsl/output/doc
rmdir /home/rzhou/pkg/pdirLinux/phoneme/pcsl/output
rmdir: /home/rzhou/pkg/pdirLinux/phoneme/pcsl/output: Directory not empty
make: [clean] Error 1 (ignored)
generating config file...
building all modules...
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types; make all
make[1]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
make[1]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/print; make all
make[1]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/print'
building print module...
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/print/stdout'
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/print/stdout'
make[1]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/print'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory; make all
make[1]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory'
building memory port module...
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/memory_port'
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/memory_port'
building memory module...
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/malloc'
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/malloc'
make[1]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/file; make all
make[1]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/file'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/file/..//string; make all
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/../types; make all
make[3]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
make[3]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
building string util...
make[3]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/util'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/util/../../types; make all
make[4]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
make[4]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
make[3]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/util'
building string module...
make[3]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/utf16'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/utf16/../../memory; make all
make[4]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory'
building memory port module...
make[5]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/memory_port'
make[5]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/memory_port'
building memory module...
make[5]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/malloc'
make[5]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/malloc'
make[4]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory'
make[3]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/utf16'
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string'
building file module...
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/file/posix'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/file/posix/../..//memory; make all
make[3]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory'
building memory port module...
make[4]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/memory_port'
make[4]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/memory_port'
building memory module...
make[4]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/malloc'
make[4]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/malloc'
make[3]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory'
compiling pcsl_posix.o
compiling pcsl_dir_posix.o
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/file/posix'
make[1]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/file'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/network; make all
make[1]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/network'
building network module...
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/network/bsd/generic'
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/network/bsd/generic'
make[1]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/network'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string; make all
make[1]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/../types; make all
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
building string util...
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/util'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/util/../../types; make all
make[3]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
make[3]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/types'
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/util'
building string module...
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/utf16'
cd /home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/utf16/../../memory; make all
make[3]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory'
building memory port module...
make[4]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/memory_port'
make[4]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/memory_port'
building memory module...
make[4]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/malloc'
make[4]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory/malloc'
make[3]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/memory'
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string/utf16'
make[1]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/pcsl/string'
touch ../../build/linux-arm-montavista/./generated/empty.mk
make CVM_TOOLS_BUILD=true tool-clean
make[1]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista'
rm -rf ../../build/linux-arm-montavista/./hprof
rm -rf ../../build/linux-arm-montavista/./jdwp
rm -rf ../../build/linux-arm-montavista/./obj/cvmc.o
make[1]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista'
make CVM_REBUILD=true clean
make[1]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista'
make CVM_TOOLS_BUILD=true tool-clean
make[2]: Entering directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista'
rm -rf ../../build/linux-arm-montavista/./hprof
rm -rf ../../build/linux-arm-montavista/./jdwp
rm -rf ../../build/linux-arm-montavista/./obj/cvmc.o
make[2]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista'
rm -rf /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/install
rm -rf ../../build/linux-arm-montavista/./.*classes
rm -rf ../../build/linux-arm-montavista/./.*.list
rm -rf ../../build/linux-arm-montavista/./.system_properties.c
rm -rf .DefaultLocaleList.java
rm -rf ./.previous.build.flags
rm -rf ../../build/linux-arm-montavista/./generated/classes/sun/misc/BuildFlags.java
rm -rf ../../build/linux-arm-montavista/./btclasses \
../../build/linux-arm-montavista/./testclasses ../../build/linux-arm-montavista/./democlasses *_classes
rm -rf /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista/btclasses.zip \
/home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista/testclasses.zip /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista/democlasses.jar
rm -rf ../../build/linux-arm-montavista/./lib
rm -rf ../../build/linux-arm-montavista/./obj ../../build/linux-arm-montavista/./bin ../../build/linux-arm-montavista/./generated/javavm/runtime ../../build/linux-arm-montavista/./generated/javavm/runtime/opcodeconsts ../../build/linux-arm-montavista/./generated/javavm/include ../../build/linux-arm-montavista/./generated/classes ../../build/linux-arm-montavista/./generated/classes/sun/misc ../../build/linux-arm-montavista/./generated/jni ../../build/linux-arm-montavista/./generated/cni ../../build/linux-arm-montavista/./generated/offsets ../../build/linux-arm-montavista/./generated/flags ../../build/linux-arm-montavista/./btclasses ../../build/linux-arm-montavista/./testclasses ../../build/linux-arm-montavista/./democlasses ../../build/linux-arm-montavista/./lib ../../build/linux-arm-montavista/./lib/security ../../build/linux-arm-montavista/./classes.tools ../../build/linux-arm-montavista/./foundation_classes ../../build/linux-arm-montavista/./generated/javavm/runtime/jit ../../build/linux-arm-montavista/./generated/javavm/include/jit ../../build/linux-arm-montavista/./jcs ../../build/linux-arm-montavista/./generated/classes/java/util ../../build/linux-arm-montavista/./classes.jcc ../../build/linux-arm-montavista/./bin/cvm
rm -rf ../../build/linux-arm-montavista/./classes.jcc
rm -rf ../../build/linux-arm-montavista/./generated
rm -rf ../../build/linux-arm-montavista/./lib/security/java.security ../../build/linux-arm-montavista/./lib/security/java.policy
rm -rf ../../build/linux-arm-montavista/./jcs
rm -rf ../../build/linux-arm-montavista/./zic_classes ../../build/linux-arm-montavista/./lib/zi
make[1]: Leaving directory `/home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista'
rm -rf ../../build/linux-arm-montavista/./zic_classes ../../build/linux-arm-montavista/./lib/zi
../share/rules.mk:552: ../../build/linux-arm-montavista/./generated/empty.mk: No such file or directory
... mkdir ../../build/linux-arm-montavista/./generated/javavm/runtime
... mkdir ../../build/linux-arm-montavista/./generated/javavm/runtime/jit
... mkdir ../../build/linux-arm-montavista/./generated/classes
touch ../../build/linux-arm-montavista/./generated/empty.mk
MAKEFLAGS = J2ME_CLASSLIB=foundation TOOLS_DIR=/home/rzhou/pkg/src/phoneme_advanced_mr2/tools TOP=/home/rzhou/pkg/src/phoneme_advanced_mr2
CVM_HOST = i686-Debian-linux
CVM_TARGET = linux-arm-montavista
SHELL = sh -e
HOST_CC = /usr/bin/cc
HOST_CCC = /usr/bin/g++
ZIP = /usr/bin/zip
FLEX = /usr/bin/flex
BISON = /usr/bin/bison
CVM_JAVA = /opt/j2sdk1.4.2_18/bin/java
CVM_JAVAC = /opt/j2sdk1.4.2_18/bin/javac
CVM_JAVAH = /opt/j2sdk1.4.2_18/bin/javah
CVM_JAR = /opt/j2sdk1.4.2_18/bin/jar
TARGET_CC = /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/arm_v5t_le-gcc
TARGET_CCC = /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/arm_v5t_le-g++
TARGET_AS = /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/arm_v5t_le-gcc
TARGET_LD = /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/arm_v5t_le-gcc
TARGET_AR = /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/arm_v5t_le-ar
TARGET_RANLIB = /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/arm_v5t_le-ranlib
LINKFLAGS = -g -Wl,-export-dynamic
LINKLIBS = -lpthread -ldl
ASM_FLAGS = -c -fno-common -traditional
CCCFLAGS = -fno-rtti
CCFLAGS_SPEED = -c -fno-common -Wall -fno-strict-aliasing -O4
CCFLAGS_SPACE = -c -fno-common -Wall -fno-strict-aliasing -O2
CCFLAGS_LOOP = -c -fno-common -Wall -fno-strict-aliasing -O4
CCFLAGS_FDLIB = -c -fno-common -Wall -fno-strict-aliasing -O4
JAVAC_OPTIONS = -g:none -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 -target 1.4
CVM_DEFINES = -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_JIT_REGISTER_LOCALS -DCVM_TIMESTAMPING -DJ2ME_CLASSLIB=foundation -DTARGET_CPU_FAMILY=arm -DCVM_JIT_COPY_CCMCODE_TO_CODECACHE -D_GNU_SOURCE -DCVM_IAI_OPT_ALL
host uname = Linux NovaroboJava 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux
TARGET_CC version = 3.4.3 armv5tl-montavista-linuxeabi
HOST_CC version = 4.1.2 i486-linux-gnu
CVM_JAVA version = java version 1.4.2_18
TOOLS_DIR = /home/rzhou/pkg/src/phoneme_advanced_mr2/tools
... mkdir ../../build/linux-arm-montavista/./generated/flags
Flag CVM_AGENTLIB changed. Cleaning up.
Flag CVM_AOT changed. Cleaning up.
Flag CVM_CCM_COLLECT_STATS changed. Cleaning up.
Flag CVM_CLASSLIB_JCOV changed. Cleaning up.
Flag CVM_CLASSLOADING changed. Cleaning up.
Flag CVM_CSTACKANALYSIS changed. Cleaning up.
Flag CVM_DEBUG changed. Cleaning up.
Flag CVM_DEBUG_ASSERTS changed. Cleaning up.
Flag CVM_DEBUG_CLASSINFO changed. Cleaning up.
Flag CVM_DEBUG_DUMPSTACK changed. Cleaning up.
Flag CVM_DEBUG_STACKTRACES changed. Cleaning up.
Flag CVM_DUAL_STACK changed. Cleaning up.
Flag CVM_DYNAMIC_LINKING changed. Cleaning up.
Flag CVM_EMBEDDED_HOOK changed. Cleaning up.
Flag CVM_FORCE_HARD_FLOAT changed. Cleaning up.
Flag CVM_GCCHOICE changed. Cleaning up.
Flag CVM_GCOV changed. Cleaning up.
Flag CVM_GPROF changed. Cleaning up.
Flag CVM_GPROF_NO_CALLGRAPH changed. Cleaning up.
Flag CVM_HOST changed. Cleaning up.
Flag CVM_IAI_OPT_ALL changed. Cleaning up.
Flag CVM_INCLUDE_COMMCONNECTION changed. Cleaning up.
Flag CVM_INSPECTOR changed. Cleaning up.
Flag CVM_INSTRUCTION_COUNTING changed. Cleaning up.
Flag CVM_INTERPRETER_LOOP changed. Cleaning up.
Flag CVM_JAVAC_DEBUG changed. Cleaning up.
Flag CVM_JIT changed. Cleaning up.
Flag CVM_JIT_CODE_SCHED changed. Cleaning up.
Flag CVM_JIT_COLLECT_STATS changed. Cleaning up.
Flag CVM_JIT_COPY_CCMCODE_TO_CODECACHE changed. Cleaning up.
Flag CVM_JIT_DEBUG changed. Cleaning up.
Flag CVM_JIT_ESTIMATE_COMPILATION_SPEED changed. Cleaning up.
Flag CVM_JIT_PATCHED_METHOD_INVOCATIONS changed. Cleaning up.
Flag CVM_JIT_PROFILE changed. Cleaning up.
Flag CVM_JIT_REGISTER_LOCALS changed. Cleaning up.
Flag CVM_JIT_USE_FP_HARDWARE changed. Cleaning up.
Flag CVM_JVMPI changed. Cleaning up.
Flag CVM_JVMPI_TRACE_INSTRUCTION changed. Cleaning up.
Flag CVM_JVMTI changed. Cleaning up.
Flag CVM_KNI changed. Cleaning up.
Flag CVM_LVM changed. Cleaning up.
Flag CVM_MP_SAFE changed. Cleaning up.
Flag CVM_MTASK changed. Cleaning up.
Flag CVM_NO_CODE_COMPACTION changed. Cleaning up.
Flag CVM_NO_LOSSY_OPCODES changed. Cleaning up.
Flag CVM_OPTIMIZED changed. Cleaning up.
Flag CVM_PRELOAD_LIB changed. Cleaning up.
Flag CVM_PRELOAD_TEST changed. Cleaning up.
Flag CVM_PRODUCT changed. Cleaning up.
Flag CVM_REFLECT changed. Cleaning up.
Flag CVM_SERIALIZATION changed. Cleaning up.
Flag CVM_SPLIT_VERIFY changed. Cleaning up.
Flag CVM_STATICLINK_LIBS changed. Cleaning up.
Flag CVM_SYMBOLS changed. Cleaning up.
Flag CVM_TEST_GC changed. Cleaning up.
Flag CVM_TEST_GENERATION_GC changed. Cleaning up.
Flag CVM_THREAD_SUSPENSION changed. Cleaning up.
Flag CVM_TIMESTAMPING changed. Cleaning up.
Flag CVM_TRACE changed. Cleaning up.
Flag CVM_TRACE_JIT changed. Cleaning up.
Flag CVM_USE_CVM_MEMALIGN changed. Cleaning up.
Flag CVM_USE_MEM_MGR changed. Cleaning up.
Flag CVM_USE_NATIVE_TOOLS changed. Cleaning up.
Flag CVM_VERIFY_HEAP changed. Cleaning up.
Flag CVM_XRUN changed. Cleaning up.
Flag J2ME_CLASSLIB changed. Cleaning up.
Flag OPT_PKGS changed. Cleaning up.
Flag USE_AAPCS changed. Cleaning up.
Flag USE_GCI changed. Cleaning up.
Flag USE_JUMP changed. Cleaning up.
Flag USE_MIDP changed. Cleaning up.
... generating ../../build/linux-arm-montavista/./generated/javavm/include/build_defs.h

/*** Definitions generated at build time ***/
#ifndef _BUILD_DEFS_H
#define _BUILD_DEFS_H

#define CVM_BUILD_OPTIONS \
"CVM_AGENTLIB=false\n" \
"CVM_AOT=false\n" \
"CVM_CCM_COLLECT_STATS=false\n" \
"CVM_CLASSLIB_JCOV=false\n" \
"CVM_CLASSLOADING=true\n" \
"CVM_CSTACKANALYSIS=false\n" \
"CVM_DEBUG=false\n" \
"CVM_DEBUG_ASSERTS=false\n" \
"CVM_DEBUG_CLASSINFO=false\n" \
"CVM_DEBUG_DUMPSTACK=false\n" \
"CVM_DEBUG_STACKTRACES=true\n" \
"CVM_DUAL_STACK=false\n" \
"CVM_DYNAMIC_LINKING=true\n" \
"CVM_EMBEDDED_HOOK=false\n" \
"CVM_FORCE_HARD_FLOAT=false\n" \
"CVM_GCCHOICE=generational\n" \
"CVM_GCOV=false\n" \
"CVM_GPROF=false\n" \
"CVM_GPROF_NO_CALLGRAPH=true\n" \
"CVM_HOST=i686-Debian-linux\n" \
"CVM_IAI_OPT_ALL=true\n" \
"CVM_INCLUDE_COMMCONNECTION=false\n" \
"CVM_INSPECTOR=false\n" \
"CVM_INSTRUCTION_COUNTING=false\n" \
"CVM_INTERPRETER_LOOP=Standard\n" \
"CVM_JAVAC_DEBUG=false\n" \
"CVM_JIT=true\n" \
"CVM_JIT_CODE_SCHED=false\n" \
"CVM_JIT_COLLECT_STATS=\n" \
"CVM_JIT_COPY_CCMCODE_TO_CODECACHE=true\n" \
"CVM_JIT_DEBUG=false\n" \
"CVM_JIT_ESTIMATE_COMPILATION_SPEED=false\n" \
"CVM_JIT_PATCHED_METHOD_INVOCATIONS=false\n" \
"CVM_JIT_PROFILE=false\n" \
"CVM_JIT_REGISTER_LOCALS=true\n" \
"CVM_JIT_USE_FP_HARDWARE=false\n" \
"CVM_JVMPI=false\n" \
"CVM_JVMPI_TRACE_INSTRUCTION=false\n" \
"CVM_JVMTI=\n" \
"CVM_KNI=false\n" \
"CVM_LVM=false\n" \
"CVM_MP_SAFE=false\n" \
"CVM_MTASK=false\n" \
"CVM_NO_CODE_COMPACTION=false\n" \
"CVM_NO_LOSSY_OPCODES=\n" \
"CVM_OPTIMIZED=true\n" \
"CVM_PRELOAD_LIB=false\n" \
"CVM_PRELOAD_TEST=false\n" \
"CVM_PRODUCT=premium\n" \
"CVM_REFLECT=true\n" \
"CVM_SERIALIZATION=true\n" \
"CVM_SPLIT_VERIFY=false\n" \
"CVM_STATICLINK_LIBS=false\n" \
"CVM_SYMBOLS=false\n" \
"CVM_TEST_GC=false\n" \
"CVM_TEST_GENERATION_GC=false\n" \
"CVM_THREAD_SUSPENSION=false\n" \
"CVM_TIMESTAMPING=true\n" \
"CVM_TRACE=false\n" \
"CVM_TRACE_JIT=false\n" \
"CVM_USE_CVM_MEMALIGN=false\n" \
"CVM_USE_MEM_MGR=false\n" \
"CVM_USE_NATIVE_TOOLS=false\n" \
"CVM_VERIFY_HEAP=false\n" \
"CVM_XRUN=false\n" \
"J2ME_CLASSLIB=foundation\n" \
"OPT_PKGS=\n" \
"USE_AAPCS=false\n" \
"USE_GCI=false\n" \
"USE_JUMP=false\n" \
"USE_MIDP=false\n" \

#define CVM_PROP_JAVA_VERSION "phoneme_advanced_mr2-b34"
#define CVM_PROP_JAVA_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_VENDOR_URL "http://java.sun.com/"
#define CVM_PROP_JAVA_VENDOR_URL_BUG "http://java.sun.com/cgi-bin/bugreport.cgi"
#define CVM_PROP_JAVA_SPEC_NAME "Foundation Profile Specification"
#define CVM_PROP_JAVA_SPEC_VERSION "1.1"
#define CVM_PROP_JAVA_SPEC_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_CLASS_VERSION "47.0"
#define CVM_PROP_JAVA_VM_NAME "CVM"
#define CVM_PROP_JAVA_VM_VERSION "phoneme_advanced_mr2-b34"
#define CVM_PROP_SUN_MISC_PRODUCT "phoneME Advanced"
#define CVM_PROP_JAVA_VM_INFO "mixed mode"
#define CVM_PROP_JAVA_VM_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_VM_SPEC_NAME "Java Virtual Machine Specification"
#define CVM_PROP_JAVA_VM_SPEC_VERSION "1.0"
#define CVM_PROP_JAVA_VM_SPEC_VENDOR "Sun Microsystems Inc."
#define CVM_CLASSLIB_JAR_NAME "foundation.jar"
#define CVM_JARFILES CVM_CLASSLIB_JAR_NAME

#endif /* _BUILD_DEFS_H */

updating ../../build/linux-arm-montavista/./generated/build_defs.mk ...
... mkdir ../../build/linux-arm-montavista/./obj
... mkdir ../../build/linux-arm-montavista/./bin
... mkdir ../../build/linux-arm-montavista/./generated/javavm/runtime/opcodeconsts
... mkdir ../../build/linux-arm-montavista/./generated/classes/sun/misc
... mkdir ../../build/linux-arm-montavista/./generated/jni
... mkdir ../../build/linux-arm-montavista/./generated/cni
... mkdir ../../build/linux-arm-montavista/./generated/offsets
... mkdir ../../build/linux-arm-montavista/./btclasses
... mkdir ../../build/linux-arm-montavista/./testclasses
... mkdir ../../build/linux-arm-montavista/./democlasses
... mkdir ../../build/linux-arm-montavista/./lib
... mkdir ../../build/linux-arm-montavista/./lib/security
... mkdir ../../build/linux-arm-montavista/./classes.tools
... mkdir ../../build/linux-arm-montavista/./foundation_classes
... mkdir ../../build/linux-arm-montavista/./generated/javavm/include/jit
... mkdir ../../build/linux-arm-montavista/./jcs
... mkdir ../../build/linux-arm-montavista/./generated/classes/java/util
... mkdir ../../build/linux-arm-montavista/./classes.jcc
Checking for build-time classes to compile ...
... generating BuildFlags.java
... ../../build/linux-arm-montavista/./generated/classes/sun/misc/BuildFlags.java
... generating sun.misc.DefaultLocaleList.java
... ../../build/linux-arm-montavista/./generated/classes/sun/misc/DefaultLocaleList.java
... /home/rzhou/pkg/src/phoneme_advanced_mr2/tools/output/Configurator.manifest
... building CodeTransformer
... /home/rzhou/pkg/src/phoneme_advanced_mr2/tools/output/Configurator.jar
... generating PackageManager.java
Compiling build-time classes...
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
... /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista/btclasses.zip
Checking for phoneME Advanced classes to compile ...
... generating CurrencyData.java
Compiling phoneME Advanced classes...
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
... /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista/lib/foundation.jar
Checking for test classes to compile ...
Compiling test classes...
... /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista/testclasses.zip
Checking for demo classes to compile ...
Compiling demo classes...
... /home/rzhou/pkg/src/phoneme_advanced_mr2/cdc/build/linux-arm-montavista/democlasses.jar
... generating jni class headers
... ../../build/linux-arm-montavista/./classes.jcc/GenOpcodes.class
Note: ../../src/share/javavm/jcc/util/BufferedPrintStream.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
... ../../src/share/javavm/include/opcodes.list
... ../../build/linux-arm-montavista/./classes.jcc/JavaCodeCompact.class
Note: ../../src/share/javavm/jcc/util/LinkerUtil.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
jcc romjava.c files
959 Total Classes
... of which 200 classes have static initializers
(9374/13639 quickening sites)
8711 method blocks
... of which 8711 blocks are writable
... for 859 classes
... of which 2938 have checkinit opcodes in the code
433876 bytes of Java code
1559 catch frames
3880 field blocks
942 inner class attribute entries
11359 constant pool entries
3727 Java strings
... ../../build/linux-arm-montavista/./generated/javavm/runtime/system_properties.c
cc ../../src/share/javavm/runtime/gc/generational/gen_semispace.c
cc ../../src/share/javavm/runtime/gc/generational/gen_markcompact.c
cc ../../src/share/javavm/runtime/jit/jitir.c
cc ../../src/share/javavm/runtime/jit/jitopt.c
cc ../../src/share/javavm/runtime/jit_common.c
cc ../../src/share/javavm/runtime/ccm_runtime.c
cc ../../src/share/javavm/runtime/ccmintrinsics.c
cc ../../src/share/javavm/runtime/gc_common.c
cc ../../src/share/javavm/runtime/gc/generational/gc_impl.c
cc ../../src/share/javavm/runtime/gc_stat.c
cc ../../src/share/javavm/runtime/indirectmem.c
cc ../../src/share/javavm/runtime/interpreter.c
cc ../../src/share/javavm/runtime/named_sys_monitor.c
cc ../../src/share/javavm/runtime/objsync.c
cc ../../src/share/javavm/runtime/stackmaps.c
cc ../../src/share/javavm/runtime/sync.c
cc ../../src/arm/javavm/runtime/jit/ccmintrinsics_cpu.c
cc ../../src/portlibs/jit/risc/jitregman.c
cc ../../src/portlibs/jit/risc/ccmintrinsics_risc.c
cc ../../src/arm/javavm/runtime/arm_float_cpu.c
cc ../../src/share/native/sun/misc/TimeStamps.c
cc ../../src/share/javavm/runtime/timestamp.c
cc ../../src/share/native/sun/misc/JIT.c
cc ../../src/share/javavm/runtime/jit/jitcompile.c
cc ../../src/share/javavm/runtime/jit/jitirnode.c
cc ../../src/share/javavm/runtime/jit/jitirlist.c
cc ../../src/share/javavm/runtime/jit/jitirrange.c
cc ../../src/share/javavm/runtime/jit/jitirblock.c
cc ../../src/share/javavm/runtime/jit/jitirdump.c
cc ../../src/share/javavm/runtime/jit/jitstackmap.c
cc ../../src/share/javavm/runtime/jit/jitcodebuffer.c
cc ../../src/share/javavm/runtime/jit/jitconstantpool.c
cc ../../src/share/javavm/runtime/jit/jitintrinsic.c
cc ../../build/linux-arm-montavista/./generated/javavm/runtime/jit/jitopcodemap.c
cc ../../src/share/javavm/runtime/jit/jitpcmap.c
cc ../../src/share/javavm/runtime/jit/jitutils.c
cc ../../src/share/javavm/runtime/jit/jitmemory.c
cc ../../src/share/javavm/runtime/jit/jitset.c
cc ../../src/share/javavm/runtime/jit/jitcomments.c
cc ../../src/share/javavm/runtime/jit/jitstats.c
cc ../../src/share/javavm/runtime/jit/jitdebug.c
cc ../../src/share/javavm/runtime/classlink.c
cc ../../src/share/javavm/runtime/classverify.c
cc ../../src/share/javavm/runtime/constantpool.c
cc ../../src/share/javavm/runtime/mangle.c
cc ../../src/share/javavm/runtime/quicken.c
cc ../../src/share/javavm/runtime/verifycode.c
cc ../../src/share/javavm/runtime/basictypes.c
cc ../../build/linux-arm-montavista/./generated/javavm/runtime/bcattr.c
cc ../../src/share/javavm/runtime/bcutils.c
cc ../../src/share/javavm/runtime/classinitialize.c
cc ../../src/share/javavm/runtime/classcreate.c
cc ../../src/share/javavm/runtime/classload.c
cc ../../src/share/javavm/runtime/classlookup.c
cc ../../src/share/javavm/runtime/classtable.c
cc ../../src/share/javavm/runtime/classes.c
cc ../../src/share/javavm/runtime/common_exceptions.c
cc ../../src/share/javavm/runtime/cstates.c
cc ../../src/share/javavm/runtime/float_fdlibm.c
cc ../../src/share/javavm/runtime/globals.c
cc ../../src/share/javavm/runtime/globalroots.c
cc ../../src/share/javavm/runtime/jni_impl.c
cc ../../src/share/native/common/jni_util.c
cc ../../src/share/javavm/runtime/jvm.c
cc ../../src/share/javavm/runtime/loadercache.c
cc ../../src/share/javavm/runtime/localroots.c
cc ../../build/linux-arm-montavista/./generated/javavm/runtime/opcodelen.c
cc ../../build/linux-arm-montavista/./generated/javavm/runtime/opcodes.c
cc ../../src/share/javavm/runtime/packages.c
cc ../../src/share/javavm/runtime/preloader.c
cc ../../src/share/javavm/runtime/reflect.c
cc ../../src/share/javavm/runtime/stacks.c
cc ../../src/share/javavm/runtime/stackwalk.c
cc ../../src/share/javavm/runtime/stringintern.c
cc ../../src/share/javavm/runtime/typeid.c
cc ../../src/share/javavm/runtime/utils.c
cc ../../src/share/javavm/runtime/porting_debug.c
cc ../../src/share/javavm/runtime/verifyformat.c
cc ../../src/share/javavm/runtime/weakrefs.c
cc ../../src/share/native/java/lang/Object.c
cc ../../src/share/native/java/lang/Class.c
cc ../../src/share/native/java/lang/ClassLoader.c
cc ../../src/share/javavm/native/sun/io/ByteToCharISO8859_1.c
cc ../../src/share/javavm/native/sun/io/CharToByteISO8859_1.c
cc ../../src/share/javavm/native/sun/misc/CVM.c
cc ../../src/share/native/java/net/DatagramPacket.c
cc ../../src/share/native/java/lang/ref/Finalizer.c
cc ../../src/share/native/java/lang/Float.c
cc ../../src/share/native/sun/misc/GC.c
cc ../../src/share/native/java/lang/Double.c
cc ../../src/share/native/sun/misc/Launcher.c
cc ../../src/share/native/java/lang/Package.c
cc ../../src/share/native/java/lang/Runtime.c
cc ../../src/share/native/java/lang/Shutdown.c
cc ../../src/share/native/java/lang/System.c
cc ../../src/share/native/java/lang/SecurityManager.c
cc ../../src/share/native/java/util/TimeZone.c
cc ../../src/share/native/java/lang/Thread.c
cc ../../src/share/native/java/lang/Throwable.c
cc ../../src/share/native/java/lang/StrictMath.c
cc ../../src/share/native/java/lang/reflect/Array.c
cc ../../src/share/javavm/native/java/lang/reflect/Field.c
cc ../../src/share/javavm/native/java/lang/reflect/Method.c
cc ../../src/share/native/java/lang/reflect/Proxy.c
cc ../../src/share/javavm/native/java/lang/reflect/Constructor.c
cc ../../src/share/native/java/io/FileDescriptor.c
cc ../../src/share/native/java/io/FileInputStream.c
cc ../../src/share/native/java/io/FileOutputStream.c
cc ../../src/share/native/java/io/ObjectInputStream.c
cc ../../src/share/native/java/io/ObjectStreamClass.c
cc ../../src/share/native/java/io/ObjectOutputStream.c
cc ../../src/share/native/java/net/InetAddress.c
cc ../../src/share/javavm/native/java/security/AccessController.c
cc ../../src/share/native/java/util/ResourceBundle.c
cc ../../src/share/javavm/native/java/lang/String.c
cc ../../src/share/native/java/util/zip/Inflater.c
cc ../../src/share/javavm/native/java/util/Vector.c
cc ../../src/share/javavm/native/java/lang/StringBuffer.c
cc ../../src/share/javavm/runtime/javaAssertions.c
cc ../../src/share/native/java/net/Inet4Address.c
cc ../../src/share/native/java/net/Inet6Address.c
cc ../../src/share/native/java/net/net_util.c
cc ../../src/share/javavm/native/java/lang/CharacterData.c
cc ../../src/share/javavm/native/java/lang/CharacterDataLatin1.c
cc ../../src/share/native/java/util/zip/CRC32.c
cc ../../src/share/native/java/util/zip/ZipFile.c
cc ../../src/share/native/java/util/zip/ZipEntry.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/zadler32.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/zcrc32.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/deflate.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/trees.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/zutil.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/inflate.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/infblock.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/inftrees.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/infcodes.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/infutil.c
cc ../../src/share/native/java/util/zip/zlib-1.1.3/inffast.c
cc ../../src/share/native/java/util/zip/zip_util.c
cc ../../src/share/foundation/native/java/lang/Compiler.c
cc ../../src/share/foundation/native/java/util/zip/Adler32.c
cc ../../src/share/foundation/native/java/io/RandomAccessFile.c
cc ../../src/share/foundation/native/java/util/zip/Deflater.c
host c++ ../../build/linux-arm-montavista/./jcs/compress.o
host c++ ../../build/linux-arm-montavista/./jcs/compute_states.o
host c++ ../../build/linux-arm-montavista/./jcs/debug.o
host c++ ../../build/linux-arm-montavista/./jcs/hash.o
host c++ ../../build/linux-arm-montavista/./jcs/invert.o
host c++ ../../build/linux-arm-montavista/./jcs/item.o
host c++ ../../build/linux-arm-montavista/./jcs/main.o
host c++ ../../build/linux-arm-montavista/./jcs/matchset.o
host c++ ../../build/linux-arm-montavista/./jcs/output.o
host c++ ../../build/linux-arm-montavista/./jcs/POINTERLIST.o
host c++ ../../build/linux-arm-montavista/./jcs/pool_alloc.o
host c++ ../../build/linux-arm-montavista/./jcs/rule.o
host c++ ../../build/linux-arm-montavista/./jcs/state.o
host c++ ../../build/linux-arm-montavista/./jcs/statemap.o
host c++ ../../build/linux-arm-montavista/./jcs/symbol.o
host c++ ../../build/linux-arm-montavista/./jcs/transition.o
host c++ ../../build/linux-arm-montavista/./jcs/wordlist.o
bison ../../build/linux-arm-montavista/./jcs/tbl.cc
flex ../../build/linux-arm-montavista/./jcs/scan.cc
host c++ ../../build/linux-arm-montavista/./jcs/scan.o
host c++ ../../build/linux-arm-montavista/./jcs/tbl.o
host cc ../../build/linux-arm-montavista/./jcs/jcs
... running jcs
cc ../../build/linux-arm-montavista/./generated/javavm/runtime/jit/jitcodegen.c
cc ../../build/linux-arm-montavista/./generated/javavm/runtime/jit/jitcodegentable.c
cc ../../src/share/javavm/runtime/jit/jitfixup.c
cc ../../src/portlibs/jit/risc/jitstackman.c
cc ../../src/portlibs/jit/risc/jitopcodes.c
cc ../../src/arm/javavm/runtime/jit/jitemitter_cpu.c
cc ../../src/arm/javavm/runtime/jit/jitinit_cpu.c
cc ../../src/portlibs/jit/risc/jit_risc.c
cc ../../src/portlibs/jit/risc/jitemitter.c
cc ../../src/linux/bin/java_md.c
cc ../../src/portlibs/ansi_c/ansi_java_md.c
cc ../../src/portlibs/realpath/canonicalize_md.c
cc ../../src/portlibs/posix/posix_sync_md.c
cc ../../src/portlibs/posix/posix_threads_md.c
cc ../../src/linux/javavm/runtime/io_md.c
cc ../../src/portlibs/posix/posix_io_md.c
cc ../../src/portlibs/posix/posix_net_md.c
cc ../../src/linux/javavm/runtime/net_md.c
cc ../../src/linux/javavm/runtime/time_md.c
cc ../../src/share/native/java/io/io_util.c
cc ../../src/linux/javavm/runtime/sync_md.c
cc ../../src/linux/javavm/runtime/system_md.c
cc ../../src/linux/javavm/runtime/threads_md.c
cc ../../src/linux/javavm/runtime/globals_md.c
cc ../../src/linux/javavm/runtime/java_props_md.c
cc ../../src/linux/javavm/runtime/memory_md.c
cc ../../src/portlibs/unix/javavm/runtime/jit/jit_md.c
cc ../../src/portlibs/dlfcn/linker_md.c
cc ../../src/linux-arm/javavm/runtime/segvhandler_arch.c
cc ../../src/linux/native/java/net/SocketInputStream_md.c
cc ../../src/linux/native/java/net/SocketOutputStream_md.c
cc ../../src/linux/native/java/net/PlainSocketImpl_md.c
cc ../../src/linux/native/java/lang/Runtime_md.c
cc ../../src/linux/native/java/io/UnixFileSystem_md.c
cc ../../src/linux/native/java/lang/UNIXProcess_md.c
cc ../../src/linux/native/java/io/FileSystem_md.c
cc ../../src/linux/native/java/net/Inet4AddressImpl_md.c
cc ../../src/linux/native/java/net/Inet6AddressImpl_md.c
cc ../../src/linux/native/java/net/InetAddressImplFactory.c
cc ../../src/linux/native/java/net/NetworkInterface.c
cc ../../src/linux/javavm/runtime/timezone_md.c
cc ../../src/linux/native/java/net/PlainDatagramSocketImpl_md.c
cc ../../src/linux/native/java/net/net_util_md.c
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:6,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:14,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:28,
from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/time.h:12: error: redefinition of `struct timespec'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/time.h:18: error: redefinition of `struct timeval'
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:14,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:28,
from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:78: error: parse error before "jiffies_64"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:82: error: parse error before "get_jiffies_64"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: In function `timespec_to_jiffies':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:301: error: `u64' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:301: error: (Each undeclared identifier is reported only once
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:301: error: for each function it appears in.)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:301: error: `NSEC_PER_SEC' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:305: error: parse error before "sec"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:305: error: parse error before "NSEC_PER_SEC"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:305: error: parse error before ')' token
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: In function `jiffies_to_timespec':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:318: error: `u64' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:318: error: parse error before "nsec"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:319: error: parse error before "result"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:319: error: `NSEC_PER_SEC' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:319: error: `result' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:319: error: parse error before "__asmeq"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: In function `timeval_to_jiffies':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:340: error: `u64' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:340: error: `NSEC_PER_SEC' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:344: error: parse error before "sec"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:344: error: parse error before "NSEC_PER_SEC"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:344: error: parse error before ')' token
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: In function `jiffies_to_timeval':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:356: error: `u64' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:356: error: parse error before "nsec"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:357: error: parse error before "result"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:357: error: `NSEC_PER_SEC' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:357: error: `result' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:357: error: parse error before "__asmeq"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:358: error: `NSEC_PER_USEC' undeclared (first use in this function)
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:14,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:28,
from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:366:41: division by zero in #if
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:366:42: division by zero in #if
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: In function `jiffies_to_clock_t':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:369: error: `u64' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:369: error: parse error before "tmp"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:370: error: `NSEC_PER_SEC' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:370: error: `USER_HZ' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:370: error: `tmp' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:370: error: parse error before "__asmeq"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:377:18: division by zero in #if
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: In function `clock_t_to_jiffies':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:382: error: `u64' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:382: error: parse error before "jif"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:385: error: `USER_HZ' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:389: error: `jif' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:389: error: parse error before numeric constant
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:390: error: parse error before "__asmeq"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: At top level:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:395: error: parse error before "jiffies_64_to_clock_t"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:395: error: parse error before "x"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:397:41: division by zero in #if
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:397:42: division by zero in #if
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: In function `jiffies_64_to_clock_t':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:405: error: `x' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:406: error: `NSEC_PER_SEC' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:406: error: `USER_HZ' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:406: error: parse error before "__asmeq"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: At top level:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:411: error: parse error before "nsec_to_clock_t"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:411: error: parse error before "x"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:413:28: division by zero in #if
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h: In function `nsec_to_clock_t':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:414: error: `NSEC_PER_SEC' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:414: error: `USER_HZ' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:414: error: `x' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:414: error: parse error before "__asmeq"
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:28,
from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h: At top level:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:41: error: parse error before "atomic_t"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:57: error: parse error before "metrics"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:80: error: parse error before '}' token
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:95: error: parse error before "u32"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:96: error: parse error before "u32"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:99: error: parse error before "atomic_t"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:101: error: parse error before '}' token
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/rt_lock.h:5,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/spinlock.h:16,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/inetpeer.h:15,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:29,
from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/list.h:713:2: warning: #warning "don't include kernel headers in userspace"
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:29,
from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/inetpeer.h: In function `inet_putpeer':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/inetpeer.h:43: error: invalid type argument of `->'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/inetpeer.h:51: error: invalid type argument of `->'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/inetpeer.h:51: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/inetpeer.h: In function `inet_getid':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/inetpeer.h:60: error: invalid type argument of `->'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/inetpeer.h:63: error: invalid type argument of `->'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/inetpeer.h:63: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/flow.h:10,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:30,
from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/in6.h: At top level:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/in6.h:31: error: redefinition of `struct in6_addr'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/in6.h:52: error: redefinition of `struct sockaddr_in6'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/in6.h:60: error: redefinition of `struct ipv6_mreq'
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:30,
from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/flow.h:91: error: `BITS_PER_LONG' undeclared here (not in a function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/flow.h:91: error: requested alignment is not a constant
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/flow.h:97: error: parse error before "u16"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/flow.h:100: error: parse error before "u16"
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/route.h:26,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:33,
from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/if.h:95: error: redefinition of `struct ifmap'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/if.h:131: error: redefinition of `struct ifreq'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/linux/if.h:181: error: redefinition of `struct ifconf'
In file included from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:38:2: warning: #warning This file is not supposed to be used outside of kernel.
In file included from ../../src/linux/native/java/net/net_util_md.c:41:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:54: error: field `dst' has incomplete type
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:114: error: parse error before "old_gw"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:121: error: parse error before "u32"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:125: error: parse error before "addr"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:128: error: parse error before '*' token
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:141: error: parse error before "tos"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h: In function `rt_tos2priority':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:143: error: `tos' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h: At top level:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:146: error: parse error before "u32"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h: In function `ip_route_connect':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:150: error: `oif' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:151: error: `dst' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:152: error: `src' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:153: error: `tos' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:154: error: `protocol' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:156: error: `sport' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:157: error: `dport' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:161: error: `rp' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:169: error: `sk' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h: At top level:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:172: error: parse error before "u16"
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h: In function `ip_route_newports':
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:175: error: `sport' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:175: error: `rp' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:176: error: `dport' undeclared (first use in this function)
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/route.h:184: error: `sk' undeclared (first use in this function)
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/pthread.h:21,
from ../../src/linux/javavm/include/defs_md.h:87,
from ../../src/share/javavm/include/porting/ansi/stdarg.h:41,
from ../../src/share/javavm/export/jni.h:41,
from ../../src/share/native/common/jni_util.h:35,
from ../../src/linux/native/java/net/net_util_md.c:50:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/time.h: At top level:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/time.h:160: error: redefinition of `struct itimerspec'
In file included from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/sys/procfs.h:32,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/sys/ucontext.h:26,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/signal.h:346,
from /opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/sys/wait.h:30,
from ../../src/linux/native/common/jni_statics_md.h:35,
from ../../src/share/native/common/jni_statics.h:31,
from ../../src/linux/native/java/net/net_util_md.c:149:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/sys/time.h:57: error: redefinition of `struct timezone'
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/sys/time.h:94: error: parse error before numeric constant
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/sys/time.h:108: error: redefinition of `struct itimerval'
../../src/linux/native/java/net/net_util_md.c: In function `initLoopbackRoutes':
../../src/linux/native/java/net/net_util_md.c:380: error: `RTF_POLICY' undeclared (first use in this function)
../../src/linux/native/java/net/net_util_md.c:380: error: `RTF_FLOW' undeclared (first use in this function)
../../src/linux/native/java/net/net_util_md.c: In function `getDefaultIPv6Interface':
../../src/linux/native/java/net/net_util_md.c:951: error: `RTF_POLICY' undeclared (first use in this function)
../../src/linux/native/java/net/net_util_md.c:951: error: `RTF_FLOW' undeclared (first use in this function)
../../src/linux/native/java/net/net_util_md.c: At top level:
/opt/montavista/mobilinux/devkit/arm/v5t_le/bin/../target/usr/include/net/dst.h:77: error: storage size of `rcu_head' isn't known
make: *** [../../build/linux-arm-montavista/./obj/net_util_md.o] Error 1
[NovaroboJava]:/home/rzhou/pkg/src>

Regards,
Roy Zhou

I paste my building options in mkphoneme_arm.sh as follows:

#! /bin/sh

export MEHOME=/home/rzhou/pkg/src/phoneme_advanced_mr2

export PCSL_PLATFORM=linux_arm_gcc
##export PCSL_PLATFORM=linux_i386_gcc

export PCSL_OUTPUT_DIR=/home/rzhou/pkg/pdirLinux/phoneme/pcsl/output

export JDK_HOME=$JAVA_HOME

export CDC_DIR=$MEHOME/cdc

##export CDC_DIST_DIR=$CDC_DIR/build/linux-arm-generic/
##export CDC_DIST_DIR=$CDC_DIR/build/linux-x86-generic/
export CDC_DIST_DIR=$CDC_DIR/build/linux-arm-montavista/

export TOOLS_DIR=$MEHOME/tools

export CLDC_DIST_DIR=$CDC_DIST_DIR

cd $MEHOME/pcsl

make clean

make NETWORK_MODULE=bsd/generic

cd $MEHOME

cd $CDC_DIST_DIR

make clean

make TOP=/home/rzhou/pkg/src/phoneme_advanced_mr2 TOOLS_DIR=/home/rzhou/pkg/src/phoneme_advanced_mr2/tools J2ME_CLASSLIB=foundation

cd $MEHOME

Message was edited by: royzhou2_phoneme

cjplummer
Offline
Joined: 2006-10-16
Points: 0

I'm not sure what the problem is. We use montavista toolchains without any problems. We don't have the exact toolchain you are using, which is 3.4.3 armv5tl-montavista-linuxeabi. However we have used 3.3.1 armv5tl-hardhat-linux and 3.4.3 armv6fl-montavista-inuxeabi without any problem.

You'll probably have to look into the header files and figure out what is causing the conflict. You may want to start with a simple C program that just includes and then start adding other includes you see in net_uitil_md.c.

Chris

royzhou2_phoneme
Offline
Joined: 2008-05-10
Points: 0

Hi, Chris,

Thanks for your hint. May I know where you download the Montavista toolchain to make your build successfully? And which build option: CDC_DIST_DIR=$CDC_DIR/build/linux-arm-montavista/ you used when you build this PhoneME advanced feature for Linux Arm environment? I just copy the existing build directory: linux-arm-generic to my linux-arm-montavista. Is this the same build profile when you build PhoneME?

Thanks for your further suggestion!

Thanks and Regards,
Roy Zhou

cjplummer
Offline
Joined: 2006-10-16
Points: 0

> Hi, Chris,
>
> Thanks for your hint. May I know where you download
> the Montavista toolchain to make your build
> successfully?
I'm not sure since I didn't setup these tool chains. All I know is that they came from MontaVista.

>
> And which build option:
> CDC_DIST_DIR=$CDC_DIR/build/linux-arm-montavista/ you
> used when you build this PhoneME advanced feature for
> Linux Arm environment?
Don't set CDC_DIST_DIR. It is not meant to be user settable.

> I just copy the existing build
> directory: linux-arm-generic to my
> linux-arm-montavista. Is this the same build profile
> when you build PhoneME?
That's fine. I just use linux-arm-generic as-is. Depending on your target device and tool chain, you may need to add USE_APPS=true, but otherwise usually no platform specific change are needed to the GNUmakefile.

I suggest you start googling for an answer to your build problem. I googled the build failure message you got, and found some references to newer versions of kernel headers having this problem, but never got to a definite cause of the problem and a solution. Without being able to reproduce it myself, I can't really experiment at all to see what works.

Chris

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
>> I just copy the existing build
>> directory: linux-arm-generic to my
>> linux-arm-montavista. Is this the same build profile
>> when you build PhoneME?
>>
> That's fine. I just use linux-arm-generic as-is. Depending on your target device and tool chain, you may need to add USE_APPS=true, but otherwise usually no platform specific change are needed to the GNUmakefile.
>
> I suggest you start googling for an answer to your build problem. I googled the build failure message you got, and found some references to newer versions of kernel headers having this problem, but never got to a definite cause of the problem and a solution. Without being able to reproduce it myself, I can't really experiment at all to see what works.
>

Hi Roy,

In addition to the suggestions that Chris made, can you tell us more
about your target device gcc compiler? Where did you get it? Do you
have someone to ask questions about it? Does the "-le-" in the name
".../arm_v5t_le-gcc" name mean it is a little endian device you are using?

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

royzhou2_phoneme
Offline
Joined: 2008-05-10
Points: 0

Hi, Hindmond,

I am using NEC MP201 chip, It integrates with ARM926EJ cpu.

The compiler arm_v5t_le-gcc from Montavista is recommended by NEC coporation.

I am not sure it is endian device or not. I will try to check it.

Best Regards,
Roy Zhou

cjplummer
Offline
Joined: 2006-10-16
Points: 0

This isn't a problem with the compiler, or endianess, or the chipset, or anything hardware related. The problem is with the headers files. They are likely for a newer Montavista release then we've ever tried at Sun, and from a bit a googling I did, it looks like there can be issues like the one seen with more recent kernel headers.

Chris

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> This isn't a problem with the compiler, or endianess, or the chipset, or anything hardware related. The problem is with the headers files. They are likely for a newer Montavista release then we've ever tried at Sun, and from a bit a googling I did, it looks like there can be issues like the one seen with more recent kernel headers.
>

Thanks, Chris. Roy, is there any way you can get and use an older
version of the gcc compiler for your device?

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

royzhou2_phoneme
Offline
Joined: 2008-05-10
Points: 0

Hi, Hinkmond,

Ok! I could try, could you please tell me how older version of Montavista Compiler I need to try? And as you ever asked, my NEC MP201 is little endian device, there is a compiling option in the Makefile.

Thanks for your help in advance.

Regards,
Roy Zhou

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi, Hinkmond,
>
> Ok! I could try, could you please tell me how older version of Montavista Compiler I need to try? And as you ever asked, my NEC MP201 is little endian device, there is a compiling option in the Makefile.
>
>

Hi Roy,

What is the output of your gcc when you try the following command line?

arm_v5t_le-gcc -v

Is it 3.3.4 or less?

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net